sm6150-common: mm: 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: I2388dd6d75ab0a938fe0edae0563fd26e48c9908
This commit is contained in:
Martin Liu 2020-09-07 11:08:49 +08:00 committed by Arian
parent 997e8f03cd
commit d299288eaf
No known key found for this signature in database
GPG Key ID: 48029380598CE3B9

View File

@ -384,5 +384,5 @@ PRODUCT_BOOT_JARS += \
# ZRAM writeback
PRODUCT_PROPERTY_OVERRIDES += \
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