mirror of
https://github.com/Anything-at-25-00/android_device_tecno_LG8n.git
synced 2024-11-22 21:56:26 -08:00
[PATCH] LG8n: Import oriole cpuctl tuning
This is done in preparation for uclamp migration and FAIR_GROUP_SCHED enablement in kernel. Change-Id: Ib486c9bcdfa18d7362461e1a8f66d6fb288af709 Signed-off-by: xyzuniverse <dev.xyzuniverse@gmail.com> Signed-off-by: fjrXTR <fajarslebew31@gmail.com> Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
parent
ece084b8ec
commit
990f33dc83
|
@ -1113,3 +1113,15 @@ service vendor.charger /system/bin/charger
|
||||||
file /sys/fs/pstore/console-ramoops-0 r
|
file /sys/fs/pstore/console-ramoops-0 r
|
||||||
file /sys/fs/pstore/console-ramoops r
|
file /sys/fs/pstore/console-ramoops r
|
||||||
file /proc/last_kmsg r
|
file /proc/last_kmsg r
|
||||||
|
|
||||||
|
on property:sys.boot_completed=1
|
||||||
|
# Setup cpu.shares to throttle background groups (bg ~ 5% sysbg ~ 10%)
|
||||||
|
write /dev/cpuctl/background/cpu.shares 1024
|
||||||
|
write /dev/cpuctl/system-background/cpu.shares 2048
|
||||||
|
write /dev/cpuctl/system/cpu.shares 20480
|
||||||
|
# We only have system and background groups holding tasks and the groups below are empty
|
||||||
|
write /dev/cpuctl/camera-daemon/cpu.shares 20480
|
||||||
|
write /dev/cpuctl/foreground/cpu.shares 20480
|
||||||
|
write /dev/cpuctl/nnapi-hal/cpu.shares 20480
|
||||||
|
write /dev/cpuctl/rt/cpu.shares 20480
|
||||||
|
write /dev/cpuctl/top-app/cpu.shares 20480
|
||||||
|
|
Loading…
Reference in a new issue