From owner-freebsd-performance@FreeBSD.ORG Sat Mar 12 15:44:07 2005 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 40F5E16A4CE for ; Sat, 12 Mar 2005 15:44:07 +0000 (GMT) Received: from cyrus.watson.org (cyrus.watson.org [204.156.12.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id C54AA43D31 for ; Sat, 12 Mar 2005 15:44:06 +0000 (GMT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by cyrus.watson.org (Postfix) with SMTP id 6499D46B9C; Sat, 12 Mar 2005 10:44:06 -0500 (EST) Date: Sat, 12 Mar 2005 15:41:40 +0000 (GMT) From: Robert Watson X-Sender: robert@fledge.watson.org To: ray@redshift.com In-Reply-To: <3.0.1.32.20050310180051.00a7e908@pop.redshift.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-performance@freebsd.org Subject: Re: performance modifications 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: Sat, 12 Mar 2005 15:44:07 -0000 On Thu, 10 Mar 2005 ray@redshift.com wrote: > I'm wondering if anyone on the list has a good source for the major > sysctl settings and/or kernel settings that can be modified in order to > bring up the performance level on a FreeBSD 5.3 machine that is used > with apache under heavy load. The first thing you want to do is to try to identify what factors are bounding the performance of your box. A good way to start is by using the "systat -vmstat 1" command, which will show you statistics snapshots on various kernel performance characteristics. Among other things, this will tell you where the majority of CPU time is being spent (system, interrupt, user process, idle, etc), as well as interrupt loads, I/O loads, whether the system is paging/swapping, and so on. This might help point at whether you're hitting limits on processor or memory resources, disk resources, and so on. A few snapshots of that would be helpful. Robert N M Watson > > I've done all the common stuff: > > recompiled the kernel and stripped out unused drivers > strip -s kernel file > maxusers -> 256 > net.inet.tcp.recvspace=65535 > net.inet.tcp.sendspace=65535 > kern.ipc.somaxconn=1024 > > But I'm wondering if there are other areas (such as hard drive r/w buffers in > the kernel and/or memory allocation) that can be readily increased that will > have a positive impact which I am over looking. > > Any other areas I should be looking at and/or any ideas? > > Thanks! > > Ray > > > > _______________________________________________ > freebsd-performance@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-performance > To unsubscribe, send any mail to "freebsd-performance-unsubscribe@freebsd.org" >