mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 11:55:31 -04:00
universal7885: adjust cpuset's and switch to LZ4
* results in better performance
This commit is contained in:
parent
a88c677646
commit
cf829e944e
1 changed files with 4 additions and 4 deletions
|
|
@ -11,7 +11,7 @@ on init
|
|||
write /proc/sys/vm/swappiness 160
|
||||
|
||||
# ZRAM setup
|
||||
write /sys/block/zram0/comp_algorithm zstd
|
||||
write /sys/block/zram0/comp_algorithm lz4
|
||||
write /sys/block/zram0/max_comp_streams 8
|
||||
write /proc/sys/vm/page-cluster 0
|
||||
|
||||
|
|
@ -30,9 +30,9 @@ on init
|
|||
chmod 664 /dev/cpuset/background/cpus
|
||||
chmod 664 /dev/cpuset/system-background/cpus
|
||||
write /dev/cpuset/top-app/cpus 0-7
|
||||
write /dev/cpuset/foreground/cpus 0-7
|
||||
write /dev/cpuset/background/cpus 0-7
|
||||
write /dev/cpuset/system-background/cpus 0-7
|
||||
write /dev/cpuset/foreground/cpus 0-2,4-7
|
||||
write /dev/cpuset/background/cpus 0-1
|
||||
write /dev/cpuset/system-background/cpus 0-2
|
||||
|
||||
# For Selective boost
|
||||
write /dev/cpuset/top-app/selective_boost 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue