I would say that with that much traffic first thing you don't want to do is cache anything to the disk. Get a couple of gigabytes of memory, use as few ACLs as possible, cache dns for squid on the same machine, but don't use it as dns server for others, setup a logging server or disable logging, disable everything the requires extra processing.
On Sun, 23 Mar 2003, L. Jankok wrote: > Hi folks, > > Having to migrate a proxy server from a ultra sparc (u10) to > FreeBSD I am looking for the appropriate kernel tuneables. > The new system will run FreeBSD 4.7 Stable on a SMP machine > with two very fast scsi disks and 1 1/2 GB of RAM. > > I did a man tuning, read the relevant sections on the freebsd handbook > searched google and looked at the faq at www.squid-cache.org. > > This is what I have so far; > > kern.maxfiles: == 65536 > kern.maxfilesperproc: == 32768 > kern.ipc.somaxconn: == 8192 > kern.ipc.nmbclusters: == 131072 > net.inet.ip.portrange.last: == 30000 > net.inet.tcp.sendspace: == 65535 > net.inet.tcp.recvspace: == 65535 > net.inet.tcp.delayed_ack: == 0 > net.inet.udp.maxdgram: == 57344 > net.inet.udp.recvspace: == 65535 > kern.ipc.shm_use_phys: == 1 > vfs.write_behind: == shouldn't this be turned off for web cache > systems ? > kern.ipc.shm_use_phys: == ok <set explicitely, no undesirable > overhead> > vfs.vmiodirenable: == ok <set explicitely, cache as much directories > as you can> > > For diskd the FAQ on www.squid-cache.org is clear about the kernel tuneables. > It is the above settings which I want to know more about. > > > My question to the list is as follows; > > Are there any kernel tuneables paramater above which are set wrong or which are plain > irrelevant for a high performance http proxy server on FreeBSD ? and are there any > relevant > parameters (besides that for diskd) which are not included in the above list ? > The system will be a dedicated http proxy server processing approximately 236 GB a > month > and like 216426 request per hour. > > > tnx, > > Lucio Jankok > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message