Re: [squid-users] Squid Accellerator for CD/DVD ISO Mirror

From: Adrian Chadd <adrian@dont-contact.us>
Date: Sat, 14 Apr 2007 01:50:53 +0800

On Fri, Apr 13, 2007, Brian Elliott Finley wrote:

> I have a tentative squid configuration that includes two local
> independent 72G disks for cache on each machine, and the following
> relevant details. I'm pretty sure I'm way off on the object size stuff:
>
> cache_mem 1000 MB
> maximum_object_size 5120000 KB
> maximum_object_size_in_memory 1024000 KB
> cache_dir aufs /var/spool/squid/cache1 51200 16 256
> cache_dir aufs /var/spool/squid/cache2 51200 16 256
> httpd_accel_host localhost
> httpd_accel_single_host on
> httpd_accel_uses_host_header on

Squid will be pretty horrible at caching those large ISOs in memory at the moment.
Your best bet will be to set cache_mem relatively low (couple hundred megabytes),
the max obj size in memory being low (megabyte or two); and rely on OS disk caching.

Use Squid-2.6; and read the release notes and FAQ for the directive changes.
That replaces the httpd_* lines above that were used for squid-2.5 and earlier.

Adrian
Received on Fri Apr 13 2007 - 11:39:11 MDT

This archive was generated by hypermail pre-2.1.9 : Tue May 01 2007 - 12:00:01 MDT