OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Mar 28, 2024 5:52 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Is the Apple M1 chip AMP?
PostPosted: Sun Jun 12, 2022 8:27 pm 
Offline
Member
Member

Joined: Tue Feb 18, 2020 3:29 pm
Posts: 1071
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


Top
 Profile  
 
 Post subject: Re: Is the Apple M1 chip AMP?
PostPosted: Sun Jun 12, 2022 9:59 pm 
Offline
Member
Member

Joined: Mon Mar 25, 2013 7:01 pm
Posts: 5100
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.


Top
 Profile  
 
 Post subject: Re: Is the Apple M1 chip AMP?
PostPosted: Sun Jun 12, 2022 10:11 pm 
Offline
Member
Member

Joined: Wed Mar 30, 2011 12:31 am
Posts: 676
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.

_________________
toaruos on github | toaruos.org | gitlab | twitter | bim - a text editor


Top
 Profile  
 
 Post subject: Re: Is the Apple M1 chip AMP?
PostPosted: Mon Jun 13, 2022 5:39 am 
Offline
Member
Member

Joined: Tue Feb 18, 2020 3:29 pm
Posts: 1071
Ah, that makes sense. I think I was confused by this quote from the wiki:
Quote:
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


Top
 Profile  
 
 Post subject: Re: Is the Apple M1 chip AMP?
PostPosted: Mon Jun 13, 2022 7:45 am 
Offline
Member
Member

Joined: Tue Apr 03, 2018 2:44 am
Posts: 402
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 25 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group