From owner-freebsd-performance@FreeBSD.ORG Mon Jun 16 18:46:02 2003 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9037037B401 for ; Mon, 16 Jun 2003 18:46:02 -0700 (PDT) Received: from backup.dagupan.com (mailserver.dagupan.com [202.91.161.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4D30243F3F for ; Mon, 16 Jun 2003 18:46:01 -0700 (PDT) (envelope-from francisv@dagupan.com) Received: by mailserver.dagupan.com with Internet Mail Service (5.5.2656.59) id ; Tue, 17 Jun 2003 09:45:55 +0800 Message-ID: <10F29E27A956D511B0940050DA8D86A9084F14@mailserver.dagupan.com> From: francisv@dagupan.com To: freebsd-performance@freebsd.org Date: Tue, 17 Jun 2003 09:45:55 +0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2656.59) Content-Type: text/plain X-Mailman-Approved-At: Wed, 18 Jun 2003 10:39:50 -0700 Subject: Xeon with 4GB of RAM running Squid X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jun 2003 01:46:03 -0000 Hi, I have an Intel Xeon machine with 4GB of RAM on FreeBSD 4.7-RELEASE running Squid 2.5-STABLE2. Here's some of the parameters that I've tweaked: /etc/sysctl.conf: vm.v_free_min=131072 vm.v_free_target=262144 vm.f_free_reserved=32768 vm.v_free_severe=65536 kern.ps_showallprocs=0 vfs.vmiodirenable=1 kern.ipc.maxsockbuf=2097152 kern.ipc.somaxconn=8192 kern.ipc.maxsockets=16424 net.inet.tcp.rfc1323=1 net.inet.tcp.delayed_ack=0 net.inet.tcp.sendspace=65535 net.inet.tcp.recvspace=65535 net.inet.udp.recvspace=65535 net.inet.udp.maxdgram=57344 net.local.stream.recvspace=65535 net.local.stream.sendspace=65535 /boot/loader.conf: kern.ipc.maxsockets=32768 kern.ipc.nmbclusters=32768 kern.ipc.nmbufs=131072 kern.ipc.nsfbufs=6656 kern.ipc.shm_use_phys=1 kern.maxfiles=32768 kern.maxproc=8192 kern.maxswzone=33554432 kern.nbuf=16384 kern.ncallout=32768 kern.vm.kmem.size=268435456 kern.vm.pmap.shpgperproc=2048 net.inet.tcp.tcbhashsize=16384 Kernel configuration: machine i386 cpu I686_CPU ident SQUID1 maxusers 128 options MSGMNB=16384 options MSGMNI=41 options MSGSEG=2049 options MSGSSZ=64 options MSGTQL=512 options SHMSEG=16 options SHMMNI=32 options SHMMAX=2097152 options SHMALL=4096 options MAXDSIZ=(2048*1024*1024) options DFLDSIZ=(512*1024*1024) options CPU_ENABLE_SSE options UFS_DIRHASH options KVA_PAGES=512 The cache directory is using software RAID-0 (3 x 40GB 7,200RPM UDMA-6) with softupdates enabled. Any other pointers to utilize this machine's full potential? --- francis a. vidal [bitstop network services] | http://www.bnshosting.net streaming media + web hosting | http://www.bitstop.ph v(02)330-2871,(02)330-2872; f(02)330-2873 | http://www.kuro.ph