From owner-freebsd-performance@FreeBSD.ORG Mon Jun 16 18:48:40 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 8D84F37B401 for ; Mon, 16 Jun 2003 18:48:40 -0700 (PDT) Received: from irc.dagupan.com (irc.dagupan.com [202.91.161.246]) by mx1.FreeBSD.org (Postfix) with ESMTP id BAE8C43F93 for ; Mon, 16 Jun 2003 18:48:39 -0700 (PDT) (envelope-from francisv-sender-88cbb0@irc.dagupan.com) Received: by irc.dagupan.com (Postfix, from userid 1022) id 8FF5DA7; Tue, 17 Jun 2003 09:48:38 +0800 (PHT) Received: from irc.dagupan.com (localhost [127.0.0.1]) by irc.dagupan.com (Postfix) with ESMTP id 775E3A1 for ; Tue, 17 Jun 2003 09:48:37 +0800 (PHT) Received: from hopper (hopper.dagupan.com [202.91.161.143]) by irc.dagupan.com (tmda-ofmipd) with ESMTP; Tue, 17 Jun 2003 09:48:35 +0800 (PHT) To: Date: Tue, 17 Jun 2003 09:48:33 +0800 X-Mailer: Microsoft Outlook, Build 11.0.4920 Thread-Index: AcM0cjH17PQ0JADoSeypiT/1awP9PgAAFY6Q X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 From: Francis Vidal Message-ID: <1055814517.52509.TMDA@irc.dagupan.com> X-Delivery-Agent: TMDA/0.80 (Determine) X-Spam-Status: No, hits=0.3 required=5.5 tests=FROM_HAS_MIXED_NUMS version=2.50-cvs X-Spam-Level: X-Sanitizer: Secured by Bitstop Network Services MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Xeon with 4GB of RAM running Squid X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Francis Vidal List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jun 2003 01:48:40 -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