[LARTC] simple or not? htb+prio
Andy Furniss
andy.furniss at dsl.pipex.com
Mon Jul 11 21:35:55 CEST 2005
Krzysiek wrote:
> Hi
> I have now my outgoing traffic shaped whith root
> qdisc htb (where i configure basic rate) and tc
> prio (as a leaf with 4 classes) where i can set
> priority of different kinds of traffic. It works
> but htb is work-conserving so packets are only
> delayed (when the rate is exceeded), while i want them dropped. In the case when rate is exceeded i want to drop packets with priority set to 4, then if traffic still too high to drop packets with priority set to 3 and so on. So i need tc-prio under tbf.
> But tbf is classless. Can i do what i want in some
> other way? Or maybe i'm misunderstanding something
> - when htb start to drop packets?
> Regards
> Krzysiek.
Maybe you could use htb + prio and add 4 p/b fifos to the prio classes
and set low lengths with the limit parameter of the fifos.
Andy.
More information about the LARTC
mailing list