Re: [tip:sched/core] sched/isolation: Document the isolcpus= flags
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- Subject: Re: [tip:sched/core] sched/isolation: Document the isolcpus= flags
- From: Peter Zijlstra <peterz@xxxxxxxxxxxxx>
- Date: Mon, 30 Oct 2017 17:58:28 +0100
- Cc: cmetcalf@xxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx, tglx@xxxxxxxxxxxxx, torvalds@xxxxxxxxxxxxxxxxxxxx, hpa@xxxxxxxxx, riel@xxxxxxxxxx, mingo@xxxxxxxxxx, efault@xxxxxx, frederic@xxxxxxxxxx, kernellwp@xxxxxxxxx, paulmck@xxxxxxxxxxxxxxxxxx, lcapitulino@xxxxxxxxxx, linux-tip-commits@xxxxxxxxxxxxxxx
- In-reply-to: <alpine.DEB.2.20.1710301125060.1182@nuc-kabylake>
- References: <1509072159-31808-13-git-send-email-frederic@kernel.org> <tip-98a06af93784a6ae541e9fc6292ef26177832543@git.kernel.org> <20171027135831.GZ3165@worktop.lehotels.local> <alpine.DEB.2.20.1710301045160.970@nuc-kabylake> <20171030161101.wprohopz5eg7snb4@hirez.programming.kicks-ass.net> <alpine.DEB.2.20.1710301125060.1182@nuc-kabylake>
- User-agent: NeoMutt/20170609 (1.8.3)
On Mon, Oct 30, 2017 at 11:30:59AM -0500, Christopher Lameter wrote:
> Historically cpusets were not used for cpu isolation. They were used to
> restrict applications threads to sets of cpus for performance reasons. And
> we are here dealing with individual processors.
The HPC workloads very much disabled load-balancing across most CPUs. If
you disable "sched_load_balance" the thing creates NULL sched_domains,
the exact thing isolcpus ends up doing.
This is something cpusets have done for a _long_ time, if not from the
very start.
Yes, you can also create smaller sched_domains which is useful for other
cases and you can even mix the lot, by creating a small set of
load-balanced CPUs for the system tasks while giving a bunch of
unbalanced CPUs to your application.
--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
[Index of Archives]
[Linux Stable Commits]
[Linux Stable Kernel]
[Linux Kernel]
[Linux USB Devel]
[Linux Video &Media]
[Linux Audio Users]
[Yosemite News]
[Linux SCSI]