From: Catalin Petrescu <taz@dntis.ro>
To: lartc@vger.kernel.org
Subject: [LARTC] Re: CBQ.init
Date: Tue, 09 Sep 2003 13:49:28 +0000 [thread overview]
Message-ID: <marc-lartc-106311547619953@msgid-missing> (raw)
>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/
reply other threads:[~2003-09-09 13:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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-106311547619953@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