On Mon, May 22, 2017 at 01:48:14PM -0700, Rohit Jain wrote:
The patch introduces capacity awarness in scheduler (CAS) which avoidsWhy?
CPUs which might have their capacities reduced (due to IRQ/RT activity)
when trying to schedule threads (on the push side) in the system. This
awareness has been added into the fair scheduling class.
It does so by, using the following algorithm:
--------------------------------------------------------------------------
1) As in rt_avg the scaled capacities are already calculated.
2) This scaled capacity is normalized and mapped into buckets.
3) Any CPU which lies below the 80th percentile in terms of percentageRandom number; can we do better? What does existing code do?
capacity available is considered as a low capacity CPU.