[Codel] CoDel for ns3
Andrew McGregor
andrewmcgr at gmail.com
Mon May 7 02:35:22 EDT 2012
This is a new version of the patch. It fixes a couple of bugs, adds a little extra logging, and adds a GetQueueSize method for the benefit of round-robin queueing (which I am still working on).
On 7/05/2012, at 3:31 PM, Andrew McGregor wrote:
> Based on Eric and Dave's kernel code, here's a patch that adds CoDel to ns3. This uses the same approximations as v8 of the kernel code, so it should behave very similarly in terms of which packets get dropped. It may have some issues with headers if you haven't built ns3 before applying the patch, I will try to address that next.
>
> The patch doesn't do anything with CoDel, but you can replace droptail on any point-to-point in any of the examples by doing something like this:
>
> bottleneckchannel.SetQueue ("ns3::CoDelQueue",
> "Interval", StringValue("100ms"),
> "Target", StringValue("5ms"),
> "MinBytes", UintegerValue(1500)
> );
>
> Andrew McGregor
>
> <ns3-codel.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ns3-codel.patch
Type: application/octet-stream
Size: 17285 bytes
Desc: not available
URL: <https://lists.bufferbloat.net/pipermail/codel/attachments/20120507/618ac41b/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2330 bytes
Desc: not available
URL: <https://lists.bufferbloat.net/pipermail/codel/attachments/20120507/618ac41b/attachment-0002.bin>
More information about the Codel
mailing list