|
||||||||
|
|
#1
|
|
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 Pirabhu Raman |
|
#2
|
|||
|
|||
|
"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 |
![]() |
| Tags |
| buffer, size, socket |
| Thread Tools | |
| Display Modes | |
|
|