Hasty Briefsbeta

Bilingual

RSoC 2026: A new CPU scheduler for Redox OS

4 hours ago
  • #Performance Optimization
  • #Redox OS
  • #CPU Scheduler
  • Redox OS's Round Robin scheduler was replaced with a Deficit Weighted Round Robin (DWRR) scheduler to allow priority assignment.
  • DWRR improves performance under heavy load, with gains like ~150 FPS in pixelcannon and ~1.5x in CPU-bound tasks.
  • An interleaved DWRR approach reduces starvation for low-priority tasks while maintaining benefits for high-priority ones.
  • The new scheduler enables priority management via nice and renice commands, with setup instructions provided in the article.
  • Simulations show DWRR and interleaved DWRR outperform RR in metrics like average response time and task execution frequency.
  • Real-world tests confirm performance improvements, such as increased FPS in pixelcannon and better operations/sec in schedrs under contention.