Re: [squid-users] squid3 SMP aufs storage/process

From: Alex Rousskov <rousskov_at_measurement-factory.com>
Date: Sat, 09 Mar 2013 00:02:36 -0700

On 03/08/2013 11:21 PM, jiluspo wrote:

> If squid3 configured with cache_dir aufs per process would they
> share to other process?

No. Ufs-based store modules, including aufs, are currently not
SMP-aware. If you use them in SMP Squid (without protecting them with
SMP conditionals), your cache will get corrupted.

SMP conditionals in squid.conf can be used to prevent corruption, but
they also prevent sharing of cache_dirs among workers.

Rock store and memory cache are SMP-aware, share cache among workers,
and do not need SMP macros, but they have their own limitations (we are
actively working on addressing most of them).

Pick your poison,

Alex.
Received on Sat Mar 09 2013 - 07:02:47 MST

This archive was generated by hypermail 2.2.0 : Sat Mar 09 2013 - 12:00:04 MST