Re: [squid-users] Linux EXT3 optimizations for Squid

From: Nyamul Hassan <mnhassan_at_usa.net>
Date: Sun, 8 Aug 2010 02:21:39 +0600

Hi,

I would build with the following in mind:

1. Better to have a separate disk for the cache stores.
2. Have a COSS store for objects less than 256k. And let AUFS handle
larger objects.
3. Don't have more than 75% of your disk allocated.
4. Only one AUFS store per disk. But you can have more than one COSS.
5. RAID is highly discouraged.
6. Regex is best avoided

Regards,
HASSAN

On 2010-08-07, Mike Diggins <mike.diggins_at_mcmaster.ca> wrote:
>
> I'm setting up a RHEL 5.3 64-bit Squid installation using
> squid-2.7.STABLE9. It's not a high volume server, and there will be two,
> but I wondered if there was anything special I should do with the cache
> disk, which is an EXT3 file system. I do mount it with the noatime option.
>
> I'm using AUFS with this cache_dir configuration:
> cache_dir aufs /usr/local/squid/var/cache 20000 16 256
>
> My file system is mounted:
> LABEL=/cache /usr/local/squid/var/cache ext3
> rw,noatime 1 2
>
> I'm not sure the model of the disk, but it's:
> 73GB 15K RPM SA SCSI 6Gbps 2.5in (Dell system)
>
> Any suggestions (besides adding more disk!).
>
> -Mike
>

-- 
Sent from my mobile device
Received on Sun Aug 08 2010 - 05:05:04 MDT

This archive was generated by hypermail 2.2.0 : Sun Aug 08 2010 - 12:00:03 MDT