The Granularity Floor

CFS is running three tasks on one CPU with sched_latency at 48 ms and min_granularity at 6 ms. Time slices come from

slicek=weightk∑iweighti⋅sched_latency\text{slice}_k = \frac{\text{weight}_k}{\sum_i \text{weight}_i} \cdot \text{sched_latency}

Task nice weight
P 0 1024
Q 5 335
R 10 110

What time slice does R actually get?

A

33.46 ms

B

6.00 ms

C

3.59 ms

D

16.00 ms