diff options
| author | Steve Kondik <steve@cyngn.com> | 2016-10-18 21:14:38 -0700 |
|---|---|---|
| committer | Erfan Abdi <erfangplus@gmail.com> | 2018-07-11 11:59:41 +0430 |
| commit | eb8183abc9a5d82bd7c66f420be39540768a2974 (patch) | |
| tree | 7bd91aeb171ba26794638a8c6d3816c9c5c6a4a8 | |
| parent | f06314c72fa75780a3f729a0c8b219f104f9bcd0 (diff) | |
griffin: Adjust cpusets
* Remove the magical stuff, it makes things worse. The 8996 doesn't
catch on fire like previous gen chips did. Use all the cores all
the time except for background processes.
Change-Id: I4ae43b57e8ea30aa120fbee9bd4efa855624b6d0
Signed-off-by: Erfan Abdi <erfangplus@gmail.com>
| -rw-r--r-- | rootdir/etc/init.qcom.power.rc | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/rootdir/etc/init.qcom.power.rc b/rootdir/etc/init.qcom.power.rc index 4d001401..fbc8ed08 100644 --- a/rootdir/etc/init.qcom.power.rc +++ b/rootdir/etc/init.qcom.power.rc @@ -10,13 +10,12 @@ on boot chmod 0644 /sys/devices/system/cpu/present chmod 0644 /sys/devices/system/cpu/online - # update cpuset for each cgroup - # reserve cpu2 for top app - write /dev/cpuset/top-app/cpus "0-3" - write /dev/cpuset/foreground/cpus "0-1,3" - write /dev/cpuset/foreground/boost/cpus 3 - write /dev/cpuset/background/cpus 0 - write /dev/cpuset/system-background/cpus "0-1" + # Update foreground and background cpusets + write /dev/cpuset/foreground/cpus 0-3 + write /dev/cpuset/foreground/boost/cpus 0-3 + write /dev/cpuset/background/cpus 0-3 + write /dev/cpuset/system-background/cpus 0-3 + write /dev/cpuset/top-app/cpus 0-3 # Add a cpuset for the camera daemon # we want all cores for camera |
