Linux and the Desktop Pentium M: Uncommon Performance
- Posted in
- Linux
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.

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

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

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