summaryrefslogtreecommitdiff
path: root/fstab.common
diff options
context:
space:
mode:
authorWei Wang <wvw@google.com>2017-05-17 15:01:05 -0700
committerWei Wang <wvw@google.com>2017-05-17 23:20:21 +0000
commit415b4cfb02e1b73a8fd0de78e3d4df736170bbaa (patch)
tree584261f5b13d2c7dd8117b9f487941bfe9d1d442 /fstab.common
parenta95f2a7c29aa023f88563b158a7ba1e664a08532 (diff)
marlin: tune zram performance
-Switch to LZ4 for better overall performance -Set max_comp_streams to num of cores since upstream also moves this to percpu. -Set page-cluster to 0 as the incremental cost of reading 1 page at a time is negligible for zram Bug: 38249616 Test: boot and run zram-perf showing better performance Change-Id: I924a2f6523735196cac15e6c7b5a1ed4cfd9e3c3
Diffstat (limited to 'fstab.common')
-rwxr-xr-xfstab.common2
1 files changed, 1 insertions, 1 deletions
diff --git a/fstab.common b/fstab.common
index 0c1111fa..e3283dc3 100755
--- a/fstab.common
+++ b/fstab.common
@@ -9,6 +9,6 @@
/dev/block/platform/soc/624000.ufshc/by-name/system / ext4 ro,barrier=1 wait,slotselect,verify
/dev/block/platform/soc/624000.ufshc/by-name/modem /firmware/radio vfat ro,shortname=lower,uid=1000,gid=0,dmask=227,fmask=337,context=u:object_r:firmware_file:s0 wait,slotselect
/dev/block/platform/soc/624000.ufshc/by-name/userdata /data ext4 noatime,nosuid,nodev,barrier=1,noauto_da_alloc latemount,wait,check,formattable,fileencryption=ice,quota
-/dev/block/zram0 none swap defaults zramsize=536870912
+/dev/block/zram0 none swap defaults zramsize=536870912,max_comp_streams=4
/dev/block/platform/soc/624000.ufshc/by-name/misc /misc emmc defaults defaults
/devices/*/xhci-hcd.0.auto/usb* auto vfat defaults voldmanaged=usb:auto