Re: [LARTC] Wonder Shaper - New Features - Unofficial Version

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > 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

-- 

stef.coene@xxxxxxxxx
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux