flo: 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:
Artem Borisov 2018-03-30 20:31:38 +03:00 committed by followmsi
parent d8b9ce682d
commit 5b6074301f
2 changed files with 0 additions and 6 deletions

View File

@ -24,4 +24,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

View File

@ -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