diff options
author | Wei Wang <wvw@google.com> | 2021-07-29 15:00:56 -0700 |
---|---|---|
committer | alk3pInjection <webmaster@raspii.tech> | 2022-02-05 20:27:30 +0800 |
commit | 2787b94effe7d2fa1496823d982692b394772c19 (patch) | |
tree | 6df4aba329adbd5cd7caaf361abb5179ed0162af | |
parent | 28240ff1fe4e8f1a6e5d64757397abdeb7ca424a (diff) |
update_engine: put update_engine into background sched group
update_engine runs as 120 may impact foreground tasks, put it into bg
sched group to have soft limit on its cpu usage.
Bug: 194838704
Test: build
Signed-off-by: Wei Wang <wvw@google.com>
Change-Id: Ifa66f0119e86d79fa48d15a82b192f33b6ab2740
-rw-r--r-- | update_engine.rc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/update_engine.rc b/update_engine.rc index b9f80fc1..aa39211a 100644 --- a/update_engine.rc +++ b/update_engine.rc @@ -2,7 +2,7 @@ service update_engine /system/bin/update_engine --logtostderr --logtofile --fore class late_start user root group root system wakelock inet cache media_rw - writepid /dev/cpuset/system-background/tasks /dev/blkio/background/tasks + task_profiles ServiceCapacityLow LowIoPriority HighEnergySaving disabled on property:ro.boot.slot_suffix=* |