News for hackers. Stuff that matters.
Re:Intel's disruption is now complete by jeffbee on Saturday November 14, 2020 @11:45AM (#25093425)
I'm still waiting for my M1 to show up but from studying the details that other people have commented on, it's clear that Apple is slathering on the microarchitectural resources that both Intel and AMD are stingy with. Their core has a gigantic L1 instruction cache, rather a lot of L1 TLB entries (4x more than Intel), large(r) pages by default, and many other aspects. L1 TLB entries in particular are a well-known problem for x86 performance so it's a real mystery why Intel doesn't simply add more of them. x86 is probably married to 4K pages forever, because of god-damned DOS, whereas Apple can make the default page size be whatever they want it to be. People with high requirements can jump through a million hoops to get their x86 program loaded into hugepages, but on Apple's platform you're getting it for free.
Re:Intel's disruption is now complete by m4rtink on Saturday November 14, 2020 @12:13PM (#25093683)
While Intel is indeed losing the performance game, even with the shady management engine shenanigans intel CPUs are still much more open than the locked down proprietary nightmare that apparently are the new Apple ARM SoCs.
Re:Intel's disruption is now complete by coward8675309 on Saturday November 14, 2020 @12:41PM (#25093917)
That's why I commute to the office via horse — so I don't need to deal with those fascists at the DMV. Sure the costs of boarding and hay and horseshoes pile up, but at least I'm not being hassled by The Man.
Re:Intel's disruption is now complete by jml7c5 on Saturday November 14, 2020 @01:27PM (#25094344)
This is a weirdly reductive take. Any new technology can be better in some aspects and worse in others. (To use your car/horse analogy: cars are much faster and have increased standards of living, but they have also had large negative effects on society and the environment.)

And it's a poor analogy because driver licensing is almost a straight consequence of how dangerous cars are, but the openness of an SoC does not directly follow from how fast it is.

Re:Intel's disruption is now complete by tjoff on Saturday November 14, 2020 @12:52PM (#25094016)
And the PC has been a massive mistake that needs rectifying?
Re:Intel's disruption is now complete by pjmlp on Saturday November 14, 2020 @01:02PM (#25094116)
From the point of view of IBM, most likely yes, otherwise there wouldn't have been PS/2 and MCA architecture.

Hence why laptops and 2-1 hybrids are basically back to the days of vertical integration of 16 bit computers, whose the PC was the only exception.

Re:Intel's disruption is now complete by tjoff on Saturday November 14, 2020 @02:18PM (#25094801)
So let's all make sure, for apples sake, that is fixed then.

Not really, PC laptops and hybrids are pretty standardized. A slim case doesn't really make it vertical integration.

Re:Intel's disruption is now complete by pjmlp on Saturday November 14, 2020 @04:05PM (#25095611)
Try to use anything other than Windows or ChromeOS on such laptops, with 100% support of underlying hardware.
Re:Intel's disruption is now complete by tjoff on Saturday November 14, 2020 @04:57PM (#25096010)
Many of us are? And we can replace parts from third parties.

It is getting more and more integrated though which makes it hard to replace parts. But that has more to do with greed and size requirements than vertical integration, a soldering iron can amend some of that. Driver situation isn't by any means something new or necessarily an indication of vertical integration either.

Re:Intel's disruption is now complete by pjmlp on Saturday November 14, 2020 @05:07PM (#25096104)
Looking at my Asus sold with Linux "support" I doubt it, hence why I explicility stated 100%.

As for the rest, nothing that regular consumers would ever bother with.

Re:Intel's disruption is now complete by tjoff on Sunday November 15, 2020 @03:31AM (#25099355)
I don't have any issues, but I did do my research.

We are talking about vertical integration are we not? Don't see how any of that is relevant then.

Re:Intel's disruption is now complete by pjmlp on Sunday November 15, 2020 @04:53AM (#25099760)
Which is exactly the proof of how Linux fails at that, by not proving it, thanks for confirming my assertion.

And since you did your research the wider public would appreciate to learn in what consumer shop one can get such out of the box experience.

