Re: HTB does not respect the prio parameter

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Is quantum not perhaps a bit high? Try setting it lower, and see what happens?

-justin

On 2007-08-29 08:06, Martin Björnsson wrote:
Hi all,

I'm experimenting with HTB and the prio parameter and it does not give me results I
expect. I've created 4 HTB classes:

1:10 TCP ACKs                       (prio 0)
1:20 TCP traffic on dst port 10001  (prio 1)
1:30 TCP traffic on dst port 10000  (prio 2)
1:40 Default                        (prio 3)

ceil and rate parameters are the same for all 4 classes (rate is 1000kbit and ceil is
55000kbit).

Then I start 2 TCP flows on src/dst ports 10000 and 10001. The packets seem to be
correctly classified by the filter (I get hits on classes 10, 20 and 30).

The problem is that I get the same throughput on both TCP flows. Shouldn't I get about
1000kbit through class 30 and much more through class 20 since it has higher priority?


Here's my setup script:

#!/bin/sh
/bin/tc qdisc add dev eth0 root handle 1: htb default 40
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux