From: Catalin Petrescu <taz@dntis.ro>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] CBQ.init
Date: Tue, 09 Sep 2003 18:48:37 +0000 [thread overview]
Message-ID: <marc-lartc-106313358811988@msgid-missing> (raw)
In-Reply-To: <marc-lartc-104039526016044@msgid-missing>
>So I set CBQ.init following like this.
>
>/etc/rc.d/CBQ.init
>DEVICE=eth0,100Mbit,10Mbit
>RATE\x10Mbit
>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\x100Kb/8.
--
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 / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2003-09-09 18:48 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-12-20 14:37 [LARTC] CBQ.init Emmanuel SIMON
2002-12-20 18:04 ` Stef Coene
2003-04-23 18:58 ` [LARTC] cbq.init larry lefthook
2003-04-23 19:14 ` Stef Coene
2003-09-09 2:42 ` [LARTC] CBQ.init Mitsuru MIZUTANI
2003-09-09 2:48 ` Rio Martin
2003-09-09 10:36 ` Mitsuru MIZUTANI
2003-09-09 15:16 ` Stef Coene
2003-09-09 18:48 ` Catalin Petrescu [this message]
2003-09-09 20:07 ` Mitsuru MIZUTANI
2003-09-10 5:52 ` Raghuveer
2003-09-16 4:08 ` Rio Martin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=marc-lartc-106313358811988@msgid-missing \
--to=taz@dntis.ro \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox