News: 0001624738

  ARM Give a man a fire and he's warm for a day, but set fire to him and he's warm for the rest of his life (Terry Pratchett, Jingo)

Redox OS Introducing New CPU Scheduler For ~1.5x Performance In Heavy Tasks

([Operating Systems] 3 Hours Ago New CPU Scheduler)


The Rust-based Redox OS operating system is preparing to land a new CPU scheduler thanks to work being carried out by open-source developer Akshit Gaur on modernizing the platform's process scheduling subsystem.

Redox Summer of Code funded the work on creating a new CPU scheduler to replace their legacy Round Robin scheduler. With this new scheduler they have found a ~1.5x gain in operations/sec for CPU bound tasks and similar improvements in responsiveness too.

Deficit Weighted Round Robin Scheduler (DWRR) is their new scheduler implementation. The [1]Redox-OS.org blog goes into all the technical details on this new DWRR scheduler compared to the legacy scheduler for those interested.

The key takeaway for end users is much better performance, the ability to boost interactive workloads to a higher priority for a ~15% gain in interactive responsiveness, and scheduling overhead comes in at around a 48% increase in operations per second. Wakeup latencies dropped "massively" took for the context switching time.



[1] https://www.redox-os.org/news/rsoc-dwrr/



At participating locations only.