From owner-freebsd-performance@FreeBSD.ORG Fri Feb 4 09:56:33 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 157F816A4CF for ; Fri, 4 Feb 2005 09:56:33 +0000 (GMT) Received: from dekart.f.bg.ac.yu (dekart.f.bg.ac.yu [147.91.75.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 253BE43D45 for ; Fri, 4 Feb 2005 09:56:31 +0000 (GMT) (envelope-from random@beotel.yu) Received: from Dial-79.f.bg.ac.yu (Dial-79.f.bg.ac.yu [147.91.75.79]) by dekart.f.bg.ac.yu (8.11.6/8.11.6) with ESMTP id j149rLH01469 for ; Fri, 4 Feb 2005 10:53:22 +0100 From: Vladimir Vrzic To: freebsd-performance@freebsd.org Content-Type: text/plain Date: Fri, 04 Feb 2005 10:56:21 +0100 Message-Id: <1107510981.23035.17.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 Content-Transfer-Encoding: 7bit X-RAVMilter-Version: 8.4.1(snapshot 20020919) (dekart) Subject: Apache 2 on FreeBSD 5.3 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, 04 Feb 2005 09:56:33 -0000 On a FreeBSD 5.3 web server with a very high load, I recently switched from Apache 1.3 and PHP 4.3 to using 2.0 with the prefork MPM and PHP 5. I noticed a drop in perfomance. What is currently the best (in terms of performance) choice for Apache w/ PHP on FreeBSD? Which MPM should I use? Does worker MPM use KSE on FreeBSD 5 and does it perform better than prefork? What about perchild and threadpool? Or maybe I should go back to Apache 1.3? Are there any sysctl or kernel tunings that I should use? -- Vladimir Vrzic