mirror of
https://github.com/PixelExperience-Devices/device_xiaomi_miatoll.git
synced 2025-05-29 01:17:18 +09:00
miatoll: 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 Change-Id: I6857c79ca3ce6a3619f4b7e200d7f17a8decd659 Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
This commit is contained in:
parent
fd9678234e
commit
a3abaacfe5
@ -616,4 +616,7 @@
|
|||||||
available on some devices. -->
|
available on some devices. -->
|
||||||
<bool name="config_enableHapticTextHandle">true</bool>
|
<bool name="config_enableHapticTextHandle">true</bool>
|
||||||
|
|
||||||
|
<!-- Enable Zram writeback feature to allow unused pages in zram be written to flash. -->
|
||||||
|
<bool name="config_zramWriteback">true</bool>
|
||||||
|
|
||||||
</resources>
|
</resources>
|
||||||
|
@ -190,3 +190,8 @@ persist.vendor.sensors.enable.mag_filter=true
|
|||||||
# WFD
|
# WFD
|
||||||
persist.debug.wfd.enable=1
|
persist.debug.wfd.enable=1
|
||||||
persist.sys.wfd.virtual=0
|
persist.sys.wfd.virtual=0
|
||||||
|
|
||||||
|
# ZRAM
|
||||||
|
ro.zram.mark_idle_delay_mins=60
|
||||||
|
ro.zram.first_wb_delay_mins=180
|
||||||
|
ro.zram.periodic_wb_delay_hours=24
|
||||||
|
Loading…
x
Reference in New Issue
Block a user