Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Mar 2002 22:01:47 -0500
From:      Brian T.Schellenberger <bts@babbleon.org>
To:        "Martin Ankerl" <martinankerl@web.de>, "BOUWSMA Beery" <freebsd-user@netscum.dyndns.dk>
Cc:        <hackers@FreeBSD.ORG>
Subject:   Re: Performance of FreeBSD vs NetBSD (was: Re: Performance of -current vs -stable)
Message-ID:  <20020311030148.47DA7BB35@i8k.babbleon.org>
In-Reply-To: <002e01c1c88c$e209bc30$df02110a@klumpert>
References:  <200203102005.g2AK5SN99334@beerswilling.netscum.dyndns.dk> <002e01c1c88c$e209bc30$df02110a@klumpert>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 10 March 2002 06:39 pm, Martin Ankerl wrote:
| > > Hmmm, a few weeks ago I did some totally unscientific testing, noting
| > > that -current was much slower than -stable, by playing an mp3 with an
| >
| > [...]
| >
| > > explain why FreeBSD's mpg123 takes ~60% CPU and NetBSD's ~30% (vs the
| > > ~90+% usage by -current)...
|
| from http://www.mpg123.de:
|
| --------------
| The benchmarking lie?
| Let's write a few notes about benchmarking the different mp3 decoders,
| which are available. 'top' is NOT a benchmark, it's a simple check on how a
| program performs. The sad thing with 'top' (or better the linux kernel) is,
| that it has some problems with the measurement of threaded programs or
| programs only requesting short chunks of processor time. One real test is
| to measure how long your machine needs to decode a stream without threads
| with 100% CPU. Using mpg123 you can do this with
|
| time mpg123 -t mp3stream.mp3
| or
| time mpg123 -s mp3stream.mp3 > /dev/null
|
| if you additionally want to measure the I/O time. If you find a player,
| which claims to be 10 or even more times faster than the current players:
| just don't believe it. A factor of 2 MAY BE possible

Let's not be too quick to defend FreeBSD's "honor" when people ask questions 
like this.

He stated, if you read the entire mail that he could do multiple tasks while 
listening to musc under NetBSD but not under FreeBSD.  This isn't a 
benchmarking lie, or measurement anomoly or anything--it's a problem.  The 
figures he posted are what he found when he went to figure out what was going 
on.

FWIW, I listten to music and do other things all the time, but I have 512M of 
ram and a 900MHz CPU, and I'm guessng he doesn't.

I also don't listen to MP3s much, but  when I did they seemed to be less 
taxing that CDs (presumaby due to the i/o) rather than more.


| --------------
|
| Martin
|
|
|
|
| To Unsubscribe: send mail to majordomo@FreeBSD.org
| with "unsubscribe freebsd-hackers" in the body of the message

-- 
Brian T. Schellenberger . . . . . . .   bts@wnt.sas.com (work)
Brian, the man from Babble-On . . . .   bts@babbleon.org (personal)
                                ME -->  http://www.babbleon.org
http://www.eff.org   <-- GOOD GUYS -->  http://www.programming-freedom.org 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020311030148.47DA7BB35>