[LARTC] Prio and latency with HTB Classes

Linux Advanced Routing and Traffic Control

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

 



 
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sorry if you have already answered this question, but i have a big mess right now.. I red the lartg FAQ and it literally says:

"If you have 2 htb classes with different prio parameters, the class with the lowest prio parameter gets all the remaining bandwidth from the parent (after the other class has received its rate). The class with the lowest parameter will also the class with the lowest latency. However, if this class is overlimited (there is more traffic then the configured rate), the latency can go up. "


I have to classes, and i have interactive traffic and non-interactive traffic, each assigned to one of these classes.

When i get lots of tcp connections to the non-interactive and it begins to ceil, then it seems not to lend that bw again whenever the interactive-class needs it. They are configured like this:

tc class add dev ${DEV} parent 1:1 classid 1:10 htb prio 1 rate 200kbit ceil 300kbit
tc class add dev ${DEV} parent 1:1 classid 1:20 htb prio 2 rate 100kbit ceil 300kbit


I dont understand this " However, if this class is overlimited (there is more traffic then the configured rate), the latency can go up. " <-- What should i do? Which prio should i set, so that interactive traffic class has low latency and has the highest prio?

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.0

iQA/AwUBPtDzS37diNnrrZKsEQK0gQCdH4XOw+btszWcCTIFVFHMMv6ZNEoAnRub
JXHTNKomeMnm0kBb9tvFqs15
=bwBZ
-----END PGP SIGNATURE-----


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