LWN.net Logo

SCHED_RR doesn't limit CPU usage

SCHED_RR doesn't limit CPU usage

Posted Sep 3, 2008 5:48 UTC (Wed) by jzbiciak (✭ supporter ✭, #5246)
In reply to: SCHED_RR doesn't limit CPU usage by simlo
Parent article: SCHED_FIFO and realtime throttling

Are you saying SCHED_RR tasks don't get preempted at the end of their time quanta even if there's no other task ready at its level?

I guess it's only a minor point. I don't know if there are other housekeeping tasks the kernel can quickly dispatch of (CPU load balancing, for instance) if it periodically reschedules a SCHED_RR task, even if that prio level has only one task. Clearly, a running SCHED_RR task is the highest priority thing the CPU can and should run at that point.


(Log in to post comments)

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