From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mitsuru MIZUTANI Date: Tue, 09 Sep 2003 20:07:08 +0000 Subject: Re: [LARTC] CBQ.init Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org Hello. Catalin Petrescu wrote: > >So I set CBQ.init following like this. > > > >/etc/rc.d/CBQ.init > >DEVICE=eth0,100Mbit,10Mbit > >RATEMbit > >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=[/] 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 BUFFER0Kb/8. > > -- > Catalin Petrescu Thank you for your advice. I'll try BUFFER0Kb/8. Mitsuru MIZUTANI ----------- _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/