Re: [squid-users] What does storeClientCopyEvent mean?

From: Bin Liu <binliu.lqbn_at_gmail.com>
Date: Fri, 12 Dec 2008 12:33:24 +0800

Thank you very much for your reply!

> Which version of Squid are you using again?

I'm using the latest stable release:

# /usr/local/squid/sbin/squid -v
Squid Cache: Version 2.7.STABLE5
configure options: '--prefix=/usr/local/squid' '--with-pthreads'
'--with-aio' '--with-dl' '--with-large-files'
'--enable-storeio=ufs,aufs,diskd,coss,null'
'--with-coss-membuf-size=8388608' '--enable-removal-policies=lru,heap'
'--enable-htcp' '--enable-kill-parent-hack' '--enable-snmp'
'--enable-carp' '--disable-poll' '--disable-select' '--enable-kqueue'
'--disable-epoll' '--disable-ident-lookups' '--enable-stacktraces'
'--enable-cache-digests' '--enable-err-languages=English'

> I patched the latest
> Squid-2.HEAD with some aufs related fixes that reduce the amount of
> callback checking which is done.
>
> Uhm, check src/fs/aufs/store_asyncufs.h :
>
> /* Which operations to run async */
> #define ASYNC_OPEN 1
> #define ASYNC_CLOSE 0
> #define ASYNC_CREATE 1
> #define ASYNC_WRITE 0
> #define ASYNC_READ 1
>
> Thats by default on Squid-2.HEAD. I've just changed them all to be
> async under cacheboy-1.6 and this performs great under freebsd-7 +
> AUFS with my testing.
>
You mean what I should do is just changing 'ASYNC_CLOSE' and
'ASYNC_WRITE' from 0 to 1? OK, I'll have a try.

Thanks again.

Regards,
Liu
Received on Fri Dec 12 2008 - 04:33:31 MST

This archive was generated by hypermail 2.2.0 : Sat Dec 13 2008 - 12:00:01 MST