Compute: The Real Reason for GCN

Moving on from our game tests we’ve now reached the compute benchmark segment of our review. While the gaming performance of the 7970 will have the most immediate ramifications for AMD and the product, it is the compute performance that I believe is the more important metric in the long run. GCN is both a gaming and a compute architecture, and while its gaming pedigree is well defined its real-world compute capabilities still need to be exposed.

With that said, we’re going to open up this section with a rather straightforward statement: the current selection of compute applications for AMD GPUs is extremely poor. This is especially true for anything that would be suitable as a benchmark. Perhaps this is because developers ignored Evergreen and Northern Islands due to their low compute performance, or perhaps this is because developers still haven’t warmed up to OpenCL, but here at the tail end of 2011 there just aren’t very many applications that can make meaningful use of the pure compute capabilities of AMD’s GPUs.

Aggravating this some is that of the applications that can use AMD’s compute capabilities, some of the most popular ones among them have been hand-tuned for AMD’s previous architectures to the point that they simply will not run on Tahiti right now. Folding@Home, FLACC, and a few other candidates we looked into for use as compute benchmarks all fall under this umbrella, and as a result we only have a limited toolset to work with for proving the compute performance of GCN.

So with that out of the way, let’s get started.

Since we just ended with Civilization V as a gaming benchmark, let’s start with Civilization V as a compute benchmark. We’ve seen Civilization V’s performance skyrocket on 7970 and we’ve theorized that it’s due to improvements in compute shader performance, and now we have a chance to prove it.

Compute: Civilization V

And there’s our proof. Compared to the 6970, the 7970’s performance on this benchmark has jumped up by 58%, and even the previously leading GTX 580 is now beneath the 7970 by 12%. GCN’s compute ambitions are clearly paying off, and in the case of Civilization V it’s even enough to dethrone NVIDIA entirely. If you’re AMD there’s not much more you can ask for.

Our next benchmark is SmallLuxGPU, the GPU ray tracing branch of the open source LuxRender renderer. We’re now using a development build from the version 2.0 branch, and we’ve moved on to a more complex scene that hopefully will provide a greater challenge to our GPUs.

Compute: SmallLuxGPU 2.0d4

Again the 7970 does incredibly well here compared to AMD’s past architectures. AMD already did rather well here even with the limited compute performance of their VLIW4 architecture, and with GCN AMD once again puts their old architectures to shame, and puts NVIDIA to shame too in the process. Among single-GPU cards the GTX 580 is the closest competitor and even then the 7970 leads it by 72%. The story is much the same for the 7970 versus the 6970, where the 7970 leads by 74%. If AMD can continue to deliver on performance gains like these, the GCN is going to be a formidable force in the HPC market when it eventually makes its way there.

For our next benchmark we’re once again looking at compute shader performance, this time through the Fluid simulation sample in the DirectX SDK. This program simulates the motion and interactions of a 16k particle fluid using a compute shader, with a choice of several different algorithms. In this case we’re using two of them: a highly optimized grid search that Microsoft based on an earlier CUDA implementation, and an (O)n^2 nearest neighbor method that is optimized by using shared memory to cache data.

Compute: DirectX11 Compute Shader Fluid Simulation

There are many things we can gather from this data, but let’s address the most important conclusions first. Regardless of the algorithm used, AMD’s VLIW4 and VLIW5 architectures had relatively poor performance in this simulation; NVIDIA meanwhile has strong performance with the grid search algorithm, but more limited performance with the shared memory algorithm. 7970 consequently manages to blow away the 6970 in all cases, and while it can’t beat the GTX 580 at the grid search algorithm it is 45% faster than the GTX 580 with the shared memory algorithm.

With GCN AMD put a lot of effort into compute performance, not only with respect to their shader/compute hardware, but with the caches and shared memory to feed that hardware. I don’t believe we have enough data to say anything definitive about how Tahiti/GCN’s cache compares to Fermi’s cache, this benchmark does raise the possibility that GCN cache design is better suited for less than optimal brute force algorithms. In which case what this means for AMD could be huge, as it could open up new HPC market opportunities for them that NVIDIA could never access, and certainly it could help AMD steal market share from NVIDIA.

Moving on to our final two benchmarks, we’ve gone spelunking through AMD’s OpenCL archive to dig up a couple more compute scenarios to use to evaluate GCN. The first of these is AESEncryptDecrypt, an OpenCL AES encryption routine that AES encrypts/decrypts an 8K x 8K pixel square image file. The results of this benchmark are the average time to encrypt the image over a number of iterations of the AES cypher.

Compute: AESEncryptDecrypt

We went into the AMD OpenCL sample archives knowing that the projects in it were likely already well suited for AMD’s previous architectures, and there is definitely a degree of that in our results. The 6970 already performs decently in this benchmark and ultimately the GTX 580 is the top competitor. However the 7970 still manages to improve on the 6970 by a sizable degree, and accomplishes this encryption task in only 65% the time. Meanwhile compared to the GTX 580 it trails by roughly 12%, which shows that if nothing else Fermi and GCN are going to have their own architectural strengths and weaknesses, although there’s obviously some room for improvement.

