From owner-freebsd-performance@FreeBSD.ORG Fri May 19 08:03:08 2006 Return-Path: X-Original-To: freebsd-performance@freebsd.org 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 6E68F16A441 for ; Fri, 19 May 2006 08:03:08 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id D63DC43D46 for ; Fri, 19 May 2006 08:03:07 +0000 (GMT) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id 5FAB146D4C; Fri, 19 May 2006 04:03:07 -0400 (EDT) Date: Fri, 19 May 2006 09:03:07 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: Vlad GALU In-Reply-To: <79722fad0605182319o2eefa538i8505631f8802d5d@mail.gmail.com> Message-ID: <20060519090031.F49041@fledge.watson.org> References: <446CCE1C.1050200@fer.hr> <446CD873.9080903@stevehodgson.co.uk> <446CE6CE.50009@fer.hr> <79722fad0605182319o2eefa538i8505631f8802d5d@mail.gmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-performance@freebsd.org Subject: Re: (Another) simple benchmark X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 May 2006 08:03:08 -0000 On Fri, 19 May 2006, Vlad GALU wrote: > On 5/19/06, Chad Leigh -- Shire.Net LLC wrote: >> >> On May 18, 2006, at 3:27 PM, Ivan Voras wrote: >> >> > >> > Using lighttpd or ab on other host is not really applicable - I >> > wasn't trying to configure the box for production, only ran the >> > benchmarks out of curiosity. Apache *should* work ok out of the box >> > on FreeBSD :) >> > (btw. apache was installed from binary package) >> >> You were not testing apache. You were testing apache and ab. It very well >> could be that ab is the culprit, not apache. We'll never know unless you >> can retest with ab on another box. > > Still, the fact that a simple program, regardless of its nature, runs a lot > faster on Linux than it does on FreeBSD is a problem, isn't it ? I don't think anyone is debating the simple output of the benchmark, what's being asked for is an exploration of the source of the problem. By placing ab on a second machine with a static configuration taretting an apache box with a variable configuration, we can explore whether it's the cost of web serving that is having problems or the cost of running the benchmark and the web server that is having problems. We can also more easily profile the behavior of the individual applications. When it comes to figuring out the cause and properly understanding the benchmark results, there's a big difference between "ab runs 40% slower" and "apache runs 40% slower". Robert N M Watson