[Codel] CoDel for ns3
Andrew McGregor
andrewmcgr at gmail.com
Sun May 6 23:31:32 EDT 2012
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ns3-codel.patch
Type: application/octet-stream
Size: 17126 bytes
Desc: not available
URL: <https://lists.bufferbloat.net/pipermail/codel/attachments/20120507/b4835cd7/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/b4835cd7/attachment-0002.bin>
More information about the Codel
mailing list