LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   sched_deadline behaviour when a real time process is throttled, with setting of /proc/sys/kernel/sched_rt_runtime_us is 950000 (https://www.linuxquestions.org/questions/linux-newbie-8/sched_deadline-behaviour-when-a-real-time-process-is-throttled-with-setting-of-proc-sys-kernel-sched_rt_runtime_us-is-950000-a-4175617802/)

barz_83_LQ 11-17-2017 06:44 AM

sched_deadline behaviour when a real time process is throttled, with setting of /proc/sys/kernel/sched_rt_runtime_us is 950000
 
Hello,

Kindly help in understanding below things related to deadline scheduler of linux.(HRT enabled,sched_rt_runtime_us = 950000, only 1 process with deadline scheduler policy, linux kernel 4.4, x86_64)

1)Uniprocessor case: When a real time process(deadline scheduled) is throttled, ie exceeds its deadline say exceeded 900000 nanosec, it will be throttled assuming no other real time process is running and would be left to run till more 50000 nanoseconds but how does scheduler behave beyond the sched_rt_runtime_us? Will the process continue to run or the remaining 50000 ns allocated for non real time processes?
2) Does it become any complex if it is a multiprocessor (SMP)? Does the scheduler try to move this real time process to another processor if feasible?

Hope, my question is clear enough basically.

Thanks in advance,
Bhargav


All times are GMT -5. The time now is 10:47 AM.