* [Codel] queue-size(in terms of packets) for codel in ns-2.35
@ 2015-03-01 15:11 mandy ahuja
2015-03-01 15:19 ` Jonathan Morton
0 siblings, 1 reply; 5+ messages in thread
From: mandy ahuja @ 2015-03-01 15:11 UTC (permalink / raw)
To: codel
[-- Attachment #1: Type: text/plain, Size: 430 bytes --]
Hi All
i read that queue- size sould be set according to BDP.
But when we calculate BDP=Bandwidth*Delay
=b/s*s
=b
=b/8(B)
So it is in terms of bytes or bits.
But in NS2 we can set queue-size in terms of packet only.
"$ns queue-limit no_of_packets"
So anybody please tell how can i set it??
Thanks
[-- Attachment #2: Type: text/html, Size: 740 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Codel] queue-size(in terms of packets) for codel in ns-2.35
2015-03-01 15:11 [Codel] queue-size(in terms of packets) for codel in ns-2.35 mandy ahuja
@ 2015-03-01 15:19 ` Jonathan Morton
2015-03-01 16:37 ` mandy ahuja
0 siblings, 1 reply; 5+ messages in thread
From: Jonathan Morton @ 2015-03-01 15:19 UTC (permalink / raw)
To: mandy ahuja; +Cc: codel
[-- Attachment #1: Type: text/plain, Size: 590 bytes --]
If you know the size of the packets that will be using it, then it is
simple to cover from one to the other. That's more likely in a simulator
than the real world though.
IIRC, TCP acks are usually 48 bytes, but this may vary if extension options
and/or IPv6 are in use. Check this yourself on the traffic you're testing.
In the forward data flow direction, expect most packets to be at the link
segment size limit, 1500 bytes for Ethernet.
But if you have heterogeneous or bidirectional traffic, this calculation
breaks down. This may simply be one limitation of ns2.
- Jonathan Morton
[-- Attachment #2: Type: text/html, Size: 674 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [Codel] queue-size(in terms of packets) for codel in ns-2.35
2015-03-01 15:19 ` Jonathan Morton
@ 2015-03-01 16:37 ` mandy ahuja
2015-03-01 16:41 ` Jonathan Morton
0 siblings, 1 reply; 5+ messages in thread
From: mandy ahuja @ 2015-03-01 16:37 UTC (permalink / raw)
To: Jonathan Morton; +Cc: codel
[-- Attachment #1: Type: text/plain, Size: 736 bytes --]
By knowing the packet size, next what??
On Sun, Mar 1, 2015 at 7:19 AM, Jonathan Morton <chromatix99@gmail.com>
wrote:
> If you know the size of the packets that will be using it, then it is
> simple to cover from one to the other. That's more likely in a simulator
> than the real world though.
>
> IIRC, TCP acks are usually 48 bytes, but this may vary if extension
> options and/or IPv6 are in use. Check this yourself on the traffic you're
> testing. In the forward data flow direction, expect most packets to be at
> the link segment size limit, 1500 bytes for Ethernet.
>
> But if you have heterogeneous or bidirectional traffic, this calculation
> breaks down. This may simply be one limitation of ns2.
>
> - Jonathan Morton
>
[-- Attachment #2: Type: text/html, Size: 1148 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-03-02 17:24 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-03-01 15:11 [Codel] queue-size(in terms of packets) for codel in ns-2.35 mandy ahuja
2015-03-01 15:19 ` Jonathan Morton
2015-03-01 16:37 ` mandy ahuja
2015-03-01 16:41 ` Jonathan Morton
2015-03-02 17:24 ` mandy ahuja
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox