Search squid archive

Re: Help me to manage my Internet Bandwidth

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

 



Anam Ali Khan wrote:
Hi All, I am a Linux System Administrator a usernd i am running Squid 2.6 on Fedora Core 6. My Internet Bandwidth is 512kbps Broadband and I have 50 Users on my Lan. Mostly users on my LAN are doing bulk downloading such as large .exe files for Windows OSs, I want to configure Delay pools feature in Squid so that i can set bandwidth for such files.

I want to configure Delay Pools in Squid.

Please Help me

Something like...

delay_pools 1
delay_class 1 1
delay_access 1 allow all
delay_parameters 1 16000/64000

...would limit all downloads larger than 64,000 bytes* to 128 kbit/seconds.

By download, I mean a stream of traffic, not specific objects. Normal surfing patterns are download a bunch of stuff, pause to read it. This would allow time for the 64KB bucket to refill (at a rate of 16KByte/sec) before another page is requested. Those constantly pulling data down will not allow their bucket to refill, and will hit the 16KByte/sec (128kbit/sec) limit before their download is complete. Feel free to increase the second number and/or decrease the first number as appropriate.

If you want to just limit the speed of specific files, using a reply_mime_type acl in conjunction with the delay_access would be your best bet.

Read http://wiki.squid-cache.org/SquidFaq/MiscFeatures#head-fd9b4b7ba1854a3c21796173af9d0b9aee33e376 for more details on delay pools.

Chris

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

  Powered by Linux