mirror of
https://github.com/PixelExperience-Devices/device_xiaomi_miatoll.git
synced 2025-05-26 07:57:34 +09:00
sm6250-common: 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> Signed-off-by: Albert I <kras@raphielgang.org> Change-Id: I6b8f537faf2ffff1a93170aad763f2be4dcaba42
This commit is contained in:
parent
23d6c382f2
commit
835a05445a
@ -289,6 +289,9 @@
|
|||||||
in hardware. -->
|
in hardware. -->
|
||||||
<bool name="config_setColorTransformAccelerated">true</bool>
|
<bool name="config_setColorTransformAccelerated">true</bool>
|
||||||
|
|
||||||
|
<!-- Enable Zram writeback feature to allow unused pages in zram be written to flash. -->
|
||||||
|
<bool name="config_zramWriteback">true</bool>
|
||||||
|
|
||||||
<!-- List of biometric sensors on the device, in decreasing strength. Consumed by AuthService
|
<!-- List of biometric sensors on the device, in decreasing strength. Consumed by AuthService
|
||||||
when registering authenticators with BiometricService. Format must be ID:Modality:Strength,
|
when registering authenticators with BiometricService. Format must be ID:Modality:Strength,
|
||||||
where: IDs are unique per device, Modality as defined in BiometricAuthenticator.java,
|
where: IDs are unique per device, Modality as defined in BiometricAuthenticator.java,
|
||||||
|
@ -201,3 +201,8 @@ ro.config.vc_call_vol_steps=10
|
|||||||
|
|
||||||
# WiFi
|
# WiFi
|
||||||
wifi.aware.interface=wifi-aware0
|
wifi.aware.interface=wifi-aware0
|
||||||
|
|
||||||
|
# ZRAM
|
||||||
|
ro.zram.first_wb_delay_mins=180
|
||||||
|
ro.zram.mark_idle_delay_mins=60
|
||||||
|
ro.zram.periodic_wb_delay_hours=24
|
||||||
|
Loading…
x
Reference in New Issue
Block a user