]> git.ipfire.org Git - thirdparty/squid.git/commit
Reflect the [ugly] reality in external_acl_type cache=n documentation.
authorAlex Rousskov <rousskov@measurement-factory.com>
Thu, 31 Dec 2015 03:32:59 +0000 (20:32 -0700)
committerAlex Rousskov <rousskov@measurement-factory.com>
Thu, 31 Dec 2015 03:32:59 +0000 (20:32 -0700)
commiteef8bf2d1e17b98136a18cddc1444b38e9174fde
treed662cd7e3d5a9afb765c9eb12c84f118b538573e
parentd75ae82cb49639ca397bd23e4c8e368c52973604
Reflect the [ugly] reality in external_acl_type cache=n documentation.

The patch does not change how the cache works, but may help admins
configure the cache correctly if they stumble upon the updated docs.

A typical external ACL cache with the default cache settings consumes
about 70 MB of RAM (more in many cases, e.g., if annotations are used
with external ACLs). Besides memory usage, the default cache is using
only 977 hash buckets for 262144 entries so there may be quite a bit
of linear search going on by default.
src/cf.data.pre