Re: [PATCH] sched: Fix numabalancing to work with isolated cpus

From: Michal Hocko
Date: Thu Apr 06 2017 - 09:44:21 EST


On Thu 06-04-17 12:47:57, Peter Zijlstra wrote:
> On Thu, Apr 06, 2017 at 12:42:04PM +0200, Michal Hocko wrote:
>
> > Is this something dictated by usecases which rely on isolcpus or rather
> > nobody bothered to implement one scheduling domain?
>
> Its from the original use-case I suspect. It was done very much on
> purpose.

OK, fair enough.

> If you want bigger partitions use cpusets. Or rather, like I've been
> saying for many years, use cpusets for everything and kill isolcpus.

I thought that the only point of isolcpus is to provide an exclusive set
of cpus that only selected userspace will ever run. Mostly to schield it
of from the random system activity. But maybe this is just my
misinterpretation of what this feature offers.

Anway I am shifting this off-topic so I will not interfere more. Thanks
for the clarification.
--
Michal Hocko
SUSE Labs