Re: CFS scheduler unfairly prefers pinned tasks

From: Peter Zijlstra
Date: Thu Oct 08 2015 - 07:20:10 EST


On Thu, Oct 08, 2015 at 09:54:21PM +1100, paul.szabo@xxxxxxxxxxxxx wrote:
> Good to see that you agree on the fairness issue... it MUST be fixed!
> CFS might be wrong or wasteful, but never unfair.

I've not yet had time to look at the case at hand, but there are wat is
called 'infeasible weight' scenarios for which it is impossible to be
fair.

Also, CFS must remain a practical scheduler, which places bounds on the
amount of weird cases we can deal with.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/