Skip to contentSkip to conversation

CBQ.init

LARTC Catalin Petrescu 1 participant 1 message Sep 9, 2003

lore
Share & tools
lore
#0 lore raw
Quoted 8 lines

So I set CBQ.init following like this.

/etc/rc.d/CBQ.init
DEVICE=eth0,100Mbit,10Mbit
RATEMbit
WEIGHT=1Mbit
PRIO=5

Quoted 4 lines

When I set RATE=6Mbit,I can limit bandwidth 6Mbps. But I set RATE=7Mbit,8Mbit,...
I can limit bandwidth only 6.95Mbps everytime.
Why?

watch your default tbf settings!

----from cbq.init begin----
# BUFFER=<bytes>[/<bytes>] optional, default "10Kb/8"
#

#       This parameter controls the depth of the token bucket. In other
#       words it represents the maximal burst size the class can send.
#       The optional part of parameter is used to determine the length
#       of intervals in packet sizes, for which the transmission times
#       are kept.

-----from cbq.init end-----

Quoted 1 line

Could you tell me how to limit bandwidth more than 7Mbps.

Try BUFFER0Kb/8

Signature · 12 lines
Catalin Petrescu <taz at dntis dot ro>

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/CC/IT/S/MU d- s+: a- C++ ULAS++++$ P+>+++ L+++ E- W+ N+ o? K?
w-- O-- M- V? PS+ PE Y PGP+>++ t 5? X+ R? tv--() b+>++ DI++ D+ G
e++ h* r-- y? 
------END GEEK CODE BLOCK------

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