Re: [squid-users] Squid --enable-async-io

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Wed, 30 May 2007 20:05:30 +0200

ons 2007-05-30 klockan 07:31 -0400 skrev Juan C. Crespo R.:
> Hi, does anyone know whats the Default value of --enable-async-io and
> what should be the maximum value?

The default number of threads is dependent on the number of aufs
cache_dir lines, based on a reasonable estimate of how the code behaves.

Squid-2:

1: 16
2: 26
3: 32
4: 36
5: 40
6: 44
[and so on with + 4 more per cache_dir]

In Squid-3 the default table looks a little different, with 16 threads
per cache_dir configured (even if not aufs).

There is no absolute maximum, but going above 60 or so will probably
result in reduced performance with a lot of wasted CPU time.

Regards
Henrik

Received on Wed May 30 2007 - 12:05:37 MDT

This archive was generated by hypermail pre-2.1.9 : Fri Jun 01 2007 - 12:00:05 MDT