help, a children can not borrow from a parent?
WHEN i send packets from 10.1.1.1 at rate frome 12mbit to 50mbit BY using SMATRBIT 600,
the rate of class 10:100 is always 12bits.
Quoted 10 lines
Quoted 10 lines
Hi ;
MY script:
tc-htb3 qdisc del dev eth2 root
ipchains -Ftc-htb3 qdisc add dev eth2 root handle 10: htb default 20 r2q 40
tc-htb3 class add dev eth2 parent 10: classid 10:1 htb rate 50Mbit
burst
Quoted 3 lines
Quoted 3 lines
2000
tc-htb3 class add dev eth2 parent 10:1 classid 10:100 htb rate 12mbit
ceil
Quoted 2 lines
Quoted 2 lines
50mbit prio 1
tc-htb3 class add dev eth2 parent 10:1 classid 10:20 htb rate 38mbit
ceil
Quoted 6 lines
Quoted 6 lines
50Mbit prio 8
ipchains -A fw -s 10.1.1.1 -m 100
ipchains -A fw -s 0.0.0.0 -d 0.0.0.0 -j ACCEPTtc-htb3 filter add dev eth2 protocol ip parent 10:0 prio 1 handle 100
fw
Quoted 7 lines
Quoted 7 lines
classid 10:100
WHEN i send packets at 20mbit from 10.1.1.1 ,
#tc -s -d qdisc show dev eth2
qdisc htb 10:
Sent 246602122 bytes 487287 pkts (dropped 323938, overlimits 1850710)
Quoted 7 lines
Quoted 7 lines
#tc -s -d class show dev eth2
class htb 10:1 root prio 0 rate 50Mbit ceil 50Mbit burst 1985b/8 mpu 0b cburst 67121b/8 mpu 0b quantum 0 level 7
Sent 246602122 bytes 487287 pkts (dropped 0, overlimits 0) rate 8bpsclass htb 10:100 parent 10:1 prio 1 rate 12Mbit ceil 50Mbit burst
17325b/8
Quoted 4 lines
Quoted 4 lines
mpu 0b cburst 67121b/8 mpu 0b quantum 39321 level 0
Sent 246552164 bytes 486503 pkts (dropped 323938, overlimits 0)class htb 10:20 parent 10:1 prio 1 rate 38Mbit ceil 50Mbit burst
51396b/8
Quoted 9 lines
Quoted 6 lines
mpu 0b cburst 67121b/8 mpu 0b quantum 124518 level 0
Sent 49958 bytes 784 pkts (dropped 0, overlimits 0) rate 8bpsa class 10:100 can not borrow from a parent 10:0 ,WHY?
How do you come to that conclustion ?????
Stef
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Quoted 3 lines · On Monday 21 October 2002 16:24, [email protected] wrote:
WHEN i send packets from 10.1.1.1 at rate frome 12mbit to 50mbit BY using SMATRBIT 600,
the rate of class 10:100 is always 12bits.
I suppose it's the SMATRBIT 600 that says it sends 12bits.
WHAT if you change 12mbit to 15mbit. WHAT if you send more then 20Mbit. WHAT if you change 12mbit to a lower value (1mbit).
CAN you can do that and post the results?
I don't think there is an error in your setup.
Stef
Quoted 72 lines
Quoted 11 lines
Quoted 11 lines
Hi ;
MY script:
tc-htb3 qdisc del dev eth2 root
ipchains -Ftc-htb3 qdisc add dev eth2 root handle 10: htb default 20 r2q 40
tc-htb3 class add dev eth2 parent 10: classid 10:1 htb rate 50Mbit
burst
Quoted 3 lines
Quoted 3 lines
2000
tc-htb3 class add dev eth2 parent 10:1 classid 10:100 htb rate 12mbit
ceil
Quoted 2 lines
Quoted 2 lines
50mbit prio 1
tc-htb3 class add dev eth2 parent 10:1 classid 10:20 htb rate 38mbitceil
Quoted 6 lines
Quoted 6 lines
50Mbit prio 8
ipchains -A fw -s 10.1.1.1 -m 100
ipchains -A fw -s 0.0.0.0 -d 0.0.0.0 -j ACCEPTtc-htb3 filter add dev eth2 protocol ip parent 10:0 prio 1 handle 100
fw
Quoted 7 lines
Quoted 7 lines
classid 10:100
WHEN i send packets at 20mbit from 10.1.1.1 ,
#tc -s -d qdisc show dev eth2
qdisc htb 10:
Sent 246602122 bytes 487287 pkts (dropped 323938, overlimits 1850710)Quoted 7 lines
Quoted 7 lines
#tc -s -d class show dev eth2
class htb 10:1 root prio 0 rate 50Mbit ceil 50Mbit burst 1985b/8 mpu 0b cburst 67121b/8 mpu 0b quantum 0 level 7
Sent 246602122 bytes 487287 pkts (dropped 0, overlimits 0) rate 8bpsclass htb 10:100 parent 10:1 prio 1 rate 12Mbit ceil 50Mbit burst
17325b/8
Quoted 4 lines
Quoted 4 lines
mpu 0b cburst 67121b/8 mpu 0b quantum 39321 level 0
Sent 246552164 bytes 486503 pkts (dropped 323938, overlimits 0)class htb 10:20 parent 10:1 prio 1 rate 38Mbit ceil 50Mbit burst
51396b/8
Quoted 10 lines
Quoted 6 lines
mpu 0b cburst 67121b/8 mpu 0b quantum 124518 level 0
Sent 49958 bytes 784 pkts (dropped 0, overlimits 0) rate 8bpsa class 10:100 can not borrow from a parent 10:0 ,WHY?
How do you come to that conclustion ?????
Stef
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
Signature · 8 lines
[email protected] "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / [email protected] http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/