this post was submitted on 23 Oct 2023
22 points (89.3% liked)

Apple

17455 readers
88 users here now

Welcome

to the largest Apple community on Lemmy. This is the place where we talk about everything Apple, from iOS to the exciting upcoming Apple Vision Pro. Feel free to join the discussion!

Rules:
  1. No NSFW Content
  2. No Hate Speech or Personal Attacks
  3. No Ads / Spamming
    Self promotion is only allowed in the pinned monthly thread

Lemmy Code of Conduct

Communities of Interest:

Apple Hardware
Apple TV
Apple Watch
iPad
iPhone
Mac
Vintage Apple

Apple Software
iOS
iPadOS
macOS
tvOS
watchOS
Shortcuts
Xcode

Community banner courtesy of u/Antsomnia.

founded 1 year ago
MODERATORS
 

One of the most distinctive features of Apple silicon chips is that they have two types of CPU core, E (Efficiency) cores that are energy efficient but slower than the P (Performance) cores, which normally run much of the code in the apps we use. Apps don’t decide directly which cores they will be run on, that’s a privilege of macOS, but they register their interest by setting a Quality of Service, or QoS, which is then taken into account when they’re scheduled to run. With the introduction of Game Mode in Sonoma, CPU scheduling can now work differently, with E cores being reserved for the use of games. This article looks at another atypical situation, when running a macOS virtual machine (VM) assigned a set number of virtual cores. How does macOS Sonoma handle that?

all 13 comments
sorted by: hot top controversial new old
[–] [email protected] 15 points 1 year ago (3 children)

One of the most distinctive features of Apple silicon chips is that they have two types of CPU core, E (Efficiency) cores that are energy efficient but slower than the P (Performance) cores, which normally run much of the code in the apps we use.

Just want to point out that this is far from unique to apple. Lots of Arm processors have this. I think my first phone that had it was the OnePlus 2, which launched in 2015.

I would honestly be surprised if any major smartphone didn't have this.

[–] [email protected] 6 points 1 year ago* (last edited 1 year ago) (1 children)

Just want to point out that this is far from unique to apple

It's worth noting that Apple's partnership with ARM goes back to the 1980's and included both resources and people all the way back to then (from memory I think the first CEO of ARM was an Apple employee). Your OnePlus 2 has efficiency cores because of Apple's investment in that architecture.

But this article is about Macs, not phones. Some Apple Silicon Macs would only last about 2 minutes if they ran on the battery in your OnePlus 2, and the "efficiency cores" aren't really there to reduce power consumption... it's more about producing less heat.

For example the M2 cores are more than capable of running high end PC games, and because they generate almost no heat at all even under full load you can push the GPU much harder than you could if the performance cores were active. Your entire cooling system only needs to keep the GPU cool.

[–] [email protected] 3 points 1 year ago

I'm consistently impressed with how relatively cool my M2 Air stays when I'm playing No Man's Sky. I was expecting the game to be throttled to death, but I never see any real performance drops, while still being able to play it on my lap.

[–] [email protected] 2 points 1 year ago

Yeah I was going to say, this is far from Apple Silicon’s distinctive feature, let alone an “Apple” thing.

[–] [email protected] -3 points 1 year ago (1 children)

Also most modern x86 desktop CPUs have this too.

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago) (2 children)

As far as I know not to the same degree? For example I'm pretty sure Apple's efficiency cores don't do speculative execution or at least don't do much of it.

AFAIK the x86 chips mostly just reduce the clock speed don't they?

[–] [email protected] 0 points 1 year ago (1 children)

x86-64 doesn’t need efficiency cores because unlike ARM, it doesn’t care about limiting power draw.

ARM’s main appeal has always been ability to compute with minimal current (I think the first ARM processor consumed no power).

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (2 children)

I think the first ARM processor consumed no power

Now that would be some efficiency aight.

I recall something about operating on leak current alone, which is probability where you got that from.

[–] [email protected] 3 points 1 year ago

Don't try this at home. You could cause an infinitly powered electro-black-hole.

[–] [email protected] 0 points 1 year ago (1 children)

@Skelectus @ultratiem yes, that happened. It first worked on residual energy from the board it was on. It was a funny accident actually. They forgot to turn on the power supply, but it was working.

[–] [email protected] 1 points 1 year ago

That can't be quite right either, as it would be eaten immediately.

I looked it up, most specific I could find is this quote:

...leakage from the power rails leading to the I/O chip

Not sure how accurate this is, but the power has to originate from something that is actively powered.

[–] [email protected] 5 points 1 year ago

one of the most distinctive features of their 2020 arm design is a thing that has existed since 2011 on pretty much all smartphone arm chips in use?