Skip to contentSkip to conversation

For a root-qdisc, can the bandwidth be smaller than the

LARTC anzp 3 participants 3 messages Aug 5, 2003

lore
Share & tools
lore
#2 lore raw

Re: [LARTC] =?GB2312?Q?For a root-qdisc, can the bandwidth be

In reply to anzp

: > For a root-qdisc, can the bandwidth be smaller than the bandwidth of : > the device
:
: yes. The root qdisc bandwidth *should* be set smaller than the : bandwidth of the device by about 5%

Well, wouldn't you say it depends on the qdisc in use? If you are using CBQ, see the comments in section 9.5.4, "The famous CBQ qdisc":

http://lartc.org/howto/lartc.qdisc.classful.html

In short, you'll use the bandwidth parameter to both your "tc qdisc add" and your "tc class add" commands.

But, if you are using HTB, Steve is partly correct. Under HTB, you do not specify the real device bandwidth, but rather the rate to which you wish to limit your transmitted traffic. And in this case, it is wise to set the rate a bit lower than the real bandwidth to ensure that the HTB qdisc/classes are the bottleneck between the networks.

-Martin

Signature · 5 lines
Martin A. Brown --- SecurePipe, Inc. --- [email protected]

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