From owner-freebsd-performance@FreeBSD.ORG Fri Mar 11 08:10:52 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 C7DEA16A4CE for ; Fri, 11 Mar 2005 08:10:52 +0000 (GMT) Received: from web26809.mail.ukl.yahoo.com (web26809.mail.ukl.yahoo.com [217.146.176.85]) by mx1.FreeBSD.org (Postfix) with SMTP id D42AB43D39 for ; Fri, 11 Mar 2005 08:10:51 +0000 (GMT) (envelope-from cguttesen@yahoo.dk) Received: (qmail 68376 invoked by uid 60001); 11 Mar 2005 08:10:51 -0000 Message-ID: <20050311081051.68374.qmail@web26809.mail.ukl.yahoo.com> Received: from [194.248.174.58] by web26809.mail.ukl.yahoo.com via HTTP; Fri, 11 Mar 2005 09:10:50 CET Date: Fri, 11 Mar 2005 09:10:50 +0100 (CET) From: Claus Guttesen To: ray@redshift.com, freebsd-performance@freebsd.org In-Reply-To: 6667 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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: Fri, 11 Mar 2005 08:10:52 -0000 > 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. > > I've done all the common stuff: > > recompiled the kernel and stripped out unused > drivers Did you try options ACCEPT_FILTER_DATA options ACCEPT_FILTER_HTTP in your kernel? These options makes FreeBSD do the 3way-handshake rather than apache. The usual KeepAlive Off in /usr/local/etc/apache/httpd.conf and MaxClients xyz in same file. Max-clients is computed by 'avail. ram / size of one process', where you need to leave some room for kernel, buffers etc. in avail. ram. regards Claus