Add some properties to go_defaults_512.mk

Add lmkd tuning and madvise random hints.

Bug: 67374015
Test: make, flash, look at properties

Change-Id: Id5dfcc28ac9ea1b84f761f1b75ace45f12c47918
This commit is contained in:
Mathieu Chartier 2017-10-15 20:21:10 -07:00
parent 7267676258
commit 120a1bdad1
1 changed files with 8 additions and 1 deletions

View File

@ -17,5 +17,12 @@
# Inherit common Android Go defaults.
$(call inherit-product, build/target/product/go_defaults_common.mk)
# Insert 512MB specific properties here.
# 512MB specific properties.
# lmkd can kill more now.
PRODUCT_PROPERTY_OVERRIDES += \
ro.lmk.medium=700 \
# madvise random in ART to reduce page cache thrashing.
PRODUCT_PROPERTY_OVERRIDES += \
dalvik.vm.madvise-random=true