10 comments

[ 4.3 ms ] story [ 34.8 ms ] thread
interesting. id love an eclecticlight breakdown of this. they're one of the few if only that write anything worth reading on apple hardware, i once found a QOS/scheduler insight through those guys when I couldn't get my c/cpp project pinned to the cores I wanted on m-series. https://eclecticlight.co/m1-macs/
He doesn’t read code. Convert it to some log messages and he might explore it.
Please take anything this fella writes with several grains of salt.
I mean that goes without saying on anything I read on the damn internet. With that said, I'm not seeing a comparative informational source anywhere that even takes the time of day. Feel free to bombard me with new resources.
> The XNU kernel runs on a variety of platforms

This is fascinating, would love to know where it’s used! (Besides macOS)

Does this contribute to macOS's suitability for DAW applications or is that more the baked in low-latency audio drivers?
Darwin had bunch of schedulers except this one: dualq, multiq, etc

In fact here's the one used in Sonoma: sysctl kern.sched -> edge

which seems to be an extension over "clutch":

https://github.com/apple-oss-distributions/xnu/blob/main/osf...

"… Single-cluster, symmetric (SMP) systems can run with just the Clutch policy, but multi-cluster, asymmetric (AMP) systems must further enable the Edge policy extension to Clutch in order to manage scheduling across the multiple CPU clusters. …"

Read through much of this. Definitely started feeling like “a picture might be worth 1,000+ words”.