From owner-freebsd-performance@FreeBSD.ORG Fri Mar 11 08:30:28 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 1F8B816A4CE for ; Fri, 11 Mar 2005 08:30:28 +0000 (GMT) Received: from silver.he.iki.fi (helenius.fi [193.64.42.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id 87F5743D2F for ; Fri, 11 Mar 2005 08:30:26 +0000 (GMT) (envelope-from pete@he.iki.fi) Received: from [193.64.42.134] (h86.vuokselantie10.fi [193.64.42.134]) by silver.he.iki.fi (8.13.1/8.11.4) with ESMTP id j2B8UOdK021574; Fri, 11 Mar 2005 10:30:24 +0200 (EET) (envelope-from pete@he.iki.fi) Message-ID: <4231572C.2030407@he.iki.fi> Date: Fri, 11 Mar 2005 10:30:36 +0200 From: Petri Helenius User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Claus Guttesen References: <20050311081051.68374.qmail@web26809.mail.ukl.yahoo.com> In-Reply-To: <20050311081051.68374.qmail@web26809.mail.ukl.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: ray@redshift.com 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: Fri, 11 Mar 2005 08:30:28 -0000 Claus Guttesen 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. >> >>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. > > > Does this need any modifications to apache? (installed from the port) Pete >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 > >_______________________________________________ >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" > >