Hacker News new | ask | show | jobs
by teamhappy 4227 days ago
> It's well known that OS X gets much better battery life than Linux on Apple hardware.

I couldn't find any information to back that up. Do you have a link to a benchmark?

I don't think kernels throttle CPUs — CPUs do that themselves already. I could imagine Apple doing something like OpenBSD in that they favour security over performance for some operations, but that seems unlikely. IOKit might be to blame as well, given that it's written in embedded C++ instead of C.

All things considered, I think it's highly likely that, while OS X is quite shiny on the outside, the underlying OS isn't as modern as some of the others. Windows and OpenBSD have better security features and now Linux apparently has better performance.

1 comments

Well, but I guess theoretically it could be doing stuff like setting lower thermal thresholds for throttling. So perhaps not exactly a function of scheduling, but getting the CPU to make itself slower.

Still, this to me is the most interesting result from that set, and I'd really love it for someone to dig into it.