Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
* [LARTC] What is the reccomended minimum rate for leaf htb class for accurate operation?
@ 2004-10-06  7:39 Zviad O. Giorgadze
  2004-10-06  8:14 ` [LARTC] What is the reccomended minimum rate for leaf htb class Andreas Klauer
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: Zviad O. Giorgadze @ 2004-10-06  7:39 UTC (permalink / raw)
  To: lartc

Hi,

I'm trying to setup QoS in my TSL box. Following to mailing list reccomendations I changed PSCHED_CPU but can't get accurate shaping with HTB. I have disabled HYSTERESIS also (by setting it to 0).
I have Intel Celeron 1.8Mhz (TSC supported I think).

******** My script ******
tc qdisc add dev eth0 root handle 1: htb default 22 r2q 10

# Class corresponding interface throughput
tc class add dev eth0 parent 1: classid 1:1 htb rate 100mbit ceil 100mbit

# Class for GLOBAL traffic
tc class add dev eth0 parent 1:1 classid 1:20 htb rate 115kbit ceil 1mbit

# Classes for PC-s
tc class add dev eth0 parent 1:20 classid 1:21 htb rate 48kbit ceil 1mbit prio 2
tc class add dev eth0 parent 1:20 classid 1:22 htb rate 24kbit ceil 1mbit prio 3
tc class add dev eth0 parent 1:20 classid 1:23 htb rate 12kbit ceil 1mbit prio 5
tc class add dev eth0 parent 1:20 classid 1:24 htb rate 12kbit ceil 1mbit prio 5
tc class add dev eth0 parent 1:20 classid 1:25 htb rate 12kbit ceil 1mbit prio 5

tc qdisc add dev eth0 parent 1:21 handle 21: pfifo
tc qdisc add dev eth0 parent 1:22 handle 22: pfifo
tc qdisc add dev eth0 parent 1:23 handle 23: pfifo
tc qdisc add dev eth0 parent 1:24 handle 24: pfifo
tc qdisc add dev eth0 parent 1:25 handle 25: pfifo

# Put flow to corresponding classes 
tc filter add dev eth0 protocol ip parent 1: u32 match ip dst 192.168.0.1 flowid 1:21
tc filter add dev eth0 protocol ip parent 1: u32 match ip dst 192.168.0.2 flowid 1:22
tc filter add dev eth0 protocol ip parent 1: u32 match ip dst 192.168.0.3 flowid 1:23
tc filter add dev eth0 protocol ip parent 1: u32 match ip dst 192.168.0.4 flowid 1:24
tc filter add dev eth0 protocol ip parent 1: u32 match ip dst 192.168.0.5 flowid 1:25
******** End of script *********


What is the reccomended minimum rate for leaf htb class for accurate operation?
Can I change somesing in my script to get more accurate results?

Regrads,

Zviad



_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2004-10-07 14:29 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-06  7:39 [LARTC] What is the reccomended minimum rate for leaf htb class for accurate operation? Zviad O. Giorgadze
2004-10-06  8:14 ` [LARTC] What is the reccomended minimum rate for leaf htb class Andreas Klauer
2004-10-06  8:47 ` [LARTC] What is the reccomended minimum rate for leaf htb class for accurate operation? mjoachimiak
2004-10-06 10:00 ` [LARTC] What is the reccomended minimum rate for leaf htb classfor Andreas Klauer
2004-10-06 10:54 ` [LARTC] What is the reccomended minimum rate for leaf htb classfor accurate operation? mjoachimiak
2004-10-06 11:01 ` [LARTC] What is the reccomended minimum rate for leaf htb classfor Andreas Klauer
2004-10-06 14:09 ` [LARTC] What is the reccomended minimum rate for leaf htb class for gypsy
2004-10-06 19:05 ` [LARTC] What is the reccomended minimum rate for leaf htb class for accurate operation? Stef Coene
2004-10-07  6:54 ` Re: [LARTC] What is the reccomended minimum rate for leaf htb class foraccurate operation? Zviad O. Giorgadze
2004-10-07  7:03 ` Re: [LARTC] What is the reccomended minimum rate for leaf htb class for accurate operation? Zviad O. Giorgadze
2004-10-07  7:53 ` [LARTC] What is the reccomended minimum rate for leaf htb classfor " mjoachimiak
2004-10-07 14:29 ` [LARTC] What is the reccomended minimum rate for leaf htb classfor Andy Furniss

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox