* [Codel] Regarding BDP,window size and queue-size for codel in ns2
@ 2015-03-03 17:27 mandy ahuja
2015-03-03 19:34 ` [Codel] Regarding BDP, window " Jonathan Morton
0 siblings, 1 reply; 2+ messages in thread
From: mandy ahuja @ 2015-03-03 17:27 UTC (permalink / raw)
To: codel
[-- Attachment #1: Type: text/plain, Size: 212 bytes --]
Hi all
i read that window size should be more than BDP to keep the link
utilization high.
but i want to simulate bufferbloat problem.
then window size should be more but how much?
and what about the buffer size?
[-- Attachment #2: Type: text/html, Size: 278 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Codel] Regarding BDP, window size and queue-size for codel in ns2
2015-03-03 17:27 [Codel] Regarding BDP,window size and queue-size for codel in ns2 mandy ahuja
@ 2015-03-03 19:34 ` Jonathan Morton
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Morton @ 2015-03-03 19:34 UTC (permalink / raw)
To: mandy ahuja; +Cc: codel
[-- Attachment #1: Type: text/plain, Size: 1046 bytes --]
I recommended earlier to run Codel experiments with a very large buffer,
since Codel will keep it under control. For experimental rigour, you should
also run experiments involving other queue modes with the same buffer size,
and observe how well or badly each mode controls it.
As for receive window size, you should make that large enough that you will
notice the resulting delay easily. Modern operating systems will happily
use receive windows of several megabytes in default configurations; this
results in impressive delays at relatively low bandwidths. I've seen 45
seconds at 512Kbps.
You might also try setting up multiple simulated hosts with different
receive window sizes - including some sensibly small ones, such as the
65535 bytes which is the limit for TCP stacks without window scaling - and
see how they compete on the same congested link. This might give you some
insight into why such large windows seem desirable to those unaware of AQM,
and why they become mostly irrelevant when good AQM is introduced.
- Jonathan Morton
[-- Attachment #2: Type: text/html, Size: 1126 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-03-03 19:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-03 17:27 [Codel] Regarding BDP,window size and queue-size for codel in ns2 mandy ahuja
2015-03-03 19:34 ` [Codel] Regarding BDP, window " Jonathan Morton
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox