mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_rosemary
synced 2026-01-27 13:35:09 +00:00
rosemary: Enable ZRAM-writeback job
This patch enables zram-writeback job. It will run idle marking at 60m since the device is boot. After that, it will do first writeback after 3hour to sweep initiallized cold pages out. After that, it periodically write out every 24hour. Bug: 117682284 Bug: 127185055 Test: confirm with manual testing Signed-off-by: Randall Huang <huangrandall@google.com> Change-Id: I6857c79ca3ce6a3619f4b7e200d7f17a8decd659
This commit is contained in:
committed by
Matsvei Niaverau
parent
8871aad397
commit
ecd0b35267
@@ -435,6 +435,9 @@
|
||||
<item>0:2:15</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Enable Zram writeback feature to allow unused pages in zram be written to flash. -->
|
||||
<bool name="config_zramWriteback">true</bool>
|
||||
|
||||
<!-- The bounding path of the cutout region of the main built-in display.
|
||||
Must either be empty if there is no cutout region, or a string that is parsable by
|
||||
{@link android.util.PathParser}.
|
||||
|
||||
@@ -71,3 +71,8 @@ ro.mediatek.wlan.p2p=1
|
||||
mediatek.wlan.ctia=0
|
||||
wifi.tethering.interface=ap0
|
||||
wifi.direct.interface=p2p0
|
||||
|
||||
# ZRAM
|
||||
ro.zram.mark_idle_delay_mins=60
|
||||
ro.zram.first_wb_delay_mins=180
|
||||
ro.zram.periodic_wb_delay_hours=24
|
||||
|
||||
Reference in New Issue
Block a user