Hello there,
If you're planning to use "diskd" in the future
(or even now with a DEVEL distribution),
It's a good idea to have multiple "cache_dir".
http://www.squid-cache.org/Doc/FAQ/FAQ-22.html
--jp
Merton Campbell Crockett wrote:
>
> I have a BSD/OS 4.1 system. It has 512 MB RAM and dual 550 MHz Pentium III
> processors. It has 4 9 GB SCSI-3 disk drives. One of the drives is
> configured as a system disk. The remaining 3 physical drives are configured
> as a single 27 GB stripe set. Soft updates are enabled on the system drive
> and the stripe set.
>
> The system is intended to be the parent Squid cache for other caches on the
> LAN as well as being used directly by browsers. The question is what is the
> "best" way to structure the cache. Would it be better to have a single
> large cache directory? Or, would there be an advantage to having multiple
> cache directories?
>
> Example 1:
>
> cache_dir /var/www/squid/cache 10000 16 256
>
> Example 2:
>
> cache_dir /var/www/squid/cache0 2000 16 256
> cache_dir /var/www/squid/cache1 2000 16 256
> cache_dir /var/www/squid/cache2 2000 16 256
> cache_dir /var/www/squid/cache3 2000 16 256
> cache_dir /var/www/squid/cache4 2000 16 256
>
> If one anticipates the need to expand the size of the cache over time, is it
> better to have similar size cache directories? Is there a negative impact
> in having multiple cache directories.
>
> Merton Campbell Crockett
-- FCCN - Fundação para a Computação Científica Nacional - Tel: +351-218440100Received on Mon Aug 07 2000 - 03:47:24 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:54:44 MST