mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_sapphire
synced 2026-01-27 19:03:34 +00:00
sapphire: rootdir: Change CPUSets according to trinket
- In my testing, this caused less jank and killed lags on system background processes like ScreenRecorder without causing higher power consumption. [angelomds42: Reduce background tasks to 2-3] Change-Id: I0068a2c1f26da8ec77f2854100a8c95b70c94be3 Signed-off-by: angelomds42 <angelomds42@gmail.com>
This commit is contained in:
@@ -12,9 +12,9 @@ on property:vendor.post_boot.parsed=1
|
||||
stop statsd
|
||||
|
||||
# cpuset parameters
|
||||
write /dev/cpuset/background/cpus 0-1
|
||||
write /dev/cpuset/background/cpus 2-3
|
||||
write /dev/cpuset/system-background/cpus 0-3
|
||||
write /dev/cpuset/foreground/cpus 0-2,4-7
|
||||
write /dev/cpuset/foreground/cpus 0-2,5-7
|
||||
write /dev/cpuset/foreground/boost/cpus 4-7
|
||||
write /dev/cpuset/top-app/cpus 0-7
|
||||
|
||||
|
||||
Reference in New Issue
Block a user