Wednesday, January 23rd 2019
Bulldozer Core-Count Debate Comes Back to Haunt AMD
AMD in 2012 launched the FX-8150, the "world's first 8-core desktop processor," or so it says on the literal tin. AMD achieved its core-count of 8 with an unconventional CPU core design. Its 8 cores are arranged in four sets of two cores each, called "modules." Each core has its own independent integer unit and L1 data cache, while the two cores share a majority of their components - the core's front-end, a branch-predictor, a 64 KB L1 code cache, a 2 MB L2 cache, but most importantly, an FPU. There was much debate across tech forums on what constitutes a CPU core.
Multiprocessor-aware operating systems had to be tweaked on how to properly address a "Bulldozer" processor. Their schedulers would initially treat "Bulldozer" cores as fully independent (as conventional logic would dictate), until AMD noticed multi-threaded application performance bottlenecks. Eventually, Windows and various *nix kernels received updates to their schedulers to treat each module as a core, and each core as an SMT unit (a logical processor). The FX-8350 is a 4-core/8-thread processor in the eyes of Windows 10, for example. These updates improved the processors' performance but not before consumers started noticing that their operating systems weren't reporting the correct core-count. In 2015, a class-action lawsuit was filed against AMD for false marketing of FX-series processors. The wheels of that lawsuit are finally moving, after a 12-member Jury is set up to examine what constitutes a CPU core, and whether an AMD FX-8000 or FX-9000 series processor can qualify as an 8-core chip.US District Judge Haywood Gilliam of the District Court for the Northern District of California rejected AMD's claim that "a significant majority of" consumers understood what constitutes a CPU core, and that they had a fair idea of what they were buying when they bought AMD FX processors. AMD has two main options before it. The company can reach an agreement with the plaintiffs that could cost the company millions of Dollars in compensation; or fight it out in the Jury trial, by trying to prove to 12 members of the public (not necessarily from an IT background) what constitutes a CPU core and why "Bulldozer" qualifies as an 8-core silicon.
The plaintiffs and defendants each have a key technical argument. The plaintiffs could point out operating systems treating 8-core "Bulldozer" parts as 4-core/8-thread (i.e. each module as a core and each "core" as a logical processor); while the AMD could run multi-threaded floating-point benchmark tests to prove that a module cannot be simplified to the definition of a core. AMD's 2017 release of the "Zen" architecture sees a return to the conventional definition of a core, with each "Zen" core being as independent as an Intel "Skylake" core. We will keep an eye on this case.
Source:
The Register
Multiprocessor-aware operating systems had to be tweaked on how to properly address a "Bulldozer" processor. Their schedulers would initially treat "Bulldozer" cores as fully independent (as conventional logic would dictate), until AMD noticed multi-threaded application performance bottlenecks. Eventually, Windows and various *nix kernels received updates to their schedulers to treat each module as a core, and each core as an SMT unit (a logical processor). The FX-8350 is a 4-core/8-thread processor in the eyes of Windows 10, for example. These updates improved the processors' performance but not before consumers started noticing that their operating systems weren't reporting the correct core-count. In 2015, a class-action lawsuit was filed against AMD for false marketing of FX-series processors. The wheels of that lawsuit are finally moving, after a 12-member Jury is set up to examine what constitutes a CPU core, and whether an AMD FX-8000 or FX-9000 series processor can qualify as an 8-core chip.US District Judge Haywood Gilliam of the District Court for the Northern District of California rejected AMD's claim that "a significant majority of" consumers understood what constitutes a CPU core, and that they had a fair idea of what they were buying when they bought AMD FX processors. AMD has two main options before it. The company can reach an agreement with the plaintiffs that could cost the company millions of Dollars in compensation; or fight it out in the Jury trial, by trying to prove to 12 members of the public (not necessarily from an IT background) what constitutes a CPU core and why "Bulldozer" qualifies as an 8-core silicon.
The plaintiffs and defendants each have a key technical argument. The plaintiffs could point out operating systems treating 8-core "Bulldozer" parts as 4-core/8-thread (i.e. each module as a core and each "core" as a logical processor); while the AMD could run multi-threaded floating-point benchmark tests to prove that a module cannot be simplified to the definition of a core. AMD's 2017 release of the "Zen" architecture sees a return to the conventional definition of a core, with each "Zen" core being as independent as an Intel "Skylake" core. We will keep an eye on this case.


