From 2a8a880cdbf503d612bab9d9ff1450c6adea604a Mon Sep 17 00:00:00 2001 From: Wei Wang Date: Wed, 17 May 2017 15:27:32 -0700 Subject: [PATCH] davinci: rootdir: Tune zram performance -Set max_comp_streams to num of cores since upstream also moves this to percpu. Bug: 38249616 Test: boot and run zram-perf showing better performance Change-Id: I0b92b246d773db85aa03d033b2cecee54347cbd1 --- rootdir/etc/fstab.qcom | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootdir/etc/fstab.qcom b/rootdir/etc/fstab.qcom index 9acb618..94bac55 100644 --- a/rootdir/etc/fstab.qcom +++ b/rootdir/etc/fstab.qcom @@ -48,4 +48,4 @@ # The update_engine code looks for this entry in order to determine the boot device address # and fails if it does not find it. /dev/block/bootdevice/by-name/misc /misc emmc defaults defaults -/dev/block/zram0 none swap defaults zramsize=2684350464 +/dev/block/zram0 none swap defaults zramsize=2684350464,max_comp_streams=8