Networking Forums

Networking Forums > Computer Networking > Linux Networking > QoS and shaping

Reply
Thread Tools Display Modes

QoS and shaping

 
 
Kevin Brown
Guest
Posts: n/a

 
      12-30-2005, 04:46 PM
Hello all,

I work for a wireless ISP and we are having some issues with
subscribers hogging too much bandwidth. Each customer is
limited to what they are paying for (128kbit,640,1024,etc)
but, the problem lies when people download steady for more
than a half hour. It seems like a wireless problem since when
heavy downloading occurs, it only hurts people on the same POP.

I'm wondering if there's a way to limit these downloaders to a
half decent rate when other people are trying to access the Internet.
I am in the process of setting up some HTB queues on our master
router, but I'm wondering if there's software that will track
bandwidth on a per IP basis and run a certain script when conditions
are met (i.e. after twenty minutes of 500kbit/s+, limit them to
100kbit/s).

Any ideas on howto efficiently share our bandwidth?

Thanks in advance,
Kevin Brown.
 
Reply With Quote
 
 
 
 
Michael Heiming
Guest
Posts: n/a

 
      12-30-2005, 10:45 PM
In comp.os.linux.networking Kevin Brown <itismekevinb-NOSPAM-@hotmail.com>:
> Hello all,


> I work for a wireless ISP and we are having some issues with
> subscribers hogging too much bandwidth. Each customer is
> limited to what they are paying for (128kbit,640,1024,etc)
> but, the problem lies when people download steady for more
> than a half hour. It seems like a wireless problem since when
> heavy downloading occurs, it only hurts people on the same POP.


> I'm wondering if there's a way to limit these downloaders to a
> half decent rate when other people are trying to access the Internet.
> I am in the process of setting up some HTB queues on our master
> router, but I'm wondering if there's software that will track
> bandwidth on a per IP basis and run a certain script when conditions
> are met (i.e. after twenty minutes of 500kbit/s+, limit them to
> 100kbit/s).


> Any ideas on howto efficiently share our bandwidth?


I'd setup squid as transparent proxy and use its delay pools
feature, which should allow to do that. You can even limit the
download rate for specific file types and more.

Good luck

--
Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
mail: echo (E-Mail Removed) | perl -pe 'y/a-z/n-za-m/'
#bofh excuse 345: Having to manually track the satellite.
 
Reply With Quote
 
Scott R. Haven
Guest
Posts: n/a

 
      01-02-2006, 01:08 PM
Michael Heiming wrote:
> In comp.os.linux.networking Kevin Brown <itismekevinb-NOSPAM-@hotmail.com>:
>
>>Hello all,

>
>
>>I work for a wireless ISP and we are having some issues with
>>subscribers hogging too much bandwidth. Each customer is
>>limited to what they are paying for (128kbit,640,1024,etc)
>>but, the problem lies when people download steady for more
>>than a half hour. It seems like a wireless problem since when
>>heavy downloading occurs, it only hurts people on the same POP.

>
>
>>I'm wondering if there's a way to limit these downloaders to a
>>half decent rate when other people are trying to access the Internet.
>>I am in the process of setting up some HTB queues on our master
>>router, but I'm wondering if there's software that will track
>>bandwidth on a per IP basis and run a certain script when conditions
>>are met (i.e. after twenty minutes of 500kbit/s+, limit them to
>>100kbit/s).

>
>
>>Any ideas on howto efficiently share our bandwidth?

>
>
> I'd setup squid as transparent proxy and use its delay pools
> feature, which should allow to do that. You can even limit the
> download rate for specific file types and more.
>
> Good luck
>


Michael,

Our firewall product "Frontdoor" does this with HTB. What we do is set
a "rate" and "ceiling" on a class of traffic. ( in your case by IP )

These are nice even numbers for an example...

You might do something like:


each IP gets a "rate" (minimum) of 20 and "ceil" (max) for 128
You would assign them a priority as well if you wanted.

If there is "extra" bandwidth, they can go 128 if not they get at least 20

You can also use a SFQ to increase "fairness" so that each connection
gets one piece of the pie as opposed to first in first out (FIFO).

With some fancy scripting work you could monitor the queues and change
the shaping.

We also add custom graphs to monitor traffic. The graphing can be
impractical for large networks since there are so many IP address they
don't fit on one graph (or even several). Its more practical for subnet
vs. subnet or by protocol or application.

Here is a small primer on traffic shaping / QoS.

http://www.paisleysystems.com/produc...ntdoor/traffic

Assuming you would like to tackle this yourself, try the "see also"
links on the right side of the page.

By all means if you don't want to do it yourself try the "contact us"
form.

The transparent proxy suggestion above is also good and may have
performance benefits as well.

Scott R. Haven
Sr. Systems Engineer
Paisley Systems Inc.
www.paisleysystems.com




 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
rate shaping with cbq Damir Galič Linux Networking 8 09-19-2005 02:26 PM
MN-100 and traffic shaping Nikitas Broadband Hardware 1 07-25-2004 01:19 AM
Bandwidth shaping with CBQ Graeme Hinchliffe Linux Networking 1 05-15-2004 03:36 PM
shaping traffic Benjamin Hirsch Home Networking 3 02-12-2004 07:51 PM
transfer shaping... Micha³ Kicman Wireless Internet 0 06-23-2003 06:00 PM



1 2 3 4 5 6 7 8 9 10 11