Re:Intel's disruption is now complete by tjoff on Sunday November 15, 2020 @05:50AM (#25100084)
I don't even know what you are arguing about anymore.
Re:Intel's disruption is now complete by feanaro on Saturday November 14, 2020 @01:30PM (#25094373)
Since the DMV exists primarily for traffic safety, I assume Apple is removing your ability to run whatever you want on your processor for your safety too?
Re:Intel's disruption is now complete by greedo on Saturday November 14, 2020 @06:04PM (#25096523)
LOL, I almost thought you were serious for a moment.

The DMV is a revenue source for most states. Same with traffic cops. They both only have a tenuous link to traffic safety.

Re:Intel's disruption is now complete by feanaro on Sunday November 15, 2020 @05:00AM (#25099792)
I was serious. I don't want to actually get into the usefulness of the DMV, I was just assuming a common opinion for the purposes of the discussion since the OP made the comparison to the DMV.
Re:Intel's disruption is now complete by drummer on Saturday November 14, 2020 @12:58PM (#25094081)
I think you will find that The Man is especially going to be hassling you with your horse.
Re:Intel's disruption is now complete by coward8675309 on Saturday November 14, 2020 @01:05PM (#25094135)
Yeah, just like they hassle me with my wire-wrapped homebrew OpenBSD-based SDR mobile phone in my blue Radio Shack project box every time I try to get on an airplane. Why does The Man always pick on me?!
Re:Intel's disruption is now complete by rurban on Saturday November 14, 2020 @01:08PM (#25094159)
No private copter yet? Look at Elon. He flies to work with his Rocketman suite and disturbs the LAX flight controllers and pilots all the way. The Man
Re:Intel's disruption is now complete by blinkingled on Saturday November 14, 2020 @12:51PM (#25094004)
Yeah this point is being continually missed - having better performance doesn't mean much if you are limited in what you can do by the OS, the ecosystem and the hardware. As it is you can't run another OS or attach external or PCIe GPUs to anything Apple Silicon. So if macOS continues the downward trajectory or if someone else comes up with a better GPU you're stuck unlike with a PC.
Re:Intel's disruption is now complete by ivalm on Saturday November 14, 2020 @01:29PM (#25094368)
I think it is typical of Apple to have feature poor early entrants and then increase feature set with new generations. I am sure in the next few years the GPU/other pcie issues will be resolved.
Re:Intel's disruption is now complete by Miraste on Saturday November 14, 2020 @03:46PM (#25095476)
I'd bet money Apple and Nvidia remain incompatible for the foreseeable future.
Re:Intel's disruption is now complete by emdowling on Saturday November 14, 2020 @12:42PM (#25093932)
So? Consider 3 aspects:

1. Power efficiency (read: battery life) 2. Performance 3. Openness

99% of consumers only care about 2 of those. The more that time goes on, the more it becomes clear that prioritizing openness, in particular for hardware, is a direct trade-off against building a great consumer product.

Re:Intel's disruption is now complete by feanaro on Saturday November 14, 2020 @01:34PM (#25094410)
I think this is simply a consequence of the fact that the technological overlords who wish to oversee all of computing had not had a chance to overly lock down computers just yet (though they certainly wish to do it). Once they inevitably overplay their hand and the average consumer truly loses the ability to run the things he wishes to, you'll start to see a dramatic increase in the consumer's desire for openness.
Re:Intel's disruption is now complete by frogblast on Saturday November 14, 2020 @11:49AM (#25093460)
Apple’s core is very wide. But wide usually means very high power consumption.

M1 apparently has much lower power consumption.

So something else is going on other than “Apple is willing to spend more to make cores wider”.

