From a662638993511e9ee65d2f22bce3863e3c2c6192 Mon Sep 17 00:00:00 2001 From: Martin Liu Date: Mon, 1 Jan 2024 22:01:12 +0800 Subject: [PATCH] sdm660-common: adjust zram write back policy The first default zram write back time is 3 hours which is for go device to quickly save more ram. For Pixel devices, we have more working set and could bring launch time impact if we write back too fast. Thus, adjust the first time write back time to 24 hours which is aligned with periodic write back time. Bug: 166739872 Test: boot Signed-off-by: Martin Liu Change-Id: If1398bc44db0619cf2e2be87d4813972c0454dba Signed-off-by: pix106 --- properties/product.prop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/properties/product.prop b/properties/product.prop index 695304c3..2fca18b0 100644 --- a/properties/product.prop +++ b/properties/product.prop @@ -1,4 +1,4 @@ # Zram ro.zram.mark_idle_delay_mins=60 -ro.zram.first_wb_delay_mins=180 +ro.zram.first_wb_delay_mins=1440 ro.zram.periodic_wb_delay_hours=24 \ No newline at end of file