ubports / ubuntu-touch

Ubuntu Touch's issue inbox is now migrated to GitLab.
https://gitlab.com/ubports/ubuntu-touch
1.28k stars 110 forks source link

Ubuntu Touch: Support cpuset within Android container #1933

Open Flohack74 opened 2 years ago

Flohack74 commented 2 years ago

Android makes considerable use of cpuset cgroup controllers for scheduling work on certain CPUs for certain system services. Due to the different nature of how UT is mounting cgroup controllers the container could not write the necessary infos into the cgroupfs associated with the cgroup controller.

These PRs/MRs are meant to fix that. It will hopefully improve snappiness and power consumption on a few devices at least.

gbdomubpkm commented 2 years ago

I installed the latest RC (V 51) on the Volla this morning. Does this mean that I should observe a longer battery life under my identical conditions of use?

Flohack74 commented 2 years ago

Hi, yes you could try to observe this. However it always depends if cpusets really make a difference for your SoC or not.