[Cerowrt-devel] rounding errors in sch_pie currently

Dave Taht dave.taht at gmail.com
Sun Jun 16 17:26:57 EDT 2013


In my modified pie a rounding error is introduced with the HZ values
cerowrt uses (I think it's 250, but would have to check)

target=20 becomes target=23
target=10 becomes target=11

I still haven't got around to checking the code against the paper,
which I'll start doing this week.

root at CMTS: tc qdisc add dev se00 root pie
root at CMTS: tc qdisc show dev se00
qdisc pie 8001: root refcnt 2 limit 1000p target 23 tupdate 31 alpha 2
beta 20 bytemode  1 ecn
root at CMTS:~# tc qdisc del dev se00 root
root at CMTS:~# tc qdisc add dev se00 root pie target 10
root at CMTS:~# tc qdisc show dev se00
qdisc pie 8002: root refcnt 2 limit 1000p target 11 tupdate 31 alpha 2
beta 20 bytemode  1 ecn

-- 
Dave Täht

Fixing bufferbloat with cerowrt: http://www.teklibre.com/cerowrt/subscribe.html



More information about the Cerowrt-devel mailing list