Re:Intel's disruption is now complete by DeRock on Saturday November 14, 2020 @12:12PM (#25093665)
That, in part, comes from x86 vs arm. x86, with its variable length instructions, means your logic gets increasingly complex as you widen. Meanwhile with arm, you have constant instruction size (other than thumb, but that’s more straightforward than variable size), that lets Apple do things like an 8-bit wide decode block (vs. 4-bit for Intel) and a humongous 630 OOB (almost double Intel’s deepest cores).
Re:Intel's disruption is now complete by kortex on Saturday November 14, 2020 @01:08PM (#25094158)
I think this marks the definitive point where RISC dominates CISC. Been a long time coming but M1 spells it out in bold. Sure variable size instructions are great when cache is limited and page faults are expensive. But with clock speeds and node sizes ansymptoting, the only way to scale is horizontal. More chiplets, more cores, bigger caches, bringing DRAM closer to cache. Minimizing losses from cache flushes by more threads, and less context-switching.

Basically computers that start looking and acting more like clusters. Smarter memory and caching, zero-copy/fast-copy-on-mutate IPC as first-class citizens. More system primitives like io_uring to facilitate i/o.

The popularity of modern languages that make concurrency easy means more leveraging of all those cores.

Re:Intel's disruption is now complete by klelatti on Saturday November 14, 2020 @02:01PM (#25094656)
Agree with everything except the RISC vs CISC bit. Modern Arm isn't really RISC and x86 gets translated into RISC like microinstructions. To the extent that ARMv8 has an advantage I think it's due to being a nearly clean design 10 years ago rather than carrying the x86 legacy.
Re:Intel's disruption is now complete by sounds on Saturday November 14, 2020 @12:30PM (#25093829)
AnandTech's analysis corroborates what DeRock is saying here about the x86 variable length instructions being the limiting factor on how wide the decode stage can be.

The other factor is Apple is using a "better" process node (TSMC 5nm). I put it in quotes because Intel's 10nm and upcoming nodes may be competitive, but Intel's 14nm is what Apple gets to compete against today, right now.

Intel has been defeated in detail.

Re:Intel's disruption is now complete by eulers_secret on Saturday November 14, 2020 @01:13PM (#25094223)
> but Intel's 14nm is what Apple gets to compete against today, right now.

Intel's 10nm node is out, I'm typing this on one right now. It's competitive in single-core performance against what we've seen from the M1. Graphics and multi-core it gets beat though...

Or do you mean what Apple used to use? (edit: the following is incorrect) It's true Apple never used an Intel 10nm part.

EDIT: I was wrong! Apple has used an Intel 10nm part. Thanks for the correction!

Re:Intel's disruption is now complete by micv on Saturday November 14, 2020 @01:33PM (#25094399)
I'm using a MacBook Pro with an Intel 10nm part in it. The 4 port 13" MBP still comes with one. I think the MacBook Air might have had a 10nm part before it went ARM, too.

There are still no 10nm parts for the desktop or the high-end/high-TDP laptops anyway afaik.

Re:Intel's disruption is now complete by jeffbee on Saturday November 14, 2020 @01:46PM (#25094519)
Tiger Lake is objectively the fastest thing in any laptop you can buy, regardless of whether its TDP is as high as others. You're right about the lack of desktop parts, though.
Re:Intel's disruption is now complete by Miraste on Saturday November 14, 2020 @03:41PM (#25095454)
It's not faster than the M1, is it?
Re:Intel's disruption is now complete by jeffbee on Saturday November 14, 2020 @04:14PM (#25095683)
Maybe but I won’t give it credit for existing until it lands in public hands. You can buy tiger lake laptops off literal shelves, today.
Re:Intel's disruption is now complete by klelatti on Saturday November 14, 2020 @02:06PM (#25094704)
Are you sure about the single core performance - Geekbench has the M1 far ahead against 10nm laptops?
Re:Intel's disruption is now complete by jeffbee on Saturday November 14, 2020 @01:24PM (#25094324)
I'm typing this on a Tiger Lake, too, and it is very fast and draws modest power. But, are they making any money on it? If they lose Apple as a laptop customer how much does that hurt their business.
Re:Intel's disruption is now complete by macintux on Saturday November 14, 2020 @01:34PM (#25094405)
There was a lot of discussion on a related, recent post about Apple buying many of Intel’s most desirable chips. Will be interesting to see whether the loss of a high-end customer translates into more woes for Intel.
Re:Intel's disruption is now complete by alisonkisk on Saturday November 14, 2020 @02:37PM (#25094972)
Maybe that will just make PCs better now that Apple isn't buying out the best chips.
Re:Intel's disruption is now complete by cesarb on Saturday November 14, 2020 @04:08PM (#25095638)
> Meanwhile with arm, you have constant instruction size (other than thumb, but that’s more straightforward than variable size),

