AMD engineer discusses firm's 'Layoff Bug' — infamous Barcelona CPU bug revisited 16 years later
A nasty CPU bug from the Windows Vista era
Back in the "glory" days of Windows Vista, AMD was already focused on providing high-performance, multi-core, 64-bit CPUs— but as noted by current and past AMD engineer Phil Park on Twitter, the AMD TLB bug impacting Barcelona architecture CPUs put the company in truly dire straits. In fact, Park says AMD called it the "layoff bug," apparently in a nod to the fact that the bug was so severe the resulting losses could lead to layoffs in the company.
Phil Park shares this and lots of other information in the thread, partially made to reply to comments by Hemant Mohapatra, a former AMD employee. We have previously referred to this thread when Mohapatra stated that Jensen Huang would have sold Nvidia to AMD if he could be CEO of the new joint company, and Phil Park confirmed those comments to be true.
According to Phil, the infamous AMD Barcelona TLB bug wasn't the only major issue at the time—that situation, combined with a privately canceled CPU core architecture, was also very expensive and dangerous for AMD at the time. Both issues were stated to "set us (AMD) back years." Still, the lessons learned ultimately culminated in the arrival of the AMD Zen architecture and the first generation of Ryzen and Threadripper processors with it.
But what was the AMD Barcelona TLB bug? If you weren't around at the time or weren't in the loop, news of this severe issue may have missed you entirely. But in short, AMD was launching its quad-core Phenom line of CPUs using Barcelona and server-grade Opteron counterparts, and all of these CPUs suffered from a TLB bug.
In this context, TLB stands for Translation Lookaside Buffer, and it served as a way to reduce significantly memory latency and improve performance on those AMD processors. However, a severe TLB bug was present that, if not mitigated, could result in subtle data corruption, complete system hangs, and severe crashes.
So, AMD had to act quickly. A software fix came first, which mostly just avoided heavy use of the TLB and, with it, increased memory latency and reduced performance by 10-20%, especially in virtualization scenarios. The soft fix was insufficient for many customers, especially enterprise customers who needed that functionality.
A hardware fix that followed the next year (2008) with revised Phenom CPUs successfully addressed the issue with only a minor performance penalty. Still, in contrast to AMD's apparent confidence at the time, it seems Barcelona was costing jobs and causing lots of stress at Team Red. Fortunately, AMD returned from its dark ages, and we still have a competitive CPU market that we appreciate today.
Stay On the Cutting Edge: Get the Tom's Hardware Newsletter
Get Tom's Hardware's best news and in-depth reviews, straight to your inbox.
Christopher Harper has been a successful freelance tech writer specializing in PC hardware and gaming since 2015, and ghostwrote for various B2B clients in High School before that. Outside of work, Christopher is best known to friends and rivals as an active competitive player in various eSports (particularly fighting games and arena shooters) and a purveyor of music ranging from Jimi Hendrix to Killer Mike to the Sonic Adventure 2 soundtrack.
-
stonecarver Makes since. At the time back than I didn't really pay attention to the in's and out's of CPU data corruption or worse. What I did know I always wondered why a CPU needed a driver and if I used the AMD driver my gaming rig was slower.Reply
Two edge sword I guess. I never considered this Layoff Bug as it's called as to why a few years back went Intel.
I know AMD is back on top with Ryzen CPU's but it does explain a few things on my journey through the years. -
DS426 I remember getting bit by the TLB bug back in the day. I think I had a Phenom X4 9500 if I recall correctly. I did get a BSOD occasionally that I couldn't attribute to anything else... granted that was the days of Vista, which of course crashed frequently for a myriad of reasons, whether the kernel itself, drivers, and so on. I think I did end up upgrading my BIOS and enabling the software fix. I don't know that I had a powerful enough GPU at the time to notice the performance hit, unless I had a CPU-bound game or two.Reply -
mitch074
I managed to sidestep the original Phenom completely, but I got an Athlon II X4 620 that had 6 Mb of L3 cache disabled - activating it did lead to some improved performance in some cases, and was for that reason similar to your chip.DS426 said:I remember getting bit by the TLB bug back in the day. I think I had a Phenom X4 9500 if I recall correctly. I did get a BSOD occasionally that I couldn't attribute to anything else... granted that was the days of Vista, which of course crashed frequently for a myriad of reasons, whether the kernel itself, drivers, and so on. I think I did end up upgrading my BIOS and enabling the software fix. I don't know that I had a powerful enough GPU at the time to notice the performance hit, unless I had a CPU-bound game or two.
It ran hot yet overclocked like mad (especially with L3 cache switched off), I kept it for 4 years as my main rig - it took a Haswell quad core to convince me to jump ship. Strongly downclocked and undervolted, it served as my living room PC for quite a while after that - sync'ed with the RAM clock speed and L3 cache activated, it was cold, quiet and deadly. However, you had to look for it, and only cheap PCs were ever sold with it - I can understand AMD suffering greatly because of it