Re: squid on MP machines

From: Dave Zarzycki <zarzycki@dont-contact.us>
Date: Wed, 2 Jul 97 20:27:28 -0700

>> Does squid take advantage of multiple processors if they are available?
>
>Not really, although 2 CPUs do mean that squid can just sit on one, and
>the other can handle ftpget/dnsserver/the rest of the operating system.

Well in that case, can multiple squid processes share a cache directory?
I would imagine there would be problems with locks on files, etc. Could
this be solved by a master/slave relationship, or a separate program for
managing the cache? This would have other applications too, such as
several machines hooked up to a large cache via SSA, or FireWire.

I suppose that I could customize my proxy auto config file and squid.conf
file to specify something such as the following for a MP machine:

2 Processors
2 squid processes
One ip_alias entry for a card to make life pretty

squid A: 192.168.1.10/3128/3120 .com /cache_dir_dot_com
squid B: 192.168.1.11/3128/3120 !.com /cache_dir_other

If I remember correctly from a web page I saw, about half of proxy
traffic is directed to .com addresses.

davez

-------------------------------------------------------------
Dave Zarzycki Student
Workgroup Server QA Tester San Jose State University
Apple Computer, Inc. zarzycki@ricochet.net
zarzycki@apple.com dave@zarzycki.ml.org
Received on Wed Jul 02 1997 - 20:29:57 MDT

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