Search squid archive

Re: Delay Pool help...

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

 



Landy Landy wrote:
Hello.

Lately I've been experiencing that our internet connection has being
crawling. I noticed some users like to download movies, videos, and a
lot of other content that kills our internet bw. I've been thinking
of throtle every user in our network. I've tried it in the past with
tc but, when I run squid I can't get it to do its job. If I do NOT
run squid and just do a normal forward from internet to our lan and
viceversa the tc shaping works great throtling the speed or bw to
each user I config... Now, I would like to give it a try with squid
and delay pools but, after reading some documentations, it has
confused me. I learned that there are three pools or classes. Can you
please guide me to where I can find info on how to throtle users with
delay pools?

http://www.squid-cache.org/Doc/config/delay_class/
and
http://www.squid-cache.org/Doc/config/delay_parameters/

To throttle only users by IP you want class type 2, with the "aggregate" part set to -1/-1 (not limited by group) and the individual part set to the KBps.

NOTE: its whole Bytes per second, so multiply your 512 or 128 by 1024 for the K and then divide by 8 to get the pool speed parameter.

128Kbps --> delay_parameters <pool> ... -1/-1 16384/16384

Then use "delay_access <pool> ..." to throttle all users who match the ACL list with a particular pool.


Amos
--
Please be using
  Current Stable Squid 2.7.STABLE9 or 3.1.6
  Beta testers wanted for 3.2.0.1


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux