From owner-freebsd-performance@FreeBSD.ORG Thu Sep 25 13:33:42 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 A10C016A4B3 for ; Thu, 25 Sep 2003 13:33:42 -0700 (PDT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id A75E943FD7 for ; Thu, 25 Sep 2003 13:33:41 -0700 (PDT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.9/8.12.9) with ESMTP id h8PKXBgL063628; Thu, 25 Sep 2003 16:33:11 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)h8PKXAGc063604; Thu, 25 Sep 2003 16:33:10 -0400 (EDT) Date: Thu, 25 Sep 2003 16:33:09 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: John Straiton In-Reply-To: <00ab01c37884$17459c40$1916c60a@win2k.clickcom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-performance@freebsd.org cc: 'Eric Anderson' Subject: RE: Performance Problems.. Server hardware smoked by $500 box? 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: Thu, 25 Sep 2003 20:33:42 -0000 On Thu, 11 Sep 2003, John Straiton wrote: > (Production WEB now that it's using apache2. Since we're new to apache2, > it's gonna be certainly hokie) My understanding is that Apache2 is optimized to make extensive use of threads. On FreeBSD 5.x, the pthreads implementation (libkse) is substantially better than in 4.x, especially in SMP environments. In FreeBSD 4.x, I'm generally suggesting to people that they use Apach1 unless there are specific feature requirements that make Apache2 the only choice. On FreeBSD 5.x, I haven't really evaluated Apache2 behavior, but it could well come down to the threading issue, and may well be a lot faster than Apache1 when linked against the right threading library. This is all speculation of course, but it could be that differences in Apache version make up most of the performance difference you see. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories