Networking Forums

Networking Forums > Computer Networking > Linux Networking > socket buffer size

Reply
Thread Tools Display Modes

socket buffer size

 
 
Pirabhu Raman
Guest
Posts: n/a

 
      08-18-2004, 03:12 PM
Hi,

I am trying to understand the relation between socket buffer size
and sliding window size and I have a few questions about the TCP
implementation on linux. What is the use of setting the buffer size (send
and recv) of sockets using setsockopt calls? Does this buffer size have any
relation to Tcp sliding window size? Also, what is the relevance of values
in /proc/sys/net/core/rmem_default, wmem_default with socket buffer sizes
and sliding windows sizes.

What is the effect of tweaking these various parameters on bandwidth and
latency? Is there any link, paper or book that discusses these issues and
issues relating to optimizing TCP for particular applications?

Thanks in Advance,
Pirabhu



 
Reply With Quote
 
 
 
 
P Gentry
Guest
Posts: n/a

 
      08-18-2004, 09:48 PM
"Pirabhu Raman" <(E-Mail Removed)> wrote in message news:<cfvrlv$13ce$(E-Mail Removed)>...
> Hi,
>
> I am trying to understand the relation between socket buffer size
> and sliding window size and I have a few questions about the TCP
> implementation on linux. What is the use of setting the buffer size (send
> and recv) of sockets using setsockopt calls? Does this buffer size have any
> relation to Tcp sliding window size? Also, what is the relevance of values
> in /proc/sys/net/core/rmem_default, wmem_default with socket buffer sizes
> and sliding windows sizes.
>
> What is the effect of tweaking these various parameters on bandwidth and
> latency? Is there any link, paper or book that discusses these issues and
> issues relating to optimizing TCP for particular applications?
>
> Thanks in Advance,
> Pirabhu


I posted this late yesterday -- in this group ;-)

You can try here for a first go:
http://www-didc.lbl.gov/TCP-tuning/TCP-tuning.html

http://ipsysctl-tutorial.frozentux.n...tml/index.html
which gives an explanation of the variables in /proc/sys/net/xxx

This is my standard perf reference (concise but pretty complete):
http://www.psc.edu/networking/perf_tune.html

and this may be of interest too:
http://www.web100.org/

Just so you're aware
http://lwn.net/Articles/91976/
"TCP window scaling and broken routers"

prg
email above disabled
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Buffer size UDP receiver. gNash Linux Networking 4 06-25-2008 08:48 PM
How to set SCTP send buffer size per association Sridhar Linux Networking 0 05-12-2008 10:31 AM
Should I turn ECN on? How to set receive buffer size? buck Linux Networking 0 08-15-2006 06:35 PM
How to set Max UDP Receive Buffer Size and Max UDP Transmit Buffer Size under Windows 2000 and Windows 2003 ? msnews.microsoft.com Windows Networking 0 09-14-2005 07:20 PM
Importance of gigabit switch port buffer size question NuQ Network Routers 0 06-15-2005 02:59 PM



1 2 3 4 5 6 7 8 9 10 11