Re: [squid-users] FreeBSD :Diskd ? (WAS: Compile Crash)

From: Gary Shelton <omega996@dont-contact.us>
Date: Thu, 20 Dec 2001 14:02:24 -0800

I run my squid cache with softupdates and noatime on FreeBSD 4.3. I wouldn't
run with the async option if the filesystem had anything that you'd really
like to keep on it. Running the filesystem in async mode means that neither
the directory data or the file data are committed before moving on to the
next operation. Your filesystem is quite susceptible to corruption from
power loss and random error in this mode.
Squid's async mode, when used with a 'helper' of some sort (diskd, for BSD)
means that squid can hand off file I/O to the helper without waiting for the
result. This helps keep squid from being the I/o bottleneck.

Diskd Is simply a helper that handles disk read and write operations...

On 12/20/01 1:38 PM, "Dave Raven" <dave@reason.za.org> wrote:

> Okay, so are you saying that it would be better to just run soft-updates,
> noasync?
> I'd have too look into it myself, but I'll take your word on that.
> Of course, this leaves the question of whether to run squid in async and
> your disks in noasync?
> Wise/Unwise?
>
> Also, what does diskd do exactly that might benifit squid?
>
> TIA
> Dave
> OpteqSec.
>


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com

Received on Thu Dec 20 2001 - 15:01:38 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:05:27 MST