Re: [squid-users] number of threads

From: Florin Andrei <florin@dont-contact.us>
Date: 22 May 2001 17:53:56 -0700

On 22 May 2001 19:05:04 -0500, Joe Cooper wrote:
> I wouldn't recommend using async i/o with Squid 2.3.

What is the reason?

I saw in the docs that async-io is a good thing for a loaded proxy, and
my proxy goes to 100 requests / second.

Wouldn't be a performance drop without async-io for squid-2.3?

> And I also don't
> know that Irix is one of the supported platforms for Squid's async i/o
> implementation.

I just compiled squid-2.3 with async-io on Irix, i'm running some
Polygraph benchmarks on it, it's going up to 200 req / sec and it seems
to do fine (in the short amount of time since i started the tests). The
performance is about the same as with 2.4-diskd (very roughly).

> That said, yes...32 thread would be fine for 2 disks. Squid 2.4
> automatically configures 12 threads per disk, I think. It's probably
> wise to use 2.4 if you are going to use async i/o. But I don't know how
> it works under Irix.

I'm trying to avoid 2.4 because of the memory leaks. I did my best to
keep 2.4 on our production system, but it seems it's just too early to
use 2.4 on Irix, on a busy proxy.
See my previous message on the mailing list (sent today, subject "memory
leaks on squid-2.4").

-- 
Florin Andrei
"All operating systems suck.
Linux just sucks less" - an MIT guy
Received on Tue May 22 2001 - 18:54:06 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:00:14 MST