Re: Async I/O problems?

From: David J N Begley <david@dont-contact.us>
Date: Fri, 31 Dec 1999 17:45:01 +1100 (EST)

Earlier today, Jati Setiawan wrote:

> I have this in my cache.log, which NUMTHREADS value should I increase?
[...]
> ...aio_queue_request: Perhaps you should increase NUMTHREADS

To do this I define NUMTHREADS as part of customised CFLAGS prior to running
configure when building Squid for the first time:

% setenv CFLAGS="-DNUMTHREADS=96 [...other local flags here...]"
% ./configure --enable-async-io [...other params...]

As to what value you should use for NUMTHREADS, that really depends on your
system; the default for 2.2.STABLE5 is 16 which turned out to be too low for
me (as was 32 - I jumped to 96 without trying anything in-between, and that
appears to have solved things for me).

Cheers..

dave
Received on Thu Dec 30 1999 - 23:54:28 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:50:08 MST