Archive 1997–2024

Sun's W2100z Dual Opteron Workstation


Encoding Benchmarks

Lame 3.96.1 (GCC 3.4.2)

No workstation roundup would be complete without at least a few simple encoding tests. Below, we have some content creation programs that we would commonly use in intensive workstation applications. We start off with lame 3.96.1, the de facto Linux MP3 encoder. The command to run our benchmark with a 700MB file is:

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

Lame 3.96.1

We use the same .wav sample file from our previous CPU benchmarks. It's important to note that lame is not multithreaded; it only utilizes one CPU at a time. We attempted to use BladeEnc and the MPI/LAM infrastructure to utilize both CPUs during the encoding, but we actually ended up with poorer performance going from one CPU to two.

Gzip 1.3.5 (Binary)

We took the same 700MB file from the lame encoding test and compressed it using gzip using the following command.

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

gzip 1.3.3

Again, you can see how gzip performed in our previous Linux CPU roundup. Even though we use the same test file, our other Athlon 64 2.4GHz components perform slightly better. There are two main reasons for this: gzip is not a multithreaded compression utility and we receive a performance hit from the SMP kernel, and unbuffered memory on the Socket 939 runs slightly faster.

mgzip 1.2b (GCC 3.4.2)

Using an SMP implementation of gzip called mgzip, we were able to achieve much faster compression times. By default, we expect mgzip to utilize both CPUs. The command used is below:

# time mgzip 01.wav -c > /dev/null

mgzip multiple threads

When we increased the thread count, we actually achieved even better performance (approximately 27 seconds when specifying 4 threads). By contrast, you can see that the program performs very similarly to gzip when only utilizing one thread (and thus, 1 CPU).

# time mgzip -c -t 1 01.wav >/dev/null

mgzip single thread

MEncoder 1.0pre5

Finally, we have also included a quick sample of our MPEG2 encoding benchmark. MEncoder 1.0pre5 is part of the MPlayer package and was compiled using GCC 3.4.2 using default flags.

md5sum

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