Re: [squid-users] Cache_dir more than 10GB

From: Kinkie <gkinkie_at_gmail.com>
Date: Mon, 6 Oct 2008 09:19:07 +0200

On Mon, Oct 6, 2008 at 8:49 AM, Francois Cami <fcami_at_winsoft.fr> wrote:
> On Mon, Oct 6, 2008 at 8:28 AM, Kinkie <gkinkie_at_gmail.com> wrote:
>> On Mon, Oct 6, 2008 at 5:01 AM, Rafael Gomes <linux.rafa_at_gmail.com> wrote:
>>> With ReiserFS or xfs we must set this options too?
>>>
>>> options : noatime, nodiratime, data=writeback
>>
>> data=writeback is ext3-specific, the others should be available and if
>> so they are to be specified for maximum performance.
>> in case of reiserfs you should also specify notail.
>> There's some hints at http://wiki.squid-cache.org/BestOsForSquid
>
> I would not run an ext3 filesystem with data=writeback . noatime and
> nodiratime provide a welcome boost by eliminating unneeded writes,
> however writeback is not {powerfailure, system crash}-safe. If you
> value your time (especially the time spent putting systems back up
> after a system failure), you should use data=ordered.

That's of course a possibility.
It all boils down to the usual performance vs. resiliency tradeoff,
and it depends on each sysadmin's unique operational situation.

-- 
    /kinkie
Received on Mon Oct 06 2008 - 07:19:14 MDT

This archive was generated by hypermail 2.2.0 : Mon Oct 06 2008 - 12:00:02 MDT