Is the Apple M1 chip AMP?

All off topic discussions go here. Everything from the funny thing your cat did to your favorite tv shows. Non-programming computer questions are ok too.
Post Reply
nexos
Member
Member
Posts: 1079
Joined: Tue Feb 18, 2020 3:29 pm
Libera.chat IRC: nexos

Is the Apple M1 chip AMP?

Post by nexos »

Hello,
I just read something on Apple's website which leads me to believe that the Apple M1 might me an AMP system, where the cores are different types. Here is what it says:
Apple wrote:The powerful 8-core CPU combines four performance cores and four efficiency cores
That could just be a marketing tactic, macOS could also tune its scheduler for that, while still being SMP. Can anyone confirm or deny if M1 is AMP?
"How did you do this?"
"It's very simple — you read the protocol and write the code." - Bill Joy
Projects: NexNix | libnex | nnpkg
Octocontrabass
Member
Member
Posts: 5531
Joined: Mon Mar 25, 2013 7:01 pm

Re: Is the Apple M1 chip AMP?

Post by Octocontrabass »

I don't know if it really qualifies as AMP (ARM calls it HMP - heterogeneous multiprocessing) but yes, Apple's M1 CPU contains two different types of cores.
klange
Member
Member
Posts: 679
Joined: Wed Mar 30, 2011 12:31 am
Libera.chat IRC: klange
Discord: klange

Re: Is the Apple M1 chip AMP?

Post by klange »

As Octocontrabass says, it's not really AMP in the way AMP is usually differentiated from SMP.

Yes, there are two sets of cores with different performance characteristics, but the usual separating factor between symmetric and asymmetric systems is that the cores have different access to peripherals, and this is not the case with the two classes of performance cores in the M1 chipsets.

Scheduling can treat them all the same, and then performance and power usage would presumably hit some middle ground between the two, but obviously this not the point of the setup.

This is similar to how many SMP systems still have NUMA - non-uniform memory access - except instead of memory, it's power... sort of.
nexos
Member
Member
Posts: 1079
Joined: Tue Feb 18, 2020 3:29 pm
Libera.chat IRC: nexos

Re: Is the Apple M1 chip AMP?

Post by nexos »

Ah, that makes sense. I think I was confused by this quote from the wiki:
AMP means that at least one of the CPUs are different.
"How did you do this?"
"It's very simple — you read the protocol and write the code." - Bill Joy
Projects: NexNix | libnex | nnpkg
thewrongchristian
Member
Member
Posts: 425
Joined: Tue Apr 03, 2018 2:44 am

Re: Is the Apple M1 chip AMP?

Post by thewrongchristian »

This reminds me of a colleague's SPARCstation 10 about 20 years ago.

He had a dual CPU workstation, with I think, a 60MHz SuperSPARC I in one MBUS slot, and a 85MHz SuperSPARC II in the other MBUS slot.

I was agog that it worked, when contemporary x86 machines often complained when mixing steppings of otherwise the same CPU. MBUS isolated the details, and Solaris just shrugged it's shoulders and got on with it. I don't think Solaris made any scheduling decisions based on the asymmetry of the CPUs, though.
Post Reply