Re: [RFC PATCH] sched/fair: Optionally restrict SMT scheduling ("restrict_smt")

From: Sergio Lopez
Date: Fri Feb 02 2018 - 10:14:10 EST


On Thu, 2018-02-01 at 15:37 +0100, Mike Galbraith wrote:
> On Thu, 2018-02-01 at 13:37 +0100, Sergio Lopez wrote:
> > Compared against "isolcpus", "restrict_smt" presents the following
> > advantages:
> > - Doesn't require prior knowledge of the CPU topology, making it
> > more friendly to both end users and automation tools.
> > - Load balancing is still active for tasks pinned to multiple
> > secondary SMT threads.
>
> This says that everybody and everything in the box is way smarter
> than the admin.

If that's an argument in favor of manual pinning and isolation, I have
to disagree with you. That's an unnecessary burden put on the shoulders
of the admin.

Sergio.