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?
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@xxxxxxxxxxxxx