On 08-Jun 16:39, Jon Medhurst (Tixy) wrote:
On Wed, 2016-06-08 at 16:14 +0100, Patrick Bellasi wrote: [...]
We are talking about a couple of configuration options which are related to SchedTune, which has two different working mode: global boosting vs per-task boosting (the second mode is an extension of the first one, with a slightly different userspace API).
The global boosting mode is an option provided just to allows SchedTune support on system compiled without CGroups support. Do they exists?
Android makes heavy use of things like cgroups and standard distros seem to have it enabled too.
Basically it provides the minimum functionalities for example to tune SchedFreq to be more like the ondemand or the performance governors.
The per-task boosting support is definitively the most interesting one, especially when it comes down to Android integration. Thus, IMO a default configuration for all systems in general should be SchedTune with per-task support, which requires CGroups enabled.
Sounds like we want to enable CONFIG_CGROUP in EAS.conf [1] then.
IMHO, that's a reasonable defconfig.
Though it also sounds like CONFIG_CGROUP_SCHEDTUNE may be a somewhat redundant as a separate option and the code should for that could just always be included if we have CONFIG_SCHED_TUNE and CONFIG_CGROUPS ?
While, I would suggest to still keep to option to disable per-task boosting. At least for testing and comparisons, some partners may be intrested in using global boosting mode.
[1] http://git.linaro.org/arm/eas/kernel.git/blob/8768dc2c9fbadbdeec47a3ba61d241...
-- Tixy
-- #include <best/regards.h>
Patrick Bellasi