lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <49F1DAC1.5030809@trash.net>
Date:	Fri, 24 Apr 2009 17:29:05 +0200
From:	Patrick McHardy <kaber@...sh.net>
To:	Salatiel Filho <salatiel.filho@...il.com>
CC:	Denys Fedoryschenko <denys@...p.net.lb>,
	Jan Engelhardt <jengelh@...ozas.de>,
	Jarek Poplawski <jarkao2@...il.com>,
	"Y. D." <duyuyang@...il.com>, netdev <netdev@...r.kernel.org>,
	netfilter-devel <netfilter-devel@...r.kernel.org>
Subject: Re: IMQ bug: kernel reboot immediately

Salatiel Filho wrote:
> On Fri, Apr 24, 2009 at 12:19, Patrick McHardy <kaber@...sh.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.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