Amd FX8350 4 cores or 8 cores?

A friend and I were debating this very subject and up to that point I haven't heard anyone say that AMD 8350 is a 4 core CPU. So obviously liking to prove myself right I went home and opened up my good friend google. And what I've seen kidda blew me away.

So How AMD 8350 and any bulldozer probably is like this: each 2 cores are grouped up togather in a module, sharing the L2 Cache between the module from CPU1 to CPU2, and so on and so forth up until it has 4 modules to a total of 8 "hybrid" cores.

I've also asked a good friend of mine what does that mean. And he said that AMD modules do not need an application unlocker for hyperthread (intel) or for the processor to be at 50% load for the second one to kick in, so AMD basically runs as an 8core cpu since it does not need an unlocker or has any condition for the second core in the module to kick in.

What are your thoughts on this topic and I hope this was a bit informative of the bulldozer architecture.

The FX8xxx processors have 8 integer cores, so yeah it's an octa-core, well at least more of an octa-core than the hyper-threaded quat-core-i7's from intel

But keep in mind that this is kind off a pointless debate, because you want processing power, not lots of cores or lots of hertz or any other kind of magic sauce.

Usable processing power is largely dependent on how well the software you want to run is optimized for your hardware & vice versa.

I remember a demonstration of an 50 Mhz FPGA absolutely destroying a dual chip (12 cores 24 threads) Xeon workstation in a special-use-case.

Don't get lost in a philosophical tangent on how to define cores and hybrid thingamabobs, because the only ones who care are the marketing-people, everybody-else looks at the real world software benchmarks.

I know it's not all about processing power but as I stated before the argument between us was whether it was a 4 or an 8 core, but thank you for the additional information ^_^

FX8350 is a true 8 core. it has 4 modules with each 2 logical cores.

but only one floating point unit between the two logical cores, unlike their previous k10 architecture which had discrete cores each of which had its own L1 cache and floating point unit. Basically it performs somewhere between a true 8 core and a quad core. It depends on what calculations or operations it has to perform.

The FPUs on a Bulldozer module are only kind of shared, not in the way most people think. It's two logically separate but physically unified 128-bit FPUs. They can be unified to perform 256-bit instructions (AVX). Basically, each pair of cores shares a dual-core FPU and has guaranteed access to one half of it, unless an AVX instruction is used. That's the only time there is any contention between the two cores in a module when it comes to performing instructions.

AVX has only existed since Sandy Bridge, so any software you're running that doesn't say it requires Sandy Bridge or newer isn't using AVX anyway.

The reason they sometimes perform closer to quad core levels has to do with the shared fetch and decode hardware. Why they even did that, I have no idea, I'm not an engineer. They are fixing that in Steamroller. We'll see how it works out once Kaveri is out.

Hyper-threading is completely different. Intel cores have one execution pathway and a long instruction pipeline. Hyper-threading is basically a second set of registers, so two threads can be run with the same hardware. This works because a single thread running on a core can't use every clock cycle, because it has to eventually wait for data from memory or a cache, or wait for longer instructions to finish. x86 cores are what are called "out of order" cores. While one instruction is holding up execution, the CPU can load and run other instructions from a few steps later on in the program, but only if they don't depend on the instruction before it. Therefor, there's no guarantee that the program instructions will run in the exact order that it's written in, but the dependency checking guarantees that this never affects how the program actually works.

Hyper-threading means that instead of only filling in those gaps with instructions from the same thread, they also pull from a second thread. So the "second thread" is actually just one of the two threads that this single core can pull from to fill the instruction pipeline. That's why single-threaded performance is lost with hyper-threading.

I'm interested in this, do you happen to have a link that I can read about this at?

For the AMD module FPU stuff: http://web.archive.org/web/20110609074246/http://blogs.amd.com/work/2010/10/25/the-new-flex-fp/

For Hyper-Threading and such, Wikipedia is a good place to start. Understanding what a superscalar architecture is, instruction cache, out-of-order execution, branch prediction, and other such low level concepts should then make Hyper-Threading fairly straightforward. I don't know how much of that stuff you already know about.

8 threads !

8 threads, spread over 8 cores.