Signed-off-by: Sarthak Roy <sarthakroy2002@gmail.com>
Change-Id: I58f59ba31c2573c87532fc490fe2a99b59cd5a18
[Shirayuki39:] Move the hwcomposer and gralloc rendering init to init.mt6789.power.rc while we're at it as it was supposed to be there in the first place
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Since GKI, we have THP and watermarker boot feature. Those features
will bump up min_free_kbytes as.
THP: boot min_free_kbytes statically while mm init phase
Watermark_boost_factor: dynamically boost min_free_kbytes when hitting
fragmentation event.
Both changes will increase watermarks level a huge jump and might cause
LMKD not work as our expectation. Let's reset the value to align with our
legacy projects to clarify the issues. Once we get more pro and con data,
we could enable them again.
Also, we don't have limitation to access limited physical memory so we
could reset lowmem_reserve_ratio to zero.
Bug: 190571517
Bug: 189938926
Bug: 190732106
Test: cat vm parameters
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: I128d2f298dc8b82e472344d0d5c5588ce8a60702
Merged-In: I128d2f298dc8b82e472344d0d5c5588ce8a60702
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
First set ZRAM setup on init process and then enable ZRAM and apply adjustments when boot completed.
Change-Id: I9c3a308e372999cde5732f686ef9b6d2f21bb635
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
* As seen on I236874f3791d62a2d5faf0d37a149025639f5c4a, Google
recommends to set nr_requests value to 64 to reduce storage latency.
Change-Id: Ib6ee24f456ae0a6dac296973e057143ab69f2411
Signed-off-by: ChrisCatto <chriscatto@proton.me>
Signed-off-by: xyzuniverse <dev.xyzuniverse@gmail.com>
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
When opening and closing activities in Settings, a measurably
significant amount of CPU time is spent processing and logging stats
events in statsd, as reported by simpleperf:
0.02% /apex/com.android.os.statsd/lib64/libstatspull.so @plt
0.01% /apex/com.android.os.statsd/bin/statsd @plt
0.01% /apex/com.android.os.statsd/bin/statsd SocketListener::runListener()
0.01% /apex/com.android.os.statsd/bin/statsd android::os::statsd::LogEvent::parseBuffer(unsigned char*, unsigned long)
0.01% /apex/com.android.os.statsd/bin/statsd android::os::statsd::LogEvent::parseAnnotations(unsigned char, int)
Over longer device uptimes with real-world usage, statsd uses a
substantial amount of total CPU time. We have no use for the stats
recorded by statsd, so disable the service entirely to save CPU in
potential hotpaths.
This is the frameworks/base part of the change; changes to system/core
are also required.
Test: simpleperf record -a; verify that statsd no longer appears in
sample hits
[ghostrider-reborn]
- Relocated from fwb to packages/modules/StatsD in android 12
[claxten10]: Override from device init
Change-Id: Ifd49c46e20ee228941d3cb470a513a791dc5fe60
Signed-off-by: Adithya <gh0strider.2k18.reborn@gmail.com>
Signed-off-by: claxten10 <claxten10@gmail.com>
Signed-off-by: xyzuniverse <dev.xyzuniverse@gmail.com>
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
- This turbulence effect causes tremendous lags on devices with a midrange/low-end GPU as it requires expensive rendering.
- Hence, disable it by default to alleviate the situation.
Change-Id: I5df75cda3c51493e27bb6e133b1626e1cf167b5b
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
MediaTek devices support more than AOSP default dual wifi hal combinations as per BSP
Change-Id: I1d0f361dd3553746a7e91e0a951acb9dbc1e575d
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
Test: Create WPA3 enabled wifi hotspot and connect to it using another device
Change-Id: I081e3b6cb7e3ed019dab70f2b9736cf7546392c3
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
inherit vabc_features.mk instead of android_t_baseline.mk which
has correct configuration for android_u. Update the
PRODUCT_VIRTUAL_AB_COMPRESSION_METHOD from gz to lz4. Also, enable
virtual_ab.compression.threads to improve OTA performance.
Change-Id: I3b17e236701cefab4f424c8babb2fc59d2b9df09
Signed-off-by: chandu078 <chandudyavanapelli03@gmail.com>
Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>
* After Android 15 QPR2, HWUI keeps spamming "Image decoding logging
dropped!" so mute it since any other information from it is not
really any more useful.
Change-Id: Ifec5935cd92e2c3c242da4f791126fe94f3da451
Signed-off-by: ChrisCatto <chriscatto@proton.me>
Signed-off-by: fjrXTR <fajarslebew31@gmail.com>