Re: solaris 7 & squid

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Fri, 10 Dec 1999 02:32:15 +0100

Pauline van Winsen wrote:

> the cache filesystems are mounted with the "noatime" option. /etc/vfstab
> entries for cache filesystems look like so:
> /dev/md/dsk/d3 /dev/md/rdsk/d3 /var/cache1 ufs 2 yes noatime

I think you will find slightly better performance if you also enable
logging on your UFS filesystems, but I have not studied Solaris 7 UFS
logging in detail.. Comments on Solaris 7 logging UFS welcome.

> in /etc/nscd.conf:
> suggested-size hosts 1001
> this figure was found after numerous looks at the output of 'nscd -g'.
> nscd hit rate is generally around 99%.

Unless they have changed nscd to a multithreaded implementation in
Solaris 7, it will be a performance killer for DNS lookups. Problem with
most nscd implementations is that is is single threaded which means that
if one DNS lookup takes a lot of time (not to uncommon on Internet
lookups) then all lookups are blocked until that completes. In Squid
terms is is effectively the same as running with only one dnsserver
slave process.

> there is also a caching bind-8.2.2-P5 named running on the host.
> some sources of info say this is not an ideal config for squid,
> but it's necessary in this situation to handle both internet &
> intranet dns lookups.

Squid and named happily coexists on the same host, provied you have the
memory to host both. It is all a matter of resource control.

--
Henrik Nordstrom
Squid hacker
Received on Thu Dec 09 1999 - 18:41:18 MST

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