mirror of
https://github.com/followmsi/android_device_asus_deb.git
synced 2024-11-06 22:06:28 +00:00
deb: Disable ZRAM
Meh. Even with the relatively good kernel impl this doesn't work really good for us. New zram driver doesn't correlate very well with our ancient code in mm. This leads to a noticeable performance degradation when the kernel starts to swap the pages into zram disk and device becomes a laggy mess after several days of uptime even without very active usage. Change-Id: Ib885bcfe3961bb76ec72985a5b51f86234a6a081
This commit is contained in:
parent
fa26ad7638
commit
b6eea4edc7
2 changed files with 0 additions and 6 deletions
|
@ -26,4 +26,3 @@
|
|||
/dev/block/platform/msm_sdcc.1/by-name/rpmb /rpmb emmc defaults defaults
|
||||
/dev/block/platform/msm_sdcc.1/by-name/abootb /abootb emmc defaults defaults
|
||||
/devices/platform/msm_hsusb_host/usb* auto auto defaults voldmanaged=usb:auto
|
||||
/dev/block/zram0 none swap defaults zramsize=533413200,max_comp_streams=4,notrim
|
||||
|
|
|
@ -30,13 +30,8 @@ on init
|
|||
mkdir /persist 0771 system system
|
||||
mkdir /firmware 0771 system system
|
||||
|
||||
# ZRAM setup
|
||||
write /sys/block/zram0/comp_algorithm lz4
|
||||
write /proc/sys/vm/page-cluster 0
|
||||
|
||||
on fs
|
||||
mount_all ./fstab.flo
|
||||
swapon_all ./fstab.flo
|
||||
restorecon_recursive /persist
|
||||
write /sys/kernel/boot_adsp/boot 1
|
||||
|
||||
|
|
Loading…
Reference in a new issue