On 7/16/2013 5:42 AM, Catalin Marinas wrote:
Morten's power scheduler tries to address the above and it will grow into controlling a new model of power driver (and taking into account Arjan's and others' comments regarding the API). At the same time, we need some form of task packing. The power scheduler can drive this (currently via cpu_power) or can simply turn a knob if there are better options that will be accepted in the scheduler.
how much would you be helped if there was a simple switch
sort left versus sort right
(assuming the big cores are all either low or high numbers)
the sorting is mostly statistical, but that's good enough in practice.. each time a task wakes up, you get a bias towards either low or high numbered idle cpus
very quickly all tasks will be on one side, unless your system is so loaded that all cpus are full.