Re: TCP Throughput Oddity

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello!

> Ordinarily, when I send 8MB in 16 byte block sizes, I get about 52
> Mb/s.  However, if I exchange one 4 byte block over the connection (in
> each direction) before I start timing the the 8MB transfer, it goes up
> to about 57 Mb/s.  (By "block size", I mean the size of the buffer
> passed to write.)
> 
> Does anyone have any idea how the initial small transfer can have such
> large influence on overall throughput?

In the second case initial exchange pushes TCP to mode when receiver sends
much less ACKs.

Actually, the difference is amusingly low, I would expect much
larger difference.

Alexey
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux