|
|||||||||||
|
Re: [e2e] query reg improving TCP performane
From: query <query.cdac(at)gmail.com>
Date: Wed Jul 11 2007 - 07:23:55 EDT
> > I was able to identify the size of the buffer in the Router's
I am not quite sure as I don't have much experience in routers.
This is the output of "show buffers " command in Cisco C3750 switch.
""
897 in free list (0 min, 904 max allowed)
44790529 hits, 0 misses
supervisor_cpuq_0_pool buffers, 2040 bytes (total 1200, permanent 1200):
700 in free list (0 min, 1200 max allowed)
104718271 hits, 0 misses
supervisor_cpuq_2_pool buffers, 2040 bytes (total 64, permanent 64):
0 in free list (0 min, 64 max allowed)
64 hits, 0 misses, 0 trims, 0 created
0 failures (0 no memory)
supervisor_cpuq_1_pool buffers, 2040 bytes (total 128, permanent 128):
1 in free list (0 min, 128 max allowed)
25512718 hits, 199587 fallbacks
supervisor_cpuq_4_pool buffers, 2040 bytes (total 128, permanent 128):
1 in free list (0 min, 128 max allowed)
3032553 hits, 35456 fallbacks
supervisor_cpuq_15_pool buffers, 2040 bytes (total 4, permanent 4):
0 in free list (0 min, 4 max allowed)
801508724 hits, 801508720 misses
"" From that I interpreted that the buffer size is 2040 bytes. Correct me if I am wrong. > "" I think it is only 120 % only of BDP and not 220%. .
> If you know the appropriate command , please let me know. It is Cisco C3750 catalyst switch. Also , tell me the command to increase the buffer size if you are aware of it. > But if I tune the window size to twice the size of BDP , I got a I did the following tunings at both ends . BDP was 921600 . So twice of BDP is 1756366
/proc/sys/net/core/rmem_max 1756366
/proc/sys/net/core/wmem_max 1756366
/proc/sys/net/ipv4/tcp_rmem 4096 87380 1756366
/proc/sys/net/ipv4/tcp_wmem 4096 87380 1756366
> > atleast> > equal to twice the size of BDP to obtain maximum throughput. > > That sounds like a good rule of thumb. It is certainly the widely > accepted rule for Reno.
All my findings are based on BIC . Now , since in the case of our
network , the size of the buffer in the intermediate router is probably
not equal to the size of BDP, so in that case I feel that the end to end
send and receive buffer size should be atleast equal to twice the size of
BDP to obtain maximum throughput. . This applies both for RENO and BIC.
But if the size of the buffer in the intermediate buffer is equal to the
size of BDP , Then the settings can be whatever you said for BIC.
"The receive buffer should be at least equal to the BDP plus the router
buffer .
Do you agree with this statement , please give your views.
With Thanks and Regards
This archive was generated by hypermail 2.1.8 : Thu Aug 09 2007 - 17:55:40 EDT |
||||||||||
|
|||||||||||