> > I have some remarks on the wshaper.
> > - The bandwidth parameter should reflect your real link bandwidth
> > parameter. So it's 100mbit if the NIC is connected with 100Mbit to the
> > router/switch/modem.  Its _NOT_ the modem bandwidth.
>
> huh?  I thought rule 1 of traffic shaping was to take control of the
> traffic buffer.  If you belch traffic at the modem and it cues there
> instead of your Linux box, how are you going to prioritize anything?
The bandwidth parameter is used to calculate the idle time of the link.  So 
sending 1mbit on a 10mbit link means 90% idle time.  It has nothing to do 
with maximum of traffic you can send.  Cbq needs also a valid allot and avpkt 
parameter for the same reason : to calculate the link idle time of the NIC.
Limiting the total traffic is done with the bounded 1:1 class attached to the 
root qdisc.

Stef

-- 

[EMAIL PROTECTED]
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net

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

Reply via email to