Skip to contentSkip to conversation

why so fast?

LARTC sun reflex4 2 participants 2 messages May 14, 2003

lore
Share & tools
lore
#0 lore raw

Hi,
corresponding to my previous, I've tested with it all the time, but it is not working. Although the packets go through the specified class, but the class does exceed the given ceil, see what the "tc -s -d class show dev eth0" shows:

class htb 1:10 parent 1:1 prio 0 quantum 1000 rate 1bps ceil 1bps burst
1023b/8 mpu 0b cburst 1599b/8 0b level 0
Sent 11794081 bytes 7847 pkts (dropped 0, overlimits 0) rate 285518bps 189pps
lended 7847 borrowed:0 giants:0
tokens: -59999999 ctokens: -59999999

When the rate & ceil for 1:10 are 1bps, how does it send with much higher rate?

_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?pageþatures/junkmail

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw
Quoted 13 lines · On Wednesday 14 May 2003 20:03, sun reflex4 wrote:

Hi,
corresponding to my previous, I've tested with it all the time, but it is not working. Although the packets go through the specified class, but the class does exceed the given ceil, see what the "tc -s -d class show dev eth0" shows:

class htb 1:10 parent 1:1 prio 0 quantum 1000 rate 1bps ceil 1bps burst
1023b/8 mpu 0b cburst 1599b/8 0b level 0
Sent 11794081 bytes 7847 pkts (dropped 0, overlimits 0) rate 285518bps 189pps
lended 7847 borrowed:0 giants:0
tokens: -59999999 ctokens: -59999999

Quoted 2 lines

When the rate & ceil for 1:10 are 1bps, how does it send with much higher rate?

Argh. You have 10bps. That means 10bytes per second ! That's way too low. No wonder htb can't shape that. The minimium shapable rate is 4kbps or so. So plz, do your tests with a higher rate and ceil, 10kbps or so.

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/