That's only for 32-bit ARM; for 64-bit ARM, the instruction size is always constant (there's no Thumb/Thumb2/ThumbEE/etc). It won't surprise me at all if Apple's new ARM processor is 64-bit only (being 64-bit only is allowed for ARM, unlike x86), which means that not only the decoder does not have to worry about the 2-byte instructions from Thumb, but also the decoder does not have to worry about the older 32-bit ARM instructions (including the quirky ones like LDM/STM).

That would also explains why Apple can have wide decoders while their competitors can't: these competitors want to keep compatibility with 32-bit ARM, while Apple doesn't care.

Re:Intel's disruption is now complete by sidewndr46 on Saturday November 14, 2020 @12:26PM (#25093795)
For the uneducated, what is an "OOB" here?
Re:Intel's disruption is now complete by sounds on Saturday November 14, 2020 @12:33PM (#25093851)
I think that's a typo - the Apple Silicon M1 has a "ROB is in the 630 instruction range" - https://www.anandtech.com/show/16226/apple-silicon-m1-a14-de...

"ROB" and "OOO" might have gotten mixed together here.

OOO = Out-of-order. Refers to the fact that the M1 can decode instructions in parallel.

ROB = Re-Order Buffer. Refers to the stage where the parallel instructions get put back "in-order" and "retired."

Re:Intel's disruption is now complete by jmull on Saturday November 14, 2020 @12:44PM (#25093950)
From the Anandtech article[1] on the M1, I think this is referring to the reorder buffer, or ROB. Reorder buffers allow instructions to execute out-of-order, so maybe that's where the "OO" comes from.

[1] https://www.anandtech.com/show/16226/apple-silicon-m1-a14-de...

Re:Intel's disruption is now complete by DeRock on Saturday November 14, 2020 @12:52PM (#25094015)
Yes, I was going by memory, which thought “out of order buffer” was a thing. I meant ROB. Point still stands, in that scaling these blocks is very difficult with variable instruction size.
Re:Intel's disruption is now complete by andor on Saturday November 14, 2020 @05:16PM (#25096180)
Not a chip designer, but I think it could lead to a more efficient use of the functional units.

With more instructions decoded per clock and a larger reorder buffer, the core should be able to keep its units busier, i.e. not wasting energy without producing valuable output.

This efficiency gain of course needs to outweigh the consumption of the additional decoders. This part is easier with ARM as decoding x86 is complicated.

In addition to higher unit utilization, the increased parallelism should also be an advantage in the "race to sleep" power management strategy.

Re:Intel's disruption is now complete by BlueTemplar on Saturday November 14, 2020 @12:12PM (#25093661)
> M1 apparently has much lower power consumption.

Even compared to similar manufacturing processes ?

Re:Intel's disruption is now complete by tuatoru on Saturday November 14, 2020 @03:49PM (#25095500)
The manufacturing process is TSMC's, so probably not.

To me the innovation is using phone-type SoC technology.

A lot of the power (and die area) demand in modern chips is in the interface circuitry to drive the few centimetres of PCB trace between ICs.

Put the RAM in the same package as the CPU and you eliminate that interface. That gives you die space and power budget for big buffers and lots of parallel execution.

Interface transistors (and wires) are many times larger than the core compute logic transistors (and wires), so there is much more than a one-for-one gain.

Re:Intel's disruption is now complete by Miraste on Saturday November 14, 2020 @03:43PM (#25095465)
There are no similar manufacturing processes, Apple has paid for time-limited exclusivity on 5nm.
Re:Intel's disruption is now complete by raverbashing on Saturday November 14, 2020 @12:04PM (#25093593)
Interesting that you mention page size, IMHO 4k was small even 10 years ago. Though of course the next bump is 4M which I think might be too big for most apps

