HACKER Q&A
📣 antonmladenov

The “coreaudiod” process uses waaay too much resources on macOS. why TF?


hey all, so this drives me nuts really. on a brand new M1 machine I am using the Spotify desktop app. it consumes around 2.6% of the CPU (with some minor fluctuations). the coreaudiod process though, uses 13.6% of the CPU (with some minor fluctuations). does anybody have an idea why the audio process uses so much resources? (on my previous machine - Macbook Pro 2015 - that was definitely not the case)


  👤 comex Accepted Answer ✓
Don't know, but if you want to find out, `sudo spindump -onlyTarget coreaudiod` is a good starting point. You can also try `log stream --process coreaudiod --info --debug` to see if it's logging anything.

👤 altairprime
Did you re-download Spotify from the Spotify website when you upgraded machines? If not, do so, so that you get the updated binary for Apple Silicon.

Are you seeing some sort of system misbehavior that leads you to think that this CPU usage is excessive?

Are you measuring 14% of a high-efficiency core or 14% of a high-performance core?


👤 not_me_ever
The Spotify use of the coreaudio API has been massively broken for years. Basically they are preventing hardware decoding (for security reasons I guess?), and drive the API in a way that decodes everything 5-8 times.

Not a lot you can do, apart from switching to a Spotify alternative, or at least a different client.


👤 techgnosis
I'm seeing the same thing on a new M2 Air. coreaudiod takes like 4-5x CPU than Spotify. Doubt anyone knows why. Probably a bug.

👤 arthurcolle
I don't think this can be fixed. What OS version are you on?