[Pvfs2-developers] TCP socket buffer settings in configuration file

Julian Martin Kunkel Julian.Kunkel at web.de
Thu May 25 17:41:47 EDT 2006


Hi,
enclosed you will find a patch adding the configuration flags:
TCPBufferSend and TCPBufferReceive to the default part of the configuration 
file.
I set the default values to receive = 65535 and send = 131071 which were used 
when no configuration options are set, 131071 is the max value (set by the 
kernel) on our machines. These values should be ok for Gbit ethernet. Also 
this does not change the tcp_window_size. 
In case the values are set smaller than the tcp window size the tcp flow 
control breaks. 
For better throughput on GBit Ethernet the default window size should be 
increased by the admin in /proc/sys/net/ipv4/tcp_wmem (and rmem).

Best regards,
Julian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: tcp_patch.patch
Type: text/x-diff
Size: 11801 bytes
Desc: not available
Url : http://www.beowulf-underground.org/pipermail/pvfs2-developers/attachments/20060525/68914a14/tcp_patch-0001.bin


More information about the Pvfs2-developers mailing list