Archive 1997–2024

Linux and the Desktop Pentium M: Uncommon Performance


Content Creation

Below, we compiled lame 3.96.1 without any additional optimizations and then used the following command on a 800mb .wav file.

# lame sample.wav - b 192 - m s - h - >/dev/null

The file is sent to stdout, which is then directed to /dev/null. We do not want the hard drive to throttle our mp3 encoding if possible, even if we are just immediately destroying it.

32-bit lame 3.96.1

Next, we used the SuSE 9.1 Pro i686 bzip2 and gzip RPMs for this portion of the analysis. We recompile both binaries from scratch later to illustrate the effect of the compiler optimizations. The 800MB test file from the lame benchmark above was compressed and then timed using the command below.

# time gzip -c sample.wav > /dev/null

32-bit GZip 1.3.5

We compiled MPlayer 1.0pre5 from source without any optimizations. The benchmark command that we ran is below:

# time mencoder sample.mpg -nosound -ovc lavc vcodec=mpeg4:vpass=2 -o sample.avi

32-bit MEncoder 1.0pre5

Originally published at https://www.anandtech.com/show/1576 (Wayback Machine).