Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Mar 2002 00:39:54 +0100
From:      "Martin Ankerl" <martinankerl@web.de>
To:        "BOUWSMA Beery" <freebsd-user@dcf77-zeit.netscum.dyndns.dk>
Cc:        <hackers@FreeBSD.ORG>
Subject:   Re: Performance of FreeBSD vs NetBSD (was: Re: Performance of -current vs -stable)
Message-ID:  <002e01c1c88c$e209bc30$df02110a@klumpert>
References:  <200203102005.g2AK5SN99334@beerswilling.netscum.dyndns.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
> > 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
--------------

Martin




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?002e01c1c88c$e209bc30$df02110a>