More GDDR5 Technologies: Memory Error Detection & Temperature Compensation

As we previously mentioned, for Cypress AMD’s memory controllers have implemented a greater part of the GDDR5 specification. Beyond gaining the ability to use GDDR5’s power saving abilities, AMD has also been working on implementing features to allow their cards to reach higher memory clock speeds. Chief among these is support for GDDR5’s error detection capabilities.

One of the biggest problems in using a high-speed memory device like GDDR5 is that it requires a bus that’s both fast and fairly wide - properties that generally run counter to each other in designing a device bus. A single GDDR5 memory chip on the 5870 needs to connect to a bus that’s 32 bits wide and runs at base speed of 1.2GHz, which requires a bus that can meeting exceedingly precise tolerances. Adding to the challenge is that for a card like the 5870 with a 256-bit total memory bus, eight of these buses will be required, leading to more noise from adjoining buses and less room to work in.

Because of the difficulty in building such a bus, the memory bus has become the weak point for video cards using GDDR5. The GPU’s memory controller can do more and the memory chips themselves can do more, but the bus can’t keep up.

To combat this, GDDR5 memory controllers can perform basic error detection on both reads and writes by implementing a CRC-8 hash function. With this feature enabled, for each 64-bit data burst an 8-bit cyclic redundancy check hash (CRC-8) is transmitted via a set of four dedicated EDC pins. This CRC is then used to check the contents of the data burst, to determine whether any errors were introduced into the data burst during transmission.

The specific CRC function used in GDDR5 can detect 1-bit and 2-bit errors with 100% accuracy, with that accuracy falling with additional erroneous bits. This is due to the fact that the CRC function used can generate collisions, which means that the CRC of an erroneous data burst could match the proper CRC in an unlikely situation. But as the odds decrease for additional errors, the vast majority of errors should be limited to 1-bit and 2-bit errors.

Should an error be found, the GDDR5 controller will request a retransmission of the faulty data burst, and it will keep doing this until the data burst finally goes through correctly. A retransmission request is also used to re-train the GDDR5 link (once again taking advantage of fast link re-training) to correct any potential link problems brought about by changing environmental conditions. Note that this does not involve changing the clock speed of the GDDR5 (i.e. it does not step down in speed); rather it’s merely reinitializing the link. If the errors are due the bus being outright unable to perfectly handle the requested clock speed, errors will continue to happen and be caught. Keep this in mind as it will be important when we get to overclocking.

Finally, we should also note that this error detection scheme is only for detecting bus errors. Errors in the GDDR5 memory modules or errors in the memory controller will not be detected, so it’s still possible to end up with bad data should either of those two devices malfunction. By the same token this is solely a detection scheme, so there are no error correction abilities. The only way to correct a transmission error is to keep trying until the bus gets it right.

Now in spite of the difficulties in building and operating such a high speed bus, error detection is not necessary for its operation. As AMD was quick to point out to us, cards still need to ship defect-free and not produce any errors. Or in other words, the error detection mechanism is a failsafe mechanism rather than a tool specifically to attain higher memory speeds. Memory supplier Qimonda’s own whitepaper on GDDR5 pitches error correction as a necessary precaution due to the increasing amount of code stored in graphics memory, where a failure can lead to a crash rather than just a bad pixel.

In any case, for normal use the ramifications of using GDDR5’s error detection capabilities should be non-existent. In practice, this is going to lead to more stable cards since memory bus errors have been eliminated, but we don’t know to what degree. The full use of the system to retransmit a data burst would itself be a catch-22 after all – it means an error has occurred when it shouldn’t have.

Like the changes to VRM monitoring, the significant ramifications of this will be felt with overclocking. Overclocking attempts that previously would push the bus too hard and lead to errors now will no longer do so, making higher overclocks possible. However this is a bit of an illusion as retransmissions reduce performance. The scenario laid out to us by AMD is that overclockers who have reached the limits of their card’s memory bus will now see the impact of this as a drop in performance due to retransmissions, rather than crashing or graphical corruption. This means assessing an overclock will require monitoring the performance of a card, along with continuing to look for traditional signs as those will still indicate problems in memory chips and the memory controller itself.

Ideally there would be a more absolute and expedient way to check for errors than looking at overall performance, but at this time AMD doesn’t have a way to deliver error notices. Maybe in the future they will?

Wrapping things up, we have previously discussed fast link re-training as a tool to allow AMD to clock down GDDR5 during idle periods, and as part of a failsafe method to be used with error detection. However it also serves as a tool to enable higher memory speeds through its use in temperature compensation.

Once again due to the high speeds of GDDR5, it’s more sensitive to memory chip temperatures than previous memory technologies were. Under normal circumstances this sensitivity would limit memory speeds, as temperature swings would change the performance of the memory chips enough to make it difficult to maintain a stable link with the memory controller. By monitoring the temperature of the chips and re-training the link when there are significant shifts in temperature, higher memory speeds are made possible by preventing link failures.

