Optimising squid
Hello
If anyone has squid set up for optimal performance, could they please post me their squid.conf file? I am trying to make it so that squid doesn't slow down when someone downloads, on my 600k cable connection. There are a lot of options in squid.conf, just wanted to compare with someone else who has squid running nicely Cheers |
I am away from my squid servers at the moment. You should post your squid.conf and we'll have a look. There are a few techniques that can speed up squid a bit. Are you experiencing a severe slow down?
|
Sounds like you need delay pools... Here are some of the more pertinent lines from my squid.conf:
acl all src 0.0.0.0/0.0.0.0 acl Employees src 204.99.99.0/255.255.255.0 acl Multimedia urlpath_regex "/etc/squid/multimedia" acl local dst 204.99.99.0/24 always_direct allow local delay_pools 3 # delay_class 1 1 delay_access 1 allow Multimedia delay_parameters 1 7500/4000 # delay_class 2 1 delay_access 2 allow Employees delay_parameters 2 150000/50000 # delay_class 3 1 delay_access 3 allow all delay_parameters 3 20000/10000 the /etc/squid/multimedia file contains: \.mp2$ \.mp3$ \.mpg$ \.mov$ \.wav$ \.avi$ .... and many more ... So I'm breaking the delay pools down such that downloading an .mp3 file goes very slow and all others go a bit faster. For instance... Be creative... Good luck! |
All times are GMT -5. The time now is 01:38 AM. |