Date: Sun, 23 Mar 2003 14:39:05 +0100 From: "L. Jankok" <lj@2u2.nu> To: freebsd-questions@FreeBSD.ORG Subject: squid performance and kernel tuneables Message-ID: <20030323133904.GA21593@atlantis.local.net>
next in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030323133904.GA21593>
