[squid-users] cache_dir and file system performance

From: genco yilmaz <gencoyilmaz@dont-contact.us>
Date: Tue, 13 Jun 2006 19:55:26 +0300

Hello,
    There is a formula in squid-cache.org page to calculate the number
of first and second level directories. How does this decision differs
or let me say, when we have reiserfs file system on cache_dir, do we
add any factor to this formula? You know reiserfs doesnt have linear
search algorithm and its performance is different when large amount of
files exist in a directory.
    I am asking this question because I have seen a squid installation
which has 3GB of cache_dir having the following configuration:
    cache_dir aufs /var/spool/squid 3072 60 312

Isn't this too large for a 3GB of cache_dir which is a reiserfs file
system. I will test performance difference when I decrease the first
level number of directories but before that I would like to get your
opinions. If you have any ideas, I will be glad to hear them.

Regards.
Received on Tue Jun 13 2006 - 10:55:29 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Jul 01 2006 - 12:00:01 MDT