And while temperature compensation may not sound complex, that doesn’t mean it’s not important. As we have mentioned a few times now, the biggest bottleneck in memory performance is the bus. The memory chips can go faster; it’s the bus that can’t. So anything that can help maintain a link along these fragile buses becomes an important tool in achieving higher memory speeds.

Lower Idle Power & Better Overcurrent Protection Angle-Independent Anisotropic Filtering At Last
Comments Locked

327 Comments

View All Comments

  • dieselcat18 - Saturday, October 3, 2009 - link

    It truly amazes me that AnandTech allows a Troll like you to keep posting...but there is always one moron that comes to a forum like this and shows his a** to the world...So we all know it to be you...nice work not bringing anything resembling an intelligent discussion to the table..Oh and please don't tell me what it is that I bring to the conversation...my thoughts about this topic have nothing to do with my reply to you about your vulgar manner and lack of respect for anyone that has a difference of opinion.
    Oh and as for you paper launch...well sites like Newegg were sold out immediately because of the overwhelming demand for this card and I'll bet you anything there are cards available and in good supply at this very moment...Why don't you take a look and give us all another update.....I guess having that big "L" stamped on your forehead sums it up.....
  • SiliconDoc - Wednesday, September 23, 2009 - link

    No, they didn't, because the 5870's just showed up last night, 4 of them, and just a bit ago the ONE of them actually became "available", the Powercolor brand.
    The other three 5870's are NOT AVAILABLE but are listed....
    So "ATI paper launch" is the key idea here (for non red roosters).
    1:43 PM CST, Wed. Sept. 23rd, 2009.
    ---
    Yes, I watched them appear on the egg last night(I'm such a red fanboy I even love paper launches)... LOL
  • crimson117 - Wednesday, September 23, 2009 - link

    Current cheapest GTX 295 at Newegg is $469.99.

    http://www.newegg.com/Product/Product.aspx?Item=N8...">http://www.newegg.com/Product/Product.a...p;cm_re=...
  • B3an - Wednesday, September 23, 2009 - link

    Ryan, on your AA page, you have an example of the unofficial Nvidia SSAA where the tree branches have gone missing in HL2. And say because of this it's not suitable for general use.

    But for both the ATI pics, on either MSAA or SSAA, the tree branches are missing as well. Did you not notice this? because you do not comment on it.

    Either way it looks like ATI AA is still worse, or there is a bug.
  • Ryan Smith - Wednesday, September 23, 2009 - link

    We used the same save game, but not the same computer. These were separate issues we were chasing down at the same time, so they're not meant to be comparable. In this case I believe some of the shots were at 1600x1200, and others were at 1680x1050. The result of which is that the widescreen shots are effectively back a bit farther due to the use of the same FOV at all times in HL2.

    As you'll see in our Crysis shots, there's no difference. I can look in to this issue later however, if you'd like.
  • chizow - Wednesday, September 23, 2009 - link

    Really enjoyed the discussion of the architecture, new features, DX11, Compute Shaders, the new AF algorithm and the reintroduction of SSAA an ATI parts.

    As for the card itself, its definitely impressive for a single-GPU but the muted enthusiasm in your conclusion seems justified. Its not the definite leader for single-card performance as the 295 is still consistently faster and the 5870 even fails to consistently outperform its own predecessor, the 4870X2.

    Its scaling problems are really odd given its internals and overall specs seem to indicate its just RV790 CF on a single die, yet it scales worst than the previous generation in CF. I'd say you're probably onto something thinking AMD underestimated the 5870's bandwidth requirements.

    Anyways, nice card and nice effort from AMD, even if its stay at the top is short-lived. AMD did a better job pricing this time around and will undoubtedly enjoy high sales volume with little competition in the coming months with Win 7's launch, up until Nvidia is able to counter with GT300.
  • chizow - Wednesday, September 23, 2009 - link

    Holy....lol

    I didn't even realize til I read another comment that Ryan Smith wrote this and not Anand/Derek collaboration. That's a compliment btw, it read very Anand-esque the entire time! ;-) Really enjoyed it similar to some of your earlier efforts like the 3-part Vista memory investigation.
  • formulav8 - Wednesday, September 23, 2009 - link

    I wouldn't be surprised if most of us already knew what was going to take place with performance and what-not. But its still a nice card whether I knew the specs before its official release or not. (And viewed many purposely leak benches). :)


    Jason
  • PJABBER - Wednesday, September 23, 2009 - link

    Another fine review and nice to see it hit today. Your reviews are one reason I keep coming back to AT!

    Unfortunately, at MSRP the 5870 doesn't offer enough for me to move past the 4890 I am currently using, and bought for $130 during one of the sales streaks a month or so ago. Will re-evaluate when we actually start seeing price drops and/or DX11 games hit the shelves.

  • wicko - Wednesday, September 23, 2009 - link

    It would have been nice to see 4890 in CF against 5870 in CF. 500$ spent vs 800$ spent :p

Log in

Don't have an account? Sign up now