On Thu, Feb 23, 2012 at 08:07:23PM +0100, Thomas Mühlgrabner wrote:
When letting htb calculate the burst sizes, it chooses too small burst sizes, 
resulting in degraded performance.
This is especially true for high rates.

Some examples would be useful where you can both see which options you used,
what the result was and some additional comments on what you expected to get!

I created a htb qdisc and added two classes. 1:1 with a rate and ceil of 100mbit, 1:2 below that with a rate and ceil of 90mbit.
For this I used the commands:
tc qdisc add dev eth0 root handle 1 htb default 2
tc class add dev eth0 parent 1: classid 1:1 htb rate 100mbit ceil 100mbit
tc class add dev eth0 parent 1:1 classid 1:2 htb rate 90mbit ceil 90mbit

For both eth0 and eth1.

Without specifying a burst size, tc reports burst and cburst of 1586b for class 1:2. This results in a maximum of ~43300Kb/s download (or upload) speed. This is far from the achievable 90mbit.

When using a burst and cburst of 51kb for class 1:1 and 44kb for class 1:2, the speed increases to ~87600Kb/s - much closer to what is expected.



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to