Re: [squid-users] How does squid choose which cache_dir to use?

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Tue, 21 Aug 2007 11:53:59 +0200

On tis, 2007-08-21 at 14:55 +0800, Adrian Chadd wrote:
> It'll choose the cache dir with the least pending disk ops, if you haven't
> configured any other restriction (min/max object size.)

No, not with aufs. They internally all share the same queue.

With aufs it currently basically selects the cache_dir based on amount
of free space, or at least that's the idea..

> > Normally, (when all using ufs/ffs) all the squidcache1/2/3 dirs start filling
> > first and the cache0 dir fills slowest. However, with the 3 using zfs, cache0
> > is filling much faster. Is this indicitive of the 3 cache_dirs using zfs
> > are somehow slower, so its using cache0 more?

Odd.. the underlying filesystem should have little or no impact on how
Squid selects cache diretory.

Regards
Henrik
Received on Tue Aug 21 2007 - 03:54:14 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Sep 01 2007 - 12:00:03 MDT