znaczacy > comp.os.* > comp.os.linux.sieci

icek2 (18.11.2010, 20:42)
Witajcie,

zaobserwowalem taki problem, przy ograniucz htb

przy predkosci ponad 10Mbit

skrypt wyglada tak

/sbin/tc qdisc del root dev imq0

/sbin/tc qdisc add dev imq0 root handle 1:0 htb default 7

/sbin/tc filter add dev imq0 parent 1:0 prio 4 protocol ip fw

# Glowny podkorzen.
/sbin/tc class add dev imq0 parent 1:0 classid 1:1 htb rate 180000kbit
#192.168.0.2
/sbin/tc class add dev imq0 parent 1:1 classid 1:0002 htb rate 30kbit
ceil $MAXSPEED burst 500k quantum 1500 prio 4
#192.168.0.3
/sbin/tc class add dev imq0 parent 1:1 classid 1:0003 htb rate 30kbit
ceil $MAXSPEED burst 500k quantum 1500 prio 4
#192.168.0.4
/sbin/tc class add dev imq0 parent 1:1 classid 1:0004 htb rate 30kbit
ceil $MAXSPEED burst 500k quantum 1500 prio 4
#192.168.0.5
/sbin/tc class add dev imq0 parent 1:1 classid 1:0005 htb rate 30kbit
ceil $MAXSPEED burst 500k quantum 1500 prio 4
#192.168.0.6
/sbin/tc class add dev imq0 parent 1:1 classid 1:0006 htb rate 30kbit
ceil $MAXSPEED burst 500k quantum 1500 prio 4
#192.168.0.7
/sbin/tc class add dev imq0 parent 1:1 classid 1:0007 htb rate 30kbit
ceil $MAXSPEED burst 500k quantum 1500 prio 4
#192.168.0.8
/sbin/tc class add dev imq0 parent 1:1 classid 1:0008 htb rate 30kbit
ceil $MAXSPEED burst 500k quantum 1500 prio 4

uzywam ipmarka

ograniczenie dziala np. na 30 Mbit a potem spada na 10Mbit

i nie rosnie za bardzo powyzej

load maszyny ok
gdy zdejme htb - wsio idzie jak zyleta

gdzie mozna zaczac szukac zródla problemu?

w dmesg mam tylko
[10325063.002964] HTB: quantum of class 10001 is big. Consider r2q change.
[10325068.503762] HTB: quantum of class 10001 is big. Consider r2q change.

nic wiecej
Olek (19.11.2010, 00:58)
On 18.11.2010 19:42, icek2 wrote:
> gdzie mozna zaczac szukac zródla problemu?
> w dmesg mam tylko
> [10325063.002964] HTB: quantum of class 10001 is big. Consider r2q change.
> [10325068.503762] HTB: quantum of class 10001 is big. Consider r2q change.
> nic wiecej


Moze trzeba wrócic do podstaw o quantumach? -
Podobne wątki