|
|
Log in / Subscribe / Register

Schedulers Bundled in Applications?

Schedulers Bundled in Applications?

Posted Feb 2, 2026 1:22 UTC (Mon) by wahern (subscriber, #37304)
In reply to: Schedulers Bundled in Applications? by kyouma
Parent article: Sub-schedulers for sched_ext

If an application really wants to control scheduling, wouldn't it be better to support a usermode scheduling primitive, e.g. Google's SwitchTo?[1] Ideal would be having both options; there's not much overlap regarding how they're used and work.

[1] https://lkml.org/lkml/2020/7/22/1202


to post comments

Schedulers Bundled in Applications?

Posted Feb 2, 2026 10:51 UTC (Mon) by kyouma (subscriber, #181833) [Link]

Thanks for your reply. Didn't know about SwitchTo before.

Indeed for a per-application thing a usermode scheduling primitive is simpler.

`sched_ext` sub-schedulers might make more sense for service-type software like a database. Maybe one can write a NixOS module that declaratively specifies that service X goes with scheduler Y. And enabling the service sets up the scheduler for it.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds