(Another) simple benchmark

Robert Watson rwatson at FreeBSD.org
Fri May 19 08:03:08 UTC 2006

On Fri, 19 May 2006, Vlad GALU wrote:

> On 5/19/06, Chad Leigh -- Shire.Net LLC <chad at shire.net> 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

More information about the freebsd-performance mailing list