Re: [PATCH] cpuset and sched domains: sched_load_balance flag
- From: Ingo Molnar <mingo@xxxxxxx>
- Date: Sun, 30 Sep 2007 19:33:40 +0200
* Paul Jackson <pj@xxxxxxx> wrote:
Add a new per-cpuset flag called 'sched_load_balance'.
When enabled in a cpuset (the default value) it tells the kernel
scheduler that the scheduler should provide the normal load balancing
on the CPUs in that cpuset, sometimes moving tasks from one CPU to a
second CPU if the second CPU is less loaded and if that task is
allowed to run there.
When disabled (write "0" to the file) then it tells the kernel
scheduler that load balancing is not required for the CPUs in that
cpuset.
i like this, this feature would be quite useful for -rt and CPU
shielding.
( a cpuset is a mandatory container for set_cpus_allowed(), so there is
a material and app-visible difference between a 4-CPU cpuset that has
balancing disabled and 4x 1-CPU cpusets. )
Ingo
-
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/
- References:
- [PATCH] cpuset and sched domains: sched_load_balance flag
- From: Paul Jackson
- [PATCH] cpuset and sched domains: sched_load_balance flag
- Prev by Date: Re: [PATCH] Version 3 (2.6.23-rc8) Smack: Simplified Mandatory Access Control Kernel
- Next by Date: Re: [PATCH] Version 3 (2.6.23-rc8) Smack: Simplified Mandatory Access Control Kernel
- Previous by thread: Re: [PATCH] cpuset and sched domains: sched_load_balance flag
- Next by thread: Fwd: [Suspend2-devel] [patch] 2.2.10.3 build fixes
- Index(es):
Relevant Pages
|
|