can the Naggle algorithm been an issue ?
When small packets are sent the stack waits some time to see if more will arrive
to avoid ragmentation and to reduce network traffic.
Disabling the Naggle forces every sent to be immediate.
(TCP NOWAIT is the magic socket option ..when writing TCP desktop apps)
----- Original Message -----
From: karelvergauwe
To: l...
Sent: Tuesday, January 15, 2008 1:58 PM
Subject: [lpc2000] Re: Slowwwww TCP-Net ....
Don't you use the tcp_send function??? take a look at http://www.keil.com/support/man/docs/rlarm/rlarm_tcp_send.htm
First you have to initiate your socket. Make sure it's in the connected
state. Then ask a location to send your data (pointer wil be returned).
Then send it with the tcp_send function. You can then use the callback
function to see if all was ok.
This way you should be able to send blocks of data.
So , with a simple memory block filled and sent 20 times I get only
6.3 KB/s ... So I can say that it's not the FAT/SD card stack that is
slow.
In this case why Tcpnet is so slow ?
Is it possible to manage blocks of data and not each tcp frame ?
I guess I did or (used ) something wrong but what ?