Re: [squid-users] squid for multiple-cpu hardware ? (SUN)

From: Joe Cooper <[email protected]>
Date: Mon, 11 Nov 2002 08:53:18 -0600

Jungmann, Michael wrote:

> Hello,
>
> is squid designed for multiple processor use ?

Not particularly.

> How to enable this ? (Hardware Sun R220)

Get out your favorite editor and C compiler, perhaps?

In the short term, you can take small advantage of the other CPUs by
using DiskD or AUFS to start up disk processes or threads. This barely
makes a dent in the CPU requirement of the Squid main process, however,
and the SMP overhead can be detrimental in other ways...Overall, it is
better to use a faster single CPU.

If you really need to take advantage of the extra CPUs, you can run
multiple Squid instances. You'll need different config files, different
PIDs, different logs, and different cache_dirs, and some way to split
the traffic between the two processes.

-- 
Joe Cooper <joe@swelltech.com>
Web caching appliances and support.
http://www.swelltech.com
Received on Mon Nov 11 2002 - 07:53:19 MST

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