Skip to contentSkip to conversation

help, a children can not borrow from a parent?

LARTC [email protected] 2 participants 2 messages Oct 22, 2002

lore
Share & tools
lore
#0 lore raw

SORRY! not 12bits, should 12mbits

WHEN i send packets from 10.1.1.1 at rate frome 12mbit to 50mbit BY
using
SMARTBIT 600, the rate of class 10:100 is always 12Mbits.

Quoted 2 lines

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

Quoted 3 lines

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.

WHEN i change 12mbit to 15mbit and send packets at rate 15mbit,20mbit,30mbit,50mbit, the rate of class 10:100 is always 15mbits. WHEN i change 12mbit to 30mbit and send packets at rate 30mbit,40mbit,50mbit, the rate of class 10:100 is always 30mbits. WHEN i change 12mbit to a lower value (1mbit) and send packets at rate 1mbit,2mbit,10mbit,20mbit, the rate of class 10:100 is always 1mbits.

Quoted 1 line
Quoted 1 line

WHEN i send packets from 10.1.1.1 at rate frome 12mbit to 50mbit BY

using

Quoted 5 lines
Quoted 2 lines

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

Quoted 32 lines

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 10 lines
Quoted 10 lines

Hi ;

MY script:

tc-htb3 qdisc del dev eth2 root
ipchains -F

tc-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 18 lines
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 ACCEPT

tc-htb3 filter add dev eth2 protocol ip parent 10:0 prio 1 handle 100

fw

Quoted 9 lines
Quoted 9 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)

#tc -s -d class show dev eth2
class htb 10:1 root prio 0 rate 50Mbit ceil 50Mbit burst 1985b/8 mpu

0b

Quoted 6 lines
Quoted 5 lines
Quoted 5 lines

cburst 67121b/8 mpu 0b quantum 0 level 7
Sent 246602122 bytes 487287 pkts (dropped 0, overlimits 0) rate 8bps

class htb 10:100 parent 10:1 prio 1 rate 12Mbit ceil 50Mbit burst

Quoted 20 lines

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 8bps

a 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/

#1 lore raw
Quoted 16 lines · On Tuesday 22 October 2002 11:14, [email protected] wrote:

SORRY! not 12bits, should 12mbits

WHEN i send packets from 10.1.1.1 at rate frome 12mbit to 50mbit BY
using
SMARTBIT 600, the rate of class 10:100 is always 12Mbits.

Quoted 2 lines

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

Quoted 3 lines

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.

Quoted 6 lines

WHEN i change 12mbit to 15mbit and send packets at rate 15mbit,20mbit,30mbit,50mbit, the rate of class 10:100 is always 15mbits. WHEN i change 12mbit to 30mbit and send packets at rate 30mbit,40mbit,50mbit, the rate of class 10:100 is always 30mbits. WHEN i change 12mbit to a lower value (1mbit) and send packets at rate 1mbit,2mbit,10mbit,20mbit, the rate of class 10:100 is always 1mbits.

The ceil parameter always worked for me. What version of tc/htb/kernel are you using?

Stef

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/