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

2D Rendering Benchmarks Compile Benchmarks
Comments Locked

47 Comments

View All Comments

  • t - Thursday, October 28, 2004 - link

    oh... i better clarify before i get labelled as a 'zealot' or a 'mac hater' or a 'pc lover'

    by 'cache starved' i mean that the power4 is _very_ dependent upon its cache architecture, take some of that away and u of course impact performance... a power4 and a G5 at the same clockspeed, the power4 wins. The G5 is still an impressive chip.

    t.
  • t - Thursday, October 28, 2004 - link

    heh...this thread is hilarious...can u ppl like talk past each other some more?

    please :)

    G5 = cut down, somewhat cache starved power4
    Blue Gene/L = power4+

    they are a fair bit different: l3, l2, altivec, dual v. single core...just for a couple.
  • gromm - Wednesday, October 27, 2004 - link

    "and I'm sure that there's nothing special about the way the G5's were linked... "

    Actually, they have a communication network based on InfiniBand, which isn't something that you'd buy for home (especially considering how much it costs). The cards themselves are $200+ each (in quantities of 10,000 for the only price I could find for their HCA cards) and I can't even find how much the switches cost (I'm sure several thousand dollars each).
  • Reflex - Wednesday, October 27, 2004 - link

    Thanks for the correction, its been a while since I read up on that stuff. However you still illustrated my point that this is pretty much an irrelevant benchmark for general purpose computing. People do not simply use thier PC's for floating point performance...
  • slashbinslashbash - Wednesday, October 27, 2004 - link

    Reflex: "First off, once again, you are misunderstanding what you are looking at. Total number of CPU's is only part of the equation. There are *many* factors that go into the 'most powerful supercomputer' equation. How much memory and what type/speed? How are they linking the individual nodes? What kind of software optimizations have been done, and what software is being used to benchmark it?"

    Wrong. The top supercomputers are rated solely by FLOPS (Floating Point Operations Per Second, as I'm sure you know) as measured by the Linpack benchmark. See www.top500.org. I've never heard of memory having an impact on FLOPS; I guess it *could* if you absolutely starved the CPUs of work, but presumably all of these computers are balanced enough that the RAM can keep up with the CPUs. The nodes can be linked in any way; presumably they're linked optimally for price/performance, and I'm sure that there's nothing special about the way the G5's were linked... you don't build a supercomputing cluster and let the linking drag the performance down. As for the optimization question, I'm not sure but I'll bet Linpack is optimized for every platform/architecture.
  • Reflex - Wednesday, October 27, 2004 - link

    I have not been arguing about superiority for the PC platform. My point is that they are not directly comparable as related to this particuliar review. The product being reviewed does not have an equivilent on the Mac side of things, so going on about how this article proves that the 'price' arguement is wrong is rediculous.

    My original question has not been answered, and that is that I am wondering who is building these since I have an identical workstation here on my lab bench but with an IBM label on it.
  • karlreading - Wednesday, October 27, 2004 - link

    enuff of the mac vs. pc B$ dudes!!!
    this is a comments section about a opteron workstation, not about how a g5 spanks / get spanked by opterons ass.

    that said there is one part of this that gets me excited. Whilst coming across mac / pc arguments on forums, i have noticed one trend. AMD is now always the PC's defender. i never hear anybody citing the p4 / xeon as a mac comparison. its always opteron / a64 vs. g5. this is excellent news from AMD's standpoint, as it cements the trend that AMD is a respectable company, and also is impressive to see AMD as the lead PC saviour in the ongoing annoying "my pc's better than your mac " debate. Intel should be worried, very very worried. never thaught id see the day when my beloved AMD were championing the pc / x86 cause :)
  • gromm - Wednesday, October 27, 2004 - link

    As far as cost, I'd like to see how much Apple (and other sponsors) subsidized X. The networking infrastructure it has alone would normally be massively expensive and I can't see how it fits into the $10M pricetag quoted by them along with all compute hardware.

    From benchmarks I have run, the G5 and the Athlon64 are neck-to-neck in performance (actually the difference is small enough to be noise) in 'normal' codes (mostly FPU) and the Athlons are a little faster in integer performance. I haven't seen what Altivec/SSE2 optimizations would do for either.

    If you want some rough estimates, go to Ars Technica and look in the Battlefront forum under the Cinebench thread. There are lots of scores under there to compare for this benchmark (includes a raytracer and some other stuff).
  • michael2k - Wednesday, October 27, 2004 - link

    I'd like to see Anand run SpecViewPerf on his Dual G5, now :)
  • Reflex - Wednesday, October 27, 2004 - link

    I am aware of Apple's 'server' aspirations. That does not change anything at all. They do not have the kind of corporate support Sun or other large venders provide, and as a result the Xserve is not a large player in the market. Furthermore, its only proof that your comparing the wrong product to the Sun product this review was about. Xserve was designed to compete with workstations like this, not the PowerMac which is a desktop system.

    My comment about Sun relates to the fact that for a long time they were a detriment to the industry at a whole, pushing concepts like Java PC's with no local storage, trying to keep prices very high, and generally siding with 'Big Iron' in the market rather than embracing the future. In the past year, as Microsoft/Intel/AMD have made the Sparc obsolete they have had to get with the program, choosing AMD as their partner made perfect sense as they had no motivation to improve Intel's position considering they are still competing with them in some markets.

    In summation, Sun is finally seeing the light, however their past is one of high prices, legal shennanigans(especially in Europe where price fixing has been a common charge against them), and a strategy of defining themselves as Microsoft/Intel's opposition rather than charging their own course. The future will tell where they go, and I'll cross my fingers and hope that x86 Solaris and Opteron workstations are a sign that they are finally producing products their customers demand, rather than locking them into a model and then telling them what they need...

Log in

Don't have an account? Sign up now