News for hackers. Stuff that matters.
Re:Supermicro Throws Its Weight Behind Arm Servers by dragontamer on Wednesday January 04, 2023 @11:40AM (#34247813)
M1 is a bigger core than any other core I know of. Just larger reorder buffers, wider execution, etc. etc.

Nominally speaking, its inefficient at that point. You pretty much can make 2 cores fit inside of the M1 core, and each x86 core supports two threads. I'm intrigued that people continue to find benefits from such a large core (even without SMT / Hyperthreading).

Re:Supermicro Throws Its Weight Behind Arm Servers by smachiz on Wednesday January 04, 2023 @11:51AM (#34247977)
You're comparing apples and oranges to an extent - the M1/M2 delivery like.... 5x the performance per watt of x86 designs.

Even the E-cores draw more power than the M1/M2 cores.

Re:Supermicro Throws Its Weight Behind Arm Servers by dragontamer on Wednesday January 04, 2023 @11:56AM (#34248056)
Not really. You can always cut down power consumption by running them slower GHz. Among other tricks. As far as I'm aware, AMD EPYC continues to win performance/watt crown in practical server applications (servers also cut down on GHz to try to keep things power-efficient. Better to have many cores at lower GHz to win power-efficiency races).

The interesting thing to me is die-area. Because that's what determines how many cores you get per chip.

Re:Supermicro Throws Its Weight Behind Arm Servers by xenadu02 on Wednesday January 04, 2023 @01:10PM (#34249177)
> Not really. You can always cut down power consumption by running them slower GHz

But that ruins the original argument... Not that any amount of down clocking can let Intel or AMD get close on the perf/power graph. Besides heat is the main bottleneck on data center density and operational cost.

This is the denialist argument I keep seeing where people want to have their cake and eat it (or perpetually pin their hopes on Zen+1 that hasn't actually shipped).

If Intel could match M1/M2 power/perf they'd do it. But they can't. They can win the perf crown by absolutely burning power or they can get massively trounced to kinda get close on power. Zen is better but still has the same fundamental trade off.

Instead of saying M1/M2 are nothing special I'm super excited to see actual competition in the CPU space for the first time in a long time - competition that has proven a lot of conventional wisdom to be bunk.

Re:Supermicro Throws Its Weight Behind Arm Servers by dragontamer on Wednesday January 04, 2023 @01:15PM (#34249234)
> This is the denialist argument

??? My argument is, look at server power/performance. AMD EPYC takes the crown. 80-core ARM does not.

Maybe M1 will win, but we've at best got like 8 cores right now. As I stated earlier: M1 cores are huge. I'm not convinced they're better yet, but if Apple wants to make a 32-core M1 or M2 and compare it to an AMD EPYC 64x2 computer, that's when I'll start looking. We will see what they can do moving forward, but I don't expect that this M1 core can scale to a manycore size like EPYC (or Xeon, to a lesser extent).

Benchmarks are always crap, but they're the best we've got. Benchmarks, for now, show that Dual EPYC still is your best computer. At least for the server-scale that Supermicro operates at.

-------

ARM themselves are keen on this. ARM has V, N, and E cores moving forward because they're heading their bets. This Supermicro system is probably an N2 or N1 system? (I haven't looked into it much).

No one else in the world is making cores as large as Apple's M1. Its an aberration, abnormally huge. If Apple fans find it useful then cool but there's other workloads out here. I'm not fully convinced that such a large core like M1 is the best design.

Re:Supermicro Throws Its Weight Behind Arm Servers by zozbot234 on Wednesday January 04, 2023 @01:12PM (#34249210)
But is it real competition at the μarch level or just a more advanced fabrication process being used? We have yet to see x86 chips on the same process as the Apple M1 or M2.
Re:Supermicro Throws Its Weight Behind Arm Servers by ipsum2 on Wednesday January 04, 2023 @03:47PM (#34251298)
Actually, Intel beats M1/M2 in perf/watt benchmarks: https://www.cpubenchmark.net/power_performance.html
Re:Supermicro Throws Its Weight Behind Arm Servers by sliken on Wednesday January 04, 2023 @04:11PM (#34251701)
Very weird measure of efficiency. Perf/(Max TDP) doesn't really measure efficiency. Running a workload you care about and measure power usage at the wall would be a MUCH better metric.

The Intel chip might well spend most of it's time at Max TDP and throttling while the M1 might require unusual circumstances (like maxing out the fast cores, slow cores, matrix multiply (which is outside the core), memory controller, and iGPU simultaneously. There's not really any way to tell from the posted benchmark.

Wonder if the i7-1250 runs in any laptops without a fan.

Re:Supermicro Throws Its Weight Behind Arm Servers by rcxdude on Wednesday January 04, 2023 @11:41PM (#34256048)
Also, TDP is a spec point with a lot of BS. Intel's TDP is widely mocked for being far under the actual maximum power draw of the chip. I don't know how Apple is working out their TDP but it's almost certainly different to Intel. But then if you have accurate numbers it's still not a great measure because cores are at their least efficient when maxed out (like desktop CPUs usually are and laptop CPUs usually aren't), so it's a comparison which is unfair to intel and you should really compare the real power consumption of an intel CPU when clocked to get equivalent performance to an M1.
Re:Supermicro Throws Its Weight Behind Arm Servers by jjtheblunt on Wednesday January 04, 2023 @03:23PM (#34250926)
> ...die area. Because that's what determines how many cores you get per chip

the process (3nm, ...) too, to get a sense of what fits in an area

Re:Supermicro Throws Its Weight Behind Arm Servers by idkyall on Wednesday January 04, 2023 @02:13PM (#34250006)
>Even the E-cores draw more power than the M1/M2 cores. To be clear, this is also a product of the fabrication process and node size. Intel 12/13th gen are on Intel 7[1] - which is fairly old at this point, while M1s are fabricated on 5mm process[2]. Smaller lithography size isn't the whole story, but it certainly does make a difference

[1]https://www.anandtech.com/show/16823/intel-accelerated-offen... [2] https://wccftech.com/apple-5nm-m1-chip-for-arm-macs-2x-perfo...

Re:Supermicro Throws Its Weight Behind Arm Servers by dragontamer on Wednesday January 04, 2023 @02:46PM (#34250407)
To be fair: Intel 10 years ago would always lean on its manufacturing advantage for why its chips were better than everyone else's.

Today, TSMC has taken the lead, and Apple pays the big bucks to be a prioritized customer above all others.

Re:Supermicro Throws Its Weight Behind Arm Servers by toast0 on Wednesday January 04, 2023 @12:30PM (#34248603)
Apple is designing for more IPC and lower clocks, whereas Intel and AMD basically need to target their designs towards a 5GHz target clock rate to remain competitive in the marketplace. A lower clocked, but much wider core can be much more power efficient, and Apple almost never provided sufficient cooling to run Intel processors at sustained top speeds anyway. A larger die increases cost, but vertical integration means you don't have to find margin on each component, just the assembled product.

E cores work the problem the other way, if you narrow the core, you can get about half the work done per core, but in about a fourth the space. That's a win for throughput, but not for latency/interactivity. Drastically different per core performance makes OS schedulers work harder though.

Re:Supermicro Throws Its Weight Behind Arm Servers by zozbot234 on Wednesday January 04, 2023 @12:41PM (#34248760)
Why can't you use E-cores for better latency and interactivity? Unless you're doing heavy-duty VR or video gaming, you don't ever need more than a single efficiency thread to run your UX. Just need to avoid doing any real workload on the UI thread.
Re:Supermicro Throws Its Weight Behind Arm Servers by toast0 on Wednesday January 04, 2023 @01:14PM (#34249224)
A P-core is going to give you better latency than an E-core, because it does the work twice as fast. Yes, if you can split the work, you can get it done faster with 4 Es than one P, but lots of interactive work is hard to split. You can't meaningfully handle a network interrupt with more than one core; you can split your network interface into multiple queues and service each queue with a separate core, but parallelizing within the queue only brings sadness and cache coherency latency.

You might get some interactivity benefits depending on your workload and core configuration... One P vs 4 Es is an easy choice, but 4-P vs 16-E, the 4-P is probably going to feel more interactive because UI latency is lower, even though throughput is lower.

Re:Supermicro Throws Its Weight Behind Arm Servers by uoaei on Wednesday January 04, 2023 @03:14PM (#34250798)
Interesting final point. Makes me think that a solution to the apparent crisis around Moore's law may be to break up monolithic super-chips into smaller co-processors. This would help alleviate the bottleneck of waste heat management that apparently these mega-chips seem to be getting throttled by. This is already being done for other reasons, but mitigating the volume-to-surface-area ratio extremes of large chips may have second-order benefits for computing performance.
Re:Supermicro Throws Its Weight Behind Arm Servers by dragontamer on Wednesday January 04, 2023 @03:56PM (#34251449)
> This would help alleviate the bottleneck of waste heat management that apparently these mega-chips seem to be getting throttled by.

The opposite.

A lot of these chips are being designed as "dark silicon", with extremely specific hardware that is rarely used.

When the silicon is dark, they form a heatsink that can absorb excess heat from all other parts of the chip and help regulate the temperature.

I expect more-and-more extremely specific circuitry to be added to future chips, so that more and more silicon can be "dark" and serve as a place for heat to go inside of the microseconds of execution.

Re:Supermicro Throws Its Weight Behind Arm Servers by nine_k on Wednesday January 04, 2023 @04:59PM (#34252476)
Agreed. Most whole cores on most consumer CPUs are idle, or close to idle. much / most of the time. The big-little architecture is built around the idea of large cores idling / shut down most of the time, and only waking up to serve a peak load, e.g. when a new web page is being rendered.

I an even imagine spacing functional nodes wider on the silicon, where size and latency limitations allow, to give them more heat-dissipating area.

Re:Supermicro Throws Its Weight Behind Arm Servers by rbanffy on Wednesday January 04, 2023 @05:36PM (#34252925)
> The big-little architecture is built around the idea of large cores idling / shut down most of the time, and only waking up to serve a peak load

This would suggest placing E cores between (or even inside) P cores, every cluster of them maybe on a small chiplet.

I wonder if the idea could go as far as having efficient and performant execution units in the same processor, with the reorder buffer issuing instructions to different units according to how far down the instruction stream the result is needed.

Re:Supermicro Throws Its Weight Behind Arm Servers by rbanffy on Wednesday January 04, 2023 @05:30PM (#34252848)
> M1 has huge L1 cache, huge reorder buffers

At first I thought it would be the close integration of memory, but it seems the consistent instruction size makes the reorder buffers a lot simpler to implement than for x86, so you can get a much larger aarch64 reorder buffer for the same area of an x86 (amd64) one.

Re:Supermicro Throws Its Weight Behind Arm Servers by dragontamer on Wednesday January 04, 2023 @07:50PM (#34254333)
I think you might have your wires crossed a bit.

A ROB / Reorder Buffer is just RAM from my understanding. Since writes are all out of order, the ROB holds the "future values" of things for sections of code that have already executed (due to out-of-order scheduling), that are waiting for "earlier" code to execute.

Ex: If line#105 has been out-of-order executed, and knows that "MemoryLocationX = 100" happens there... the ROB holds it until line#90 through line#014 are done executing.

-----------------

Consistent instruction size would decrease:

* uop cache (AMD / Intel require a uop cache, where "decoded" instructions stay). This is more optional for ARM... and I'd personally expect this to be the "biggest cost" of x86 instructions.

* Decoder (due to the complexity of x86 instructions, the decoder on those chips is probably bigger).

The ROB / Reorder buffer is "after the decoder", probably just interacting with uops directly. I doubt that instruction set size-or-complexity has anything to do with ROB sizes.

Re:Supermicro Throws Its Weight Behind Arm Servers by brigade on Wednesday January 04, 2023 @05:31PM (#34252865)
Area-wise I'm pretty sure Apple's P-cores are in line with Intel and AMD - including L2 cache and other shared logic, M1's P-core was 4mm^2 per core, M2's P-core is about 5mm^2 [1], Zen 3 and 4 were about 4mm^2 [2], and Intel is 7mm^2 for Golden Cove [3]

[1] https://www.semianalysis.com/p/apple-m2-die-shot-and-archite...

[2] https://www.hwcooling.net/en/zen-4-architecture-chip-paramet...

[3] https://twitter.com/locuza_/status/1453524285260247046

Re:Supermicro Throws Its Weight Behind Arm Servers by dragontamer on Wednesday January 04, 2023 @05:40PM (#34252962)
M2 P-core is 5mm^2 on 3nm process.

Zen3 is 4mm^2 on 7nm process... a process that uses 4x the area per transistor than the 3nm process.

Re:Supermicro Throws Its Weight Behind Arm Servers by brigade on Wednesday January 04, 2023 @05:44PM (#34253013)
M1, M2, and Zen 4 are all on TSMC 5nm

TSMC only just started mass production of 3nm like last week, nothing has shipped yet.

Re:Supermicro Throws Its Weight Behind Arm Servers by dragontamer on Wednesday January 04, 2023 @07:46PM (#34254272)
Most of the benchmarks I'm familiar with are M1/M2 vs Zen3. I don't think people have comprehensively tested Zen4 yet.

Zen3 was 7nm for sure. So AMD Zen3 ~4mm^2 on 7nm is ~364 million transistors, while Apple's ~5mm^2 on 5nm is ~856 million transistors (https://en.wikichip.org/wiki/File:5nm_densities.svg).

With M1/M2 in the ~5mm^2 area or so, I definitely argue that Zen3 cores are 1/2 the size of M1/M2 cores, transistor-for-transistor.

Its a fat core. Maybe it will work thanks to how advanced processes are getting. Maybe this will encourage others (ie: Intel) to experiment with larger cores as well. Its hard for me to say, but I do welcome the benchmarks.

Re:Supermicro Throws Its Weight Behind Arm Servers by brigade on Wednesday January 04, 2023 @09:04PM (#34254954)
Well yeah, area budgets per-core have never shrunk linearly with transistor density; it serves a wider range of use cases to balance beefing up cores with adding more of them. Like, Intel 7 is 20x denser than Intel 32nm, but a Sandy Bridge core is less than 3x larger than Golden Cove.

Also the L2 cache and shared logic make up a larger percentage of M1/M2 per-core at >45%; that's only 20% of the per-core area for Zen 3... if you include LLC that doubles the per-core Zen3 area but only adds 30% for M2...

Point is that M1/M2 and Zen 4 show that the per-core area budget within the same process is now similar across Apple and AMD, not an order of magnitude different. It used to be an order of magnitude different, like back on 32nm Apple A6 was about 8 mm^2/core and Sandy Bridge was 18.5 mm^2/core, or 30 mm^2 including LLC that A6 didn't have.

Re:Supermicro Throws Its Weight Behind Arm Servers by dragontamer on Thursday January 05, 2023 @02:03AM (#34256922)
> Also the L2 cache and shared logic make up a larger percentage of M1/M2 per-core at >45%;

AMD's L2 cache is 1MB on Zen4, and L3 cache is like 4MB. (and L2 cache compares to Apple L1 cache, while L3 AMD cache is LLC / Comparable to Apple's L2 cache).

AMD's L2 cache is per-core. AMD's L3 cache is decentralized last-level, is 32MB for 8-cores (equivalent to Apple's 16MB for 4 cores). Except... AMD's cores have 2 threads on them while Apple only has 1.

I think my overall point is clear: Apple's cores are abnormally large. AMD / Intel have smaller cores (and larger caches). This is _despite_ shoving 2-thread per core on AMD/Intel through SMT or Hyperthreading.

Remember that only one thread gets that HUGE core on Apple. Its very, very unusual. Even POWER10 (which has oversized cores) allows 8x SMT (8 threads per core) to compensate for its oversized nature.

Re:Supermicro Throws Its Weight Behind Arm Servers by brigade on Thursday January 05, 2023 @02:34AM (#34257073)
I mean, I was trying to be fair by counting L2 and associated logic. If you only count down to L1 (and no, Zen4's 15-cycle latency L2 is not comparable to Apple's L1 that achieves a 3-4 cycle latency; Zen4's combined L2+L3 averages close to Apple's 18-cycle L2), then a Zen4 core only takes 72% of that 3.84 mm^2, or 2.76 mm^2. M2's P-core is estimated at 2.756 mm^2 if scaled to match M1's density, or 2.519 mm^2 if you accept Apple marketing's scaling.

And the M1's P-core was 2.281 mm^2.

Hyperthreading barely costs any area, but anyway I guess you can say that thanks to that plus the clock speed advantage, Zen4 gets like 15% more performance per mm^2 than M2? That's not a massive improvement by any measurement.

Re:Supermicro Throws Its Weight Behind Arm Servers by dragontamer on Thursday January 05, 2023 @04:54PM (#34267332)
L2 on Zen3/Zen4 is __PER CORE__. That's private memory, inside of each core, for operations.

If you cut out L2 cache, the Zen3 / Zen4 core shrinks significantly.

As per the Zen4 article you had:

> The L2 cache in the cores has increased from 512 kB to 1MB, which also increases the occupied area a bit, but the cores are still smaller overall than Zen 3 on 7nm thanks to the 5nm process. The area including L2 cache is 3.84mm²

The 3.84mm^2 figure _INCLUDES_ 1MB of L2 cache. If you wanna cut that out, doing so will damage your own argument, as the Zen4 core will shrink rather dramatically. (Especially with that "unshrinkable SRAM" argument you're trying to make).

-----------

Look, I don't even know where you're going with this. It shouldn't be a surprise to anybody that a 8x wide M2 core with like 800-entry reorder buffer and 600-entry register file will be bigger than a 6x wide AMD Zen4 core with like 400-entry reorder buffer and like 300-entry register file.

M2 was designed to be big, fat, and wide in execution. That's just how it works. And its a very interesting (arguably brilliant) tradeoff. But if you look at the damn chip, its just bigger. That's what happens when you add more stuff to a core, the core gets larger.

AMD on the other hand, is narrower (especially on a per-thread basis: 2-threads fit on this smaller core), and instead spends way more transistors on L2 cache. Maybe _YOU_ don't like the tradeoff (Sure, I agree that AMD's L2 cache is 15 cycles latency), but maybe throughput is more important and you're overly focused on unimportant / hypothetical latency issues (the entire L2 cache can be accessed at full throughput IIRC).

At the end of the day, we gotta get the devices and then benchmark them with real programs to really see what the sum of all these tradeoffs are. But I don't think there's much argument to be had here that the M1/M2 Apple cores are just bigger. I mean... we know the buffer sizes. We all know Apple's buffers are just bigger.

-------

https://pbs.twimg.com/media/FbXiXZeaAAA2reZ?format=jpg&name=...

Look at this. As I stated before, the biggest "penalty" to the AMD Zen4 core is the uop cache (which is unnecessary in the Apple chip). You can just... look at the damn die shot.

If you want to argue about legitimate space-saving ability of ARM systems, focus on _THAT_ part of the chip. You're talking about all sorts of things that aren't actually helping your side of the argument.

Re:Supermicro Throws Its Weight Behind Arm Servers by brigade on Thursday January 05, 2023 @09:12PM (#34270065)
> But I don't think there's much argument to be had here that the M1/M2 Apple cores are just bigger

> You pretty much can make 2 cores fit inside of the M1 core

My entire point has simply been debunking this. I'm pointing out that Apple, Intel, and AMD have similarly large area budgets for their big cores. Like, looking at actual chips produced on the same TSMC processes, you cannot fit two Zen4 cores inside of the space taken by one M1 or M2 P-core. You cannot fit two Zen2 or Zen3 cores within the space taken by one A12Z P-core. All of them have a somewhat similar per-core area budget, with difference in L2/LLC cache tradeoffs being the biggest differentiator in area.

And yes, even outside of cache they make different tradeoffs with what they spend the area on. Zen4 spends area on 512b registers and 256b ALUs, and clocking past 5GHz. Apple spends it on scalar resources and deep reordering. I'm not arguing that one tradeoff is universally better than the other, just that they end up similarly big.

Since you brought up cache throughput, Zen4 does 32B/cycle between L1 and L2 [1]. Anandtech measured M1's L2 cache throughput at about 440 GB/s across the 4 P-cores [2], which works out to 34B/cycle/core. Which sure sounds like the same per-core throughput to me.

> You can just... look at the damn die shot

I... did? That's how I estimated L2 cache and tags at 28% of Zen4's 3.84mm^2. Do you believe that that is incorrect, or that the M1 and M2 P-core areas of 2.281-2.756 mm^2 quoted by Semianalysis are incorrect?

[1] https://chipsandcheese.com/2022/11/08/amds-zen-4-part-2-memo...

[2] https://www.anandtech.com/show/17024/apple-m1-max-performanc...

Re:Supermicro Throws Its Weight Behind Arm Servers by AlexThrowAway on Wednesday January 04, 2023 @11:30PM (#34255976)
You can't just plug in TSMCs transistor density numbers, those are for logic only.

SRAM did not shrink much on N5, and it won't shrink at all between N5P and N3. Apples cores are almost entirely constructed out of SRAM.

Re:Supermicro Throws Its Weight Behind Arm Servers by dragontamer on Thursday January 05, 2023 @02:00AM (#34256903)
AMD shoves 512kB of L2 per core in Zen3, and 1MB of L2 per core in Zen4.

I'm pretty sure Zen3 has more SRAM (aka: L2 cache) than the M1/M2 (128kb + 192kB is a LOT of L1 cache, but its still less SRAM than what AMD is stuffing into its cores).

Even with all the extra register files + ROB buffer (also SRAM), the M1 just ain't getting close to 512kB L2 alone (plus all the L1 I$ and L1 D$, and uOp cache, and ROB and Register Files and 256-bit AVX registers on the Zen3).

If anything, bringing up the Apple L1 cache vs AMD L1/L2 per-core caches just emphasizes how big Apple's logic units are in comparison.