On 16/04/11 12:06, Yang Zhang wrote:
Does squid support any sort of compression of its on-disk cache?
Squid does not perform compression.
Whether the disks do it is up to them.
Whether the traffic is compressed on arrival is up to the client.
Whether the traffic stored is compressed is up to you (using the eCAP
plugin?).
For small setups with a few clients and maybe a dozen or so requests per
second (guessing) it does not matter a huge amount.
For larger setups under load Squid can push disks right to their limits.
In a lot of those cases the Mbit/Gbit network throughput is effectively
pushed both in AND out of the disk simultaneously on a random-access
pattern.
Such things as simply setting the file atime then start to cause
slowdowns. For other more complex things like RAID or compression or
de-duplication... you better have VERY fast hardware support built-in.
Amos
--
Please be using
Current Stable Squid 2.7.STABLE9 or 3.1.12
Beta testers wanted for 3.2.0.6