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-next>] [day] [month] [year] [list]
Date:	Thu, 12 Mar 2009 02:01:49 +0200
From:	Denys Fedoryschenko <denys@...p.net.lb>
To:	netdev@...r.kernel.org, Jarek Poplawski <jarkao2@...il.com>
Subject: DRR example, how to replace SFQ

If i understand right, it must look like this to simulate SFQ 
This example with just 2 "queues".

tc qdisc add dev eth0.100 root handle 1: htb

tc class add dev eth0.100 parent 1: classid 1:1 htb rate 15Kbit ceil 15Kbit

tc qdisc add dev eth0.100 parent 1:1 handle 2: drr

tc class add dev eth0.100 parent 2: classid 2:1 drr quantum 1600
tc class add dev eth0.100 parent 2: classid 2:2 drr quantum 1600

tc qdisc add dev eth0.100 parent 2:1 handle 10: bfifo 9000
tc qdisc add dev eth0.100 parent 2:2 handle 11: bfifo 9000

tc filter add dev eth0.100 parent 1: protocol ip prio 5 u32 match u32 0 0 
flowid 1:1

tc filter add dev eth0.100 parent 2: protocol ip prio 10 handle 1 flow keys 
dst divisor 2 baseclass 2:1

Is it correct?
--
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