From 625450137c2d76e6e267aad3fa61c111b572ac8b Mon Sep 17 00:00:00 2001 From: Martin Liu Date: Thu, 11 Apr 2024 00:14:29 +0000 Subject: [PATCH 1/3] Disable proactive compaction From field data, sometimes kcompactd is pretty activated and can impact critical CUJs. Disable it first to mitigate the impact. Bug: 332916849 Test: boot Change-Id: I87cdcf184afb5fe10e873162b94bd3bf54b1acbd Signed-off-by: Martin Liu --- conf/init.zuma.rc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/init.zuma.rc b/conf/init.zuma.rc index b6e622e5..99efd046 100644 --- a/conf/init.zuma.rc +++ b/conf/init.zuma.rc @@ -109,6 +109,9 @@ on init # adjust PCP high level write /proc/sys/vm/percpu_pagelist_high_fraction 430 + # disable proactive compaction + write /proc/sys/vm/compaction_proactiveness 0 + # Some user code relies on ro.boot.hardware.revision setprop ro.boot.hardware.revision ${ro.revision} From 6f61b2f689a712b158a71f3270c017d3d097d74e Mon Sep 17 00:00:00 2001 From: Jaegeuk Kim Date: Wed, 10 Apr 2024 10:38:46 -0700 Subject: [PATCH 2/3] Zuma: disable compression on apex Compression on apex disables direct IO for loopback, which introduces double buffering and longer latency. Bug: 298717358 Change-Id: I3b1de10f17931bec7769947bad62a22637a8a528 Signed-off-by: Jaegeuk Kim --- conf/fstab.zuma.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/fstab.zuma.in b/conf/fstab.zuma.in index b2a5f141..9fb13e72 100644 --- a/conf/fstab.zuma.in +++ b/conf/fstab.zuma.in @@ -20,6 +20,6 @@ vendor_dlkm /vendor_dlkm /dev/block/platform/13200000.ufs/by-name/misc /misc emmc defaults wait /dev/block/platform/13200000.ufs/by-name/metadata /metadata f2fs noatime,nosuid,nodev,sync wait,check,formattable,first_stage_mount #/dev/block/platform/13200000.ufs/by-name/pvmfw /pvmfw emmc defaults wait,slotselect,avb=pvmfw,first_stage_mount -/dev/block/platform/13200000.ufs/by-name/userdata /data f2fs noatime,nosuid,nodev,discard,reserve_root=32768,resgid=1065,fsync_mode=nobarrier,compress_extension=apk,compress_extension=apex,compress_extension=so,compress_extension=vdex,compress_extension=odex,@inlinecrypt@,atgc,checkpoint_merge,compress_cache latemount,wait,check,quota,formattable,sysfs_path=/dev/sys/block/bootdevice,checkpoint=fs,reservedsize=128M,fscompress,readahead_size_kb=128,@fileencryption@,@metadata_encryption@,keydirectory=/metadata/vold/metadata_encryption,zoned_device +/dev/block/platform/13200000.ufs/by-name/userdata /data f2fs noatime,nosuid,nodev,discard,reserve_root=32768,resgid=1065,fsync_mode=nobarrier,compress_extension=apk,compress_extension=so,compress_extension=vdex,compress_extension=odex,@inlinecrypt@,atgc,checkpoint_merge,compress_cache latemount,wait,check,quota,formattable,sysfs_path=/dev/sys/block/bootdevice,checkpoint=fs,reservedsize=128M,fscompress,readahead_size_kb=128,@fileencryption@,@metadata_encryption@,keydirectory=/metadata/vold/metadata_encryption,zoned_device /dev/block/platform/13200000.ufs/by-name/vbmeta /vbmeta emmc defaults slotselect,first_stage_mount /devices/platform/11210000.usb* auto vfat defaults voldmanaged=usb:auto From c59a55ffc86910c11561249dfe7163f34815312d Mon Sep 17 00:00:00 2001 From: Jack Wu Date: Fri, 22 Mar 2024 21:33:35 +0800 Subject: [PATCH 3/3] Update health AIDL HAL to V3 Bug: Test: TH Test: vts-tradefed run vts -m vts_treble_vintf_vendor_test Signed-off-by: Jack Wu (cherry picked from https://android-review.googlesource.com/q/commit:40f89b2d464071389d395f39928ef0e6d99bf2fb) Merged-In: I7582ba278abcb30cebe041f775efe45633a58bad Change-Id: I7582ba278abcb30cebe041f775efe45633a58bad 24D1-dev is based on 24Q2-release. Therefore, we merged this CL to 24D1-dev. --- health/android.hardware.health-service.zuma.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/health/android.hardware.health-service.zuma.xml b/health/android.hardware.health-service.zuma.xml index 1fe9b8d2..2acaabac 100644 --- a/health/android.hardware.health-service.zuma.xml +++ b/health/android.hardware.health-service.zuma.xml @@ -1,7 +1,7 @@ android.hardware.health - 2 + 3 IHealth/default