Interference from CFS scheduler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've been trying to eliminate sources of unpredictability in the
latency of interrupt response in my real-time application, and I'm
struggling a bit with the CFS scheduler.  If a SCHED_OTHER task was
preempted the rt scheduler eventually calls put_prev_task() which
results in a rb tree insert in the CFS scheduler.  So the latency of
my real-time task depends on the scheduling class of the task I'm
interrupting and how many SCHED_OTHER tasks are in the runqueue, which
seems like a priority inversion.

Are there any ways to mitigate this other than trying to minimize the
number of SCHED_OTHER tasks in the system?  Ideally what I'd really
like is to defer the work in put_prev_task_fair() until there's no
real-time work to do.

-Allen
--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux