diff options
| author | Tim Murray <timmurray@google.com> | 2016-07-28 09:26:20 -0700 |
|---|---|---|
| committer | c457 <android.c357@gmail.com> | 2017-02-03 01:47:57 -0600 |
| commit | 2e27cfa7cd1c05f8783e1705ed15072a99a0d16d (patch) | |
| tree | 53d9026a4c52464e518a985e9c901a508c8857e2 | |
| parent | 11c1c56149f0774f45290ef9a4aafd25596c9c4a (diff) | |
axon7: update cpusets at boot complete
We don't need aggressive load balancing during boot, only after boot has
been completed.
bug 30040263
Change-Id: Id22ac312751983f774208399b1673459e2351b93
| -rw-r--r-- | rootdir/etc/init.qcom.power.rc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rootdir/etc/init.qcom.power.rc b/rootdir/etc/init.qcom.power.rc index 5174ef1..13abc91 100644 --- a/rootdir/etc/init.qcom.power.rc +++ b/rootdir/etc/init.qcom.power.rc @@ -127,3 +127,9 @@ on property:init.svc.recovery=running on property:dev.bootcomplete=1 setprop sys.io.scheduler "bfq" + # update cpusets now that boot is complete and we want better load balancing + write /dev/cpuset/top-app/cpus 0-3 + write /dev/cpuset/foreground/boost/cpus 0-2 + write /dev/cpuset/foreground/cpus 0-2 + write /dev/cpuset/background/cpus 0 + write /dev/cpuset/system-background/cpus 0-2 |
