Re: high latency with TCP connections

2006-08-31 Thread Alexander Vodomerov
On Wed, Aug 30, 2006 at 02:39:55PM -0700, David Miller wrote: > > Expecting any performance with one byte write's is silly. > > This is absolutely true. TCP_NODELAY can only save you when you are > sending a small amount of data "in aggregate", such as in an SSH or > telnet session, whereas in th

high latency with TCP connections

2006-08-30 Thread Alexander Vodomerov
Hello! I'm writing an application that is working over TCP. Total traffic is very low (~ 10 kb/sec), but performance is very bad. I've tried to investigate problem with tcpdump and strace, and it shows that application does multiple writes, but TCP buffers them and send after some delay (about 40