369 Comments on Bulldozer Core-Count Debate Comes Back to Haunt AMD
Edit:
By the way did you notice how core disabling works on your screenshot - CPU core 1-2/CPU core 3-4/CPU core 5-6/CPU core 7-8. This strongly suggests that these are indeed not independent cores.
It's technically and 8-core IMO and thus AMD marketing was correct. If you look at die shot within each module you will see duplicated logic blocks for all 8 cores, in 4/8 you will not see this because the two threads share existing hardware. The processor has 8 Integer cores, and they are cores, especially with the Steamroller and Excavator chips as they have their own dedicated instruction decoders too. (BD and PD had to share a decoder IIRC). The Floating point unit is capable of running SMT with two threads and has 4x FPU pipes so it can juggle two threads (and that's where it gets the 2 thread per module). I think I read somewhere AMD stated a lot of work on desktop CPU is integer based so they opted with this design. At the end of the day, it is an 8-core chip, but it shares an FPU block between groups of 2 cores.
Stupid case to try and get a bit of money, when AMD really needs each penny it can get. IMO.
Lets say this is an image of a CPU module. Would you consider the parts in rectangles separate cores? ;)
It is stupid to have non-IT people in the jury in a case like this.
At the same time, there is a lot more shared in a module other than just the FPU block. Fetch, Instruction Cache, L2 Cache and probaby some more stuff. In Bulldozer/Piledriver Decoder as well.
Actually, the same question really comes up again - What would you consider defines a core?
I can see what you're saying honestly. I think AMD was a bit misleading with what they called a "core" especially when the marketshare was highest with Intel and they were using a "traditional" monolithic core design. But the point is: there's a lot more hardware duplicated in a BD module for each "core" than a 2-way SMT design such as the one you posted. I think a compromise is in order; It's a "4-module chip with 8 clustered integer cores" :) But I'm not sure where this leaves AMD and the case. I guess it will depend on a bunch of non techies looking at die shots and block diagrams lol
That is a Skylake core and you are right, these are SIMD units. Although INT, FP or Vector was a bit secondary here, technically these should be the execution units behind ports 0 and 1.This is where you are wrong. Dependencies are not irrelevant.
But OK. you said instructions are fetched, decoded, executed and stored back. At least fetch and stored part are very clearly happening at the module level. Decode in Bulldozer and Piledriver as well. After that, Decode is (partially) done in separate units. The stage of processing with separate hardware is only execution.Available resources is very conditional and has no real requirement of execution units being separated in the way they are in Bulldozer. Execution units eventually boil down to several pipes you force instuction and data down to that compute stuff. To look at what resources are or could be available for compute you need to look inside the execution units. How they are organized has a lot do with scheduling and managing things but little with the actual compute.You showed an option 'One Core Per Compute Unit'. Right after that are the options to disable... modules, 2 cores at a time. There is no option to shut down one core in a module. This combination makes this setting you showed simply a type of SMT - in Bulldozers case officially CMT.
For obvious reasons there is no BIOS setting to do that.
That block diagram is a single module. The moment you shut down any parts that are not duplicated it will no longer work. The duplicated parts are the two Integer Clusters.
If you mean one of the Integer Clusters, then yes, it can be shut down both in terms of not being used and I would expect is power gated.
I don't see the relevance?
If you have them that states any of this please do share because I believe you are pulling this from thin air.
AMD will not be saying it is 4 cores, the wording they have been using everywhere are 'modules' and 'integer cores' :)