Re: [squid-users] Opinions sought on best storage type for FreeBSD

From: Tek Bahadur Limbu <teklimbu@dont-contact.us>
Date: Tue, 14 Aug 2007 14:30:32 +0545

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Mark,

On Tue, 14 Aug 2007 10:35:03 +1000
Mark Nottingham <mnot@yahoo-inc.com> wrote:

> FreeBSD and aufs was discussed a while back, IIRC, and the upshot was
> that for FreeBSD 6, it's useful (threads on 4 is a no-no). The
> lingering doubt in my mind was this bug: <http://www.freebsd.org/cgi/
> query-pr.cgi?pr=103127>, which appears to have been patched in 6.1-
> RELEASE-p5.
>
> So, in a nutshell, can it be safely said that aufs is stable and
> reasonably performant on FreeBSD >= 6.2, as long as the described
> thread configuration is performed?
>

So in a nutshell, you are saying that AUFS is quite stable in FreeBSD-6.2?

As Henrik mentioned, I will only need the following compilation options for using AUFS for squid:

'--enable-storeio=ufs,coss,diskd,aufs,null'

I don't need any extra compilations to use AUFS besides the above?

I also don't need to apply the patches regarding the "Kernel Panic" bug mentioned above in FreeBSD-6.2 right?

Is that correct?

Thanking you...

> Cheers,
>
>
> On 2007/08/11, at 7:36 PM, Henrik Nordstrom wrote:
>
> > On lör, 2007-08-11 at 15:10 +0545, Tek Bahadur Limbu wrote:
> >
> >> As far as I know and seen with my limited experience, diskd seems
> >> good
> >> for BSD boxes. But I guess I have to try other alternatives too.
> >>
> >> If I opt to use aufs, will the following compilations work?
> >>
> >> '--enable-async-io' '--with-pthreads'
> >
> > --enable-storeio=aufs
> >
> > pthreads is automatically enabled, so no need to specify that. Won't
> > hurt if you do however.
> >
> > If you are on FreeBSD then remember to configure FreeBSD to use kernel
> > threads for Squid or it won't work well. See another user response in
> > this thread.
> >
> > On Linux and Solaris you do not need to care about this as the default
> > posix threads implementations there supports kernel threads out of the
> > box.
> >
> >> --enable-async-io=40
> >
> > There is no --enable-async-io option any more. This was very long
> > ago..
> > Still understood as an alias for --enable-storeio=aufs and a few other
> > configure options however (see --help)
> >
> > You generally do not need to specify the amount of I/O threads. The
> > default selected by Squid based on your squid.conf is quite
> > reasonable.
> >
> > Regards
> > Henrik
>
> --
> Mark Nottingham mnot@yahoo-inc.com
>
>
>

- --

With best regards and good wishes,

Yours sincerely,

Tek Bahadur Limbu

(TAG/TDG Group)
Jwl Systems Department

Worldlink Communications Pvt. Ltd.

Jawalakhel, Nepal
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)

iD8DBQFGwWupfpE0pz+xqQQRAnugAKCWlpOy4i5OVLAII/jcPUbq85M6swCgjng6
paAp8WxxxnbQdIXISD5v7fQ=
=3d1/
-----END PGP SIGNATURE-----
Received on Tue Aug 14 2007 - 02:45:14 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Sep 01 2007 - 12:00:03 MDT