Search squid archive

RE: [squid-users] File system recommendations for squid cache.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>> The company I'm working for uses squid for caching and access
control.
>> We use 3 Dell 2650s for squid, with a 3 disk (U320 10K RPM) RAID-0 
>> (stripe set) for the cache partition on each server.
>
>What OS?
>
>It's recommended to split that stripe into separate drives. Squid does
not benefit from striping. Squid automatically splits the load on the
available
>>drives (cache_dir), so striping only makes long term maintenance of
your system harder as any change to the cache would mean loosing the
whole cache.

The OS is Linux 2.4.29 (Debian 3.0_R4)
What is the recommended size of each cache_dir (disk)?

Squid Cache: Version 2.5.STABLE7
configure options:  --bindir=/usr/sbin --sbindir=/usr/sbin
--localstatedir=/var/spool/squid --sysconfdir=/etc/squid
--libexecdir=/usr/lib/squid --enable-linux-netfilter
--enable-cache-digests --enable-poll --enable-delay-pools
--enable-underscores --enable-useragent-log --enable-storeio=diskd,ufs
--enable-snmp


>> What file system is recommended for use on the cache partitions?
>> We have tried with ext2, xfs and reiserfs 3.6.
>>
>> First we thought using ext2 (no additional configuration) would be a 
>> good idea, since there is no journaling etc. The performance sucked.
>
>What cache_dir type did you use? aufs is recommended for linux.
>The default "ufs" cache_dir type by design won't perform in higher
loads as each I/O operations blocks the whole Squid process..

cache_dir diskd /var/spool/squid 65536 64 1024

Still, with several smaller independent disks for the cache_dirs, what
filesystem is recommended for this use?


Thanks so far...

Charlie Johnson


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux