Jason Harlow on 23 Dec 2008 07:59:42 -0800


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

Re: [PLUG] regulating network traffic


Your best value for money on QoS would probably be to buy a Linksys
WRT-54GL <--Note the "L", it's important.

This is a cheap (you can probably find one sub-$50) router that you
can flash the firmware on.

I use Tomato (http://www.polarcloud.com/tomato), but there are others
(DD-WRT, etc) available

It has some nice QoS features. Basically you can classify all of your
traffic based on port ranges and even # of bytes transferred as Low,
medium, high, highest, etc

Then you can set the max bandwidth used by everything and then the
percentage allowed per classification (i.e. high priority traffic can
use 100%, medium can use up to 80%, etc

This doesn't quite do what you're looking for, but Tomato also
supports more complicated scripts (it's just a small linux kernel
running on the router), and there's a good script generator:

http://bulfon.com/userx/wifi/WRT54Gx/generator/

That will supposedly add the type of QoS you're looking for.

On Mon, Dec 22, 2008 at 11:32 PM, Matthew Rosewarne
<mrosewarne@inoutbox.com> wrote:
> On Monday 22 December 2008, edmond rodriguez wrote:
>> So how?   Qos does not seem to solve this problem since my provider pretty
>> much compiles all the data coming in and I am hardly using the capacity of
>> my router.  I have a 768Kb service.
>>
>> How can one designate some kind of rule that says "bittorrent comes last
>> when ever anything else is getting done", but otherwise can use all the
>> bandwidth?
>>
>> From what I researched, it seems like the only way to make this happen is
>> to "throttle" the ports that bittorrent is using, or somehow throttle bit
>> torrent itself.
>>
>> The bittorrent application has a throttle in it, but it is static, not
>> dynamic.
>
> QOS can do exactly what you want.  However, the bottleneck is not at your
> machine but rather where your LAN meets your ISP.  Therefore the
> prioritisation must take place not on the individual machines, but on the
> router.
>
> The only consumer-grade router that I've had with the necessary QOS abilities
> is the one I got from Verizon for their FIOS service, but I'd expect there are
> others on the market.
>
> Once you get QOS on the router, you can have it prioritise any traffic on the
> bitorrent ports lower than other traffic, so the torrents will only use
> bandwidth you aren't using for anything else.  Don't do throttling if you can
> avoid it, it's a just crude way to work around (but not fix) the problem.
>
> %!PS: Another fun use for QOS is to make yourself a good wireless neighbor.
> Disable WEP/WPA, isolate the wireless network from the wired network, and
> prioritise all wireless traffic lower than wired traffic (and also your
> wireless devices).  Now other people can use the free wifi, but they won't
> slow you down at all, since they'll only get whatever bandwidth you aren't
> using.
>
> ___________________________________________________________________________
> Philadelphia Linux Users Group         --        http://www.phillylinux.org
> Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
> General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug
>
>
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug