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

From: Dave Raven <[email protected]>
Date: Thu, 20 Dec 2001 22:00:56 +0200

As I see it,

Yes, soft-updates is highly recommended, but is _completely_ different to
async disk io.
I have softupdates turned on on the drive, but I run it in async mode.
The default fBSD disk will run on noasync (not meaning NO async) but that:
Metadata I/O should be done synchronously, while data I/O should be done
asynchronously.

To enable syncronous mode only is actually shooting yourself in the foot,
        (I would think)
I can only see this being done for data safety, which is again pointless.
The
chance of you loosing data is about equal.

Soft-updates has nothing to do with this, its more of a journaling method.
It isnt actually journaling as it should be, but one has to weigh up the
pros/cons
of the soft-updates method.

There are a few articles about this on freebsd.org; I have no links though.

Feel free to comment anyone, as I feel there is a general lack of knowledge
as to the correct file system and what to enable / disable.

        (I speak for myself - as I know very little of it)

Dave.
OpteqSec.

----- Original Message -----
From: "Aaron Seelye" <AaronS@et-n-m.com>
To: <squid-users@squid-cache.org>
Sent: Thursday, December 20, 2001 1:06 AM
Subject: RE: [squid-users] FreeBSD :Diskd ? (WAS: Compile Crash)

> This may be a bit off-topic, but for the BSDs, soft-updates is *highly*
> preferred over async, as it's neck-and-neck in speed, and guarantees state
> of the drive.
>
> Aaron
>
> > -----Original Message-----
> > From: Dave Raven [mailto:dave@reason.za.org]
> > Sent: Wednesday, December 19, 2001 12:10 PM
> > To: Henrik Nordstrom; squid-users@squid-cache.org
> > Subject: Re: [squid-users] FreeBSD :Diskd ? (WAS: Compile Crash)
> >
> >
> > Thanks Henrik,
> >
> > Thats something I've been interested in, but never sure of.
> > What advantages might diskd have?
> >
> > I use one cache drive:
> > from mount:
> > /dev/ad1s1e on /mnt/cache (ufs, local, noatime, noexec, nosuid,
> > soft-updates)
> >
> > from fstab:
> > /dev/ad1s1e /mnt/cache ufs rw,noexec,nosuid,async,noatime
> > 2 2
> >
> > I run aufs with squid (obviously). What might I need to
> > change to switch to
> > diskd?
> > And how would it be faster?
> >
> > Any reading material or suggestions on what others have found would be
> > welcome.
> >
> >
> > TIA
> > Dave
> > OpteqSec.
> >
> >
>
Received on Thu Dec 20 2001 - 13:03:51 MST

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