atom feed22 messages in org.kernel.vger.netdevRe: IMQ bug: kernel reboot immediately
FromSent OnAttachments
Y. D.Apr 22, 2009 8:27 am 
Jarek PoplawskiApr 23, 2009 1:43 am 
Patrick McHardyApr 23, 2009 3:20 am 
Jan EngelhardtApr 23, 2009 3:23 am 
Patrick McHardyApr 23, 2009 3:28 am 
Salatiel FilhoApr 23, 2009 4:12 am 
Patrick McHardyApr 23, 2009 4:21 am 
Jarek PoplawskiApr 23, 2009 4:39 am 
Patrick McHardyApr 23, 2009 4:45 am 
Jarek PoplawskiApr 23, 2009 5:10 am 
Patrick McHardyApr 23, 2009 5:13 am 
Y. D.Apr 23, 2009 5:28 am 
Salatiel FilhoApr 23, 2009 5:36 am 
Patrick McHardyApr 23, 2009 5:40 am 
Jarek PoplawskiApr 23, 2009 5:46 am 
Salatiel FilhoApr 23, 2009 4:31 pm 
Patrick McHardyApr 24, 2009 7:48 am 
Denys FedoryschenkoApr 24, 2009 7:54 am 
Salatiel FilhoApr 24, 2009 8:14 am 
Patrick McHardyApr 24, 2009 8:19 am 
Salatiel FilhoApr 24, 2009 8:23 am 
Patrick McHardyApr 24, 2009 8:28 am 
Subject:Re: IMQ bug: kernel reboot immediately
From:Patrick McHardy (kab@trash.net)
Date:Apr 24, 2009 8:28:35 am
List:org.kernel.vger.netdev

Salatiel Filho wrote:

On Fri, Apr 24, 2009 at 12:19, Patrick McHardy <kab@trash.net> wrote:

Salatiel Filho wrote:

I am just curious , is there a qdisc in mainline that behaves similar to wrr [weight round robin] ? http://www.zz9.dk/wrr

DRR. But it can't do those strange load-balancing hacks.

what would it be those strange ugly hacks ? :)

Look at the code. At least they were there last time I had a look.

Any good place where i can find DRR documentation/examples ?

No, but I can give you an example:

tc qdisc add dev <dev> parent <parent> handle <handle> drr

tc class add dev <dev> parent <handle> classid <classid> drr

repeat class add as often as you need. The default quantum per class is the MTU, including link layer headers. You can manually change that by specifying the "quantum" parameter for classes.

As for the flow classifier:

tc filter add dev <dev> protocol all pref 1 parent <handle> \ flow hash keys key1,key2,... divisor <number of classes>

The DRR classids need to be consequitive for this to work.