One interesting fact we gathered from this compute benchmark is that it benefitted from the increase in bandwidth offered by PCI Express 3.0. With PCIe 3.0 the 7970 improves by about 10%, showcasing just how important transport bandwidth is for some compute tasks. Ultimately we’ll reach a point where even games will be able to take full advantage of PCIe 3.0, but for right now it’s the compute uses that will benefit the most.

Our final benchmark also comes from the AMD OpenCL archives, and it’s a variant of the Monte Carlo method implemented in OpenCL. Here we’re timing how long it takes to execute a 400 step simulation.

Compute: MonteCarloAsian

For our final benchmark the 7970 once again takes the lead. The rest of the Radeon pack is close behind so GCN isn’t providing an immense benefit here, but AMD still improves upon the 6970 by 14%. Meanwhile the lead over the GTX 580 is larger at 33%.

Ultimately from these benchmarks it’s clear that AMD is capable of delivering on at least some of the theoretical potential for compute performance that GCN brings to the table. Not unlike gaming performance this is often going to depend on the task at hand, but the performance here proves that in the right scenario Tahiti is a very capable compute GPU. Will it be enough to make a run at NVIDIA’s domination with Tesla? At this point it’s too early to tell, but the potential is there, which is much more than we could say about VLIW4.

Civilization V Theoreticals & Tessellation
Comments Locked

292 Comments

View All Comments

  • haukionkannel - Thursday, December 22, 2011 - link

    Well, 7970 and other GCN based new cards are not so much driver depended as those older radeons. So the improvements are not going to be so great, but surely there will be some! So the gap between 580 or 6970 vs 7970 is going to be wider, but do not expect as big steps as 6970 got via new sets of drivers.
  • Ryan Smith - Thursday, December 22, 2011 - link

    This is actually an excellent point. Drivers will still play a big part in performance, but with GCN the shader compiler in particular is now no longer the end all and be all of shader performance as the CUs can do their own scheduling.
  • CeriseCogburn - Thursday, March 8, 2012 - link

    I hate to say it but once you implement a 10% IQ cheat, it's though to do it again and get away with it again in stock drivers.
    I see the 797x has finally got something to control the excessive shimmering... that's about 5 years of fail finally contained...that I've more or less been told to ignore.... until the 100+ gig zip download here... to prove amd has at least finally dealt with one IQ epic fail... (of course all the reviewers claim there are no differences all the time - after pointing out the 10% cheat, then forgetting about it, having the shimmer, then "not noticing it in game" - etc).
    I'm just GLAD amd finally did something about that particular one of their problems.
    Halleluiah !
    Now some PhysX (fine bullet or open cl but for pete sakes nvidia is also ahead on both of those!) and AA working even when cranking it to 4X plus would be great... hopefully their new arch CAN DO.
    If I get a couple 7970's am I going to regret it is my question - how much still doesn't work and or is inferior to nvidia... I guess I'll learn to ignore it all.
  • IceDread - Thursday, December 22, 2011 - link

    It's a good card, but for me it's not worth it to upgrade from a 5970 to a 7970. Looks like that would be about the same performance.
  • Scali - Thursday, December 22, 2011 - link

    This is exactly the reason why I made Endless City available for Radeons:
    http://scalibq.wordpress.com/2010/11/25/running-nv...

    Could you run it and give some framerate numbers with FRAPS or such?
  • Boissez - Thursday, December 22, 2011 - link

    What many seem to be missing is that it is actually CHEAPER than the current street prices on the 3GB-equiped GTX 580. IOW it offers superior performance, features, thermals, etc. at a lower price than current gen at a lower price.

    What AMD should do is get a 1.5 GB model out @450$ ASAP.
  • SlyNine - Thursday, December 22, 2011 - link

    Looks like I'll be sticking with my 5870. I upgraded from 2 8800GT's ( that in SLI never functioned quite right because they were hitting over 100C ever with after market HSF) and enjoyed over 2x the performance.

    When I upgraded from a 1900XT to the 8800GT's same thing, 800XT-1900XT, 9700pro - 800XT, 4200(nvidia)-9700pro. The list goes on to my first Geforce 256 card.

    Whats the point, My 5870 is 2! generations behind the 7970 yet this would be the worst $per increase in performance yet. Bummer I really want something to drive a new 120hz monitor, if I ever get one. But then thats kinda dependent on whether or not a single GPU can push it.
  • Finally - Thursday, December 22, 2011 - link

    Since when do top-of-the-line cards give you the best FPS/$?
    For the last few months the HD6870+HD6850 were leading all those comparisons by quite some margin. The DH7970 will not change that.
  • SlyNine - Thursday, December 22, 2011 - link

    If you read my post, you will notice that I'm compairing it to the improvments I have paid for in the past.

    40-60% Better than a 2 YO 5870 Is much worse than I have seen so far. Considering that its not just one generation but 2 generations beyond and for 500+$ to boot. This is the worst upgrade for the cost I have seen.....
  • SlyNine - Thursday, December 22, 2011 - link

    The 6870 would not lead the cost per upgrade in performance at all, It would be in the negitives for me.

Log in

Don't have an account? Sign up now