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

Re: bandwidth limiting



On Mon, Jun 23, 2003 at 11:14:42AM +0530, K S Sreeram wrote:

> I have a 'cvs update' going on for a rather large repository.
> Whenever there is any HTTP traffic(browser/wget/apt-get etc), the CVS
> traffic seems to come to a halt. So it looks like my ISP is giving
> higher priority to HTTP traffic. 
> 
> Is there any way I can give higher priority to the CVS traffic? 
> 
> I have read lartc (lartc.org), but all the techniques it talks about
> (cbq, htb etc) works only for outgoing traffic, not for incoming data.
> The linux ingress qdisc doesnt seem suitable for this problem.

Wondershaper should do what you want:

   http://lartc.org/wondershaper/

>From the README:

   Limit download speed
   --------------------

   This is slightly trickier as we can't really influence how fast the
   internet ships us data. We can however drop packets that are coming
   in too fast, which causes TCP/IP to slow down to just the rate we
   want. Because we don't want to drop traffic unnecessarily, we
   configure a 'burst' size we allow at higher speed.

   Now, once we have done this, we have eliminated the downstream queue
   totally (except for short bursts), and gain the ability to manage the
   upstream queue with all the power Linux offers.

-- 
Jamin W. Collins

Remember, root always has a loaded gun.  Don't run around with it unless
you absolutely need it. -- Vineet Kumar



Reply to: