Hello. Catalin Petrescu <taz@xxxxxxxx> wrote: > >So I set CBQ.init following like this. > > > >/etc/rc.d/CBQ.init > >DEVICE=eth0,100Mbit,10Mbit > >RATE=10Mbit > >WEIGHT=1Mbit > >PRIO=5 > > > >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----- > > >Could you tell me how to limit bandwidth more than 7Mbps. > Try BUFFER=100Kb/8. > > -- > Catalin Petrescu <taz at dntis dot ro> Thank you for your advice. I'll try BUFFER=100Kb/8. Mitsuru MIZUTANI ----------- _______________________________________________ LARTC mailing list / LARTC@xxxxxxxxxxxxxxx http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/