arighi/linux-gt-i9100 — comment on commit 110b90581d05b222fddb5ebaab01e2a5b25f45b5
File:  line 0
By arighi:

On Thu, Nov 24, 2011 at 04:28:20PM -0800, franciscofranco wrote:
> Why disable CONFIG_CFS_BANDWIDTH? Did you have good results on your experiences?
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/arighi/linux-gt-i9100/commit/110b90581d05b222fddb5ebaab01e2a5b25f45b5#commitcomment-745223

I've just ported a quite old version of the CFS bandwidth throttling
patch (by Bharata B Rao and Paul Turner) and applied it to this kernel.

I didn't test it too much, I just did a few quick runs, throttling the
tasks in the bg_non_interactive cgroup, setting a max of 15% of total
cpu bandwidth. I didn't collect any "number", so we can't say anything,
but the feeling was that the system was too sluggish, even the
foreground apps (google+, twitter, the email client, ...). So I decided
to just disable this feature for now, waiting for more detailed tests.

Maybe an interesting test could be to activate the cpu throttling of the
background tasks only when the screen is off, like I did with the
dynamic cpufreq regulation
(https://github.com/arighi/linux-gt-i9100/commit/f3abb00effdc770af53b2a38b0150ac5a5f91050)
or the secondary cpu auto-hotplug
(https://github.com/arighi/linux-gt-i9100/commit/49a54ec221543c7b1192b47051edeb4d77ef9097).

-Andrea