Apparently ARM supports 4KB, 64KB and 1MB (I just googled that)

Also maybe all the x86 crud might be finally taking its toll (and not just the ISA but all the cruft that got on top of it for 40yrs+ like legacy buses and functionalities, ACPI, or even the overengineered mess that's UEFI)

Re:Intel's disruption is now complete by jeffbee on Saturday November 14, 2020 @12:23PM (#25093752)
All the legacy junk that's actually on the CPU is tiny. Even the x86 instruction decode you could lose in a corner of a 512x512 FMA unit.
Re:Intel's disruption is now complete by my123 on Saturday November 14, 2020 @02:13PM (#25094758)
16KB page size is what arm64 macOS and iOS on Apple A9 onwards use.
Re:Intel's disruption is now complete by CountSessine on Saturday November 14, 2020 @02:22PM (#25094833)
There’s nothing wrong with ACPI - in fact it’s what’s going to enable ARM in the server space. Without something like ACPI, you need customized kernels and other crap to control system devices. ACPI is actually quite nice. And it replaced something (APM) that really was legacy cruft (dropping into real mode for power management?!! Ugh!)

EFI doesn’t seem that bad either. Maybe something like uboot would suit you better? But the reason we have those nice graphical bios utilities now is because of EFI.

Re:Intel's disruption is now complete by ip26 on Saturday November 14, 2020 @12:40PM (#25093914)
It seems like a straightforward tradeoff of IPC vs scalability.

They are able to shovel transistors at the core because there are only 4 of them. AMD on the other hand is packing 64 cores into a package, so each core has to make do with less.

Re:Intel's disruption is now complete by jeffbee on Saturday November 14, 2020 @12:52PM (#25094014)
I believe my point is that the M1 seems to spend its gate budget where it really helps performance of software in practice, while x86 vendors are spending it somewhere else.

AMD in particular wasted an entire generation of Zen by having too few BTB entries. Zen1 performance on real software (i.e. not SPEC) was tragic, similar to Barcelona on a per-clock comparison. They learned this lesson and dramatically increased BTB entries on Zen2 and again for Zen3. But the question in my mind is why would you save a few pennies per million units by shaving off half the BTB entries? Doesn't make sense. They must have been guided by the wrong benchmark software.

Re:Intel's disruption is now complete by ip26 on Saturday November 14, 2020 @01:00PM (#25094100)
I doubt it was about saving their pennies. Zen1 EPYC was a huge package with an expensive assembly & copious silicon area. But it was spread across 32 cores. A larger BTB probably had to come at the expense of something else.

What 'real software' are you thinking of? Anything in particular? Just curious, not looking to argue.

(sorry I changed my comment around the same time you replied)

Re:Intel's disruption is now complete by jeffbee on Saturday November 14, 2020 @01:21PM (#25094299)
Very large, branchy programs with very short basic blocks. This describes all the major workloads at Google, according to their paper at https://research.google/pubs/pub48320/
Re:Intel's disruption is now complete by yongjik on Saturday November 14, 2020 @01:28PM (#25094355)
Is page size actually a noticeable problem for most people (say, MacBook users)? Linux has supported huge pages for years, and my impression is that it's still considered a niche feature for squeezing out the last percentage of performance. I don't think any popular distro enables it by default.
Re:Intel's disruption is now complete by jeffbee on Saturday November 14, 2020 @03:24PM (#25095331)
If you have a large program putting its text on huge pages can make much more than one percent difference. Any time your program spends on iTLB misses can be eliminated with larger pages.
Re:Intel's disruption is now complete by dr_zoidberg on Saturday November 14, 2020 @01:53PM (#25094589)
Not just Linux, but windows also has Large Pages support. Back in the day where CPU cryptocurrency mining was still a thing (and for some cryptocurrencies which are aimed towards CPU-mining still is), some mining programs would ask to enable large page support.