Re: Advice: for a U450

From: Thilo Manske <Thilo.Manske@dont-contact.us>
Date: Thu, 20 May 1999 02:49:52 +0200

On Wed, May 19, 1999 at 05:11:39PM -0600, Randall Badilla Castro wrote:
> I'm using a Sun 450 Entreprise server machine with 128 MB ram, 2
> GB for squid and a 100 MB FastEthernet Nic directly connected to our
> 10/100 3com Switch. This machine don't use the swap partition, but I want
> to increase the responsiness of the machine. (explaining: the machine is
> hited by ~1000 machines... so the disk is always pumping) I want to know
> what can improve the machine another 128MB of ram of a second processor
> just to bound it to the squid process. I need your advice since the memory
If disk i/o is the bottleneck more RAM or cpu power won't help you much.

My advise: Get additional harddiscs (2GB of webcache is quite small IMHO)
with small accesstimes (maybe those 10000rpm'ers) and put single cache_dirs
on each of them (don't do striping/raid).
Maybe even a second Controller is an idea.

Mount the drives asynchronous with "noatime" option (if possible).
Put the logdir on a disk without cachedir, e.g. your "bootdisk" with all your
binaries.

Make sure the vnode/namei-cache is big enough for all subdirs in your
cache_dirs. (sysctl -w kern.maxvnodes= on BSDish systems.) <- this is my
idea, I'm not sure if it's a really good one :-)

BTW: How fast is your uplink?
Is squid the only "big" service this machine is running?

-- 
Dies ist Thilos Unix Signature! Viel Spass damit.
Received on Wed May 19 1999 - 18:50:27 MDT

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