aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Liu <liumartin@google.com>2020-09-09 10:40:31 +0800
committerSemavi Ulusoy <doc.divxm@gmail.com>2021-04-24 11:53:50 +0300
commit851d9fdddf3dacce01ec93c4948909e31c7ee09f (patch)
tree2450e12544fe142aef340ac38361a70422a7bb53
parent3b48df625a0e15096747ec184d8f97407fc820f2 (diff)
polaris: 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 <liumartin@google.com> Change-Id: If1398bc44db0619cf2e2be87d4813972c0454dba Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
-rw-r--r--product.prop2
1 files changed, 1 insertions, 1 deletions
diff --git a/product.prop b/product.prop
index 08d980f..ef92e3c 100644
--- a/product.prop
+++ b/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