Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It's mostly the Linux scheduler

https://www.kernel.org/doc/html/latest/scheduler/sched-capac...

Android does set niceness for processes. See the THREAD_PRIORITY_* constants

https://developer.android.com/reference/android/os/Process

and it uses cgroups too. Process.THREAD_GROUP_* has some Android ones, but different vendors sometimes write their own to try and be clever to increase performance.

https://source.android.com/docs/core/perf/cgroups



It's also worth bearing in mind that there's been a lot of work put into that scheduler over the years so it will make better decisions about what to run where when the cores aren't all the same.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: