Squid patch
"Iosif Peterfi" <[email protected]> Wed, 19 Jan 2005 19:38:44 +0200
| Newsgroups | gmane.linux.gentoo.performance |
|---|---|
| Message-ID | <002b01c4fe4d$b9718ce0$da01a8c0@FORTEWKS001> |
Hello, i would like to see included in the next squid release the zsh patch from: http://www.it-academy.bg/zph/. Purpose The idea behind this patch is to allow classification of packets generated from the squid cache engine towards clients. The classification is based on whether the content is being served from cache (a cache HIT), or is being retrieved from a remote server (a cache MISS). Background I made this patch to deal with a problem of the current QoS design I have implemented. I'm using a single Linux box to act as Firewall/NAT/Transparent HTTP cache for a small network of computers. The box also imposes the QoS policies for the communications to/from Internet. The QoS is based on HTB+SFQ queuing disciplines. Statistics gathered from the squid cache (through SNMP) clearly show an average monthly HIT rate of about 25%. Unfortunately, unless using the delay pools feature of SQUID, there is no way to limit only those requests served from remote servers. The Delay pools are a nice feature of SQUID, but cannot work efficiently due to the lack of communication with the QoS policies beneath. What I needed was a way to classify packets and set no penalty in bandwidth and delay, when the information is served from SQUID's cache. -- This message was scanned for spam and viruses by BitDefender. For more information please visit http://linux.bitdefender.com/ -- [email protected] mailing list