Performance-ai changelog V2.1 > V2.2

Performance-ai changelog V2.1 > V2.2

Young | RMX2101 | 本を読む

# perf - ai Changelog 2.1 > 2.2


# - Patched API Files with Newer Clang from 19.0.0 > 21.0.1 ( android ndk R29)

# - patched API Plugin ADD-ON version : Ram Manager v7.0, Swappy Delta v7.0 Vmt Lite v3.0, Pid Finder v2.9


# - optimize perf_service_@api main logic

• replace Thread single Data sync with self data allocating

• remove external Shell caller / regex with native C to reduce syscall overhead

• reduce gamelist memory allocation with qsort + compressed hex for faster and smallest allocating

• add smart canceling worker thread when the script didnt use many thread it Will destroyed unused thread periodicly

• better write / read activity ricing popen() everytime write shared_window with static popen() once until service closed / stopped

• cleaning Logging mechanism to take care busy activity and easy debugging

• optimize loop activity with rounded parameter / intepreter / if else logic

• optimize is screen off mechanism ( wait user stanby for opening application 1 minutes before check the screen state avoid high battery usage while checking current foreground apps

• reduce cpu interuction and prediction using __builtin_expect(!!(x), 0) and __builtin_expect(!!(x), 1)

optimize compiler parameter to take care hot / cold / pure cache for better compiler interuction using :

-__attribute__((hot))

-__attribute__((cold))

-__attribute__((pure))

######

• optimize cache alligned for better cache allocating in newer arm version using __attribute__((aligned(CACHELINE_SIZE)))

• improve system daemon mechanism for security using XOR encryption avoid rename

• adjust foreground checker interval from 5sec > 7sec for efficiency and avoid system busy Mark

• Patched pid watcher version 2.5 > 2.9 ( small changelog while scanning,reading,signal calling,signal catcher for efficiency and stability while gaming )


# - optimize main swappy_delta_api runtime

• removing debug prop :

setSystemProperty("debug.sf.prime_shader_cache.clipped_dimmed_image_layers", false);

setSystemProperty("debug.sf.prime_shader_cache.clipped_layers", false);

setSystemProperty("debug.sf.prime_shader_cache.edge_extension_shader", true);

setSystemProperty("debug.sf.prime_shader_cache.hole_punch", false);

setSystemProperty("debug.sf.prime_shader_cache.image_dimmed_layers", false);

setSystemProperty("debug.sf.prime_shader_cache.image_layers", true);

setSystemProperty("debug.sf.prime_shader_cache.pip_image_layers", false);

setSystemProperty("debug.sf.prime_shader_cache.shadow_layers", true);

setSystemProperty("debug.sf.prime_shader_cache.solid_dimmed_layers", false);

setSystemProperty("debug.sf.prime_shader_cache.solid_layers", true);

setSystemProperty("debug.sf.prime_shader_cache.transparent_image_dimmed_layers", false);

for stability and gaming experience without shuttle or sacrificing the system's built-in caching mechanisms

• improve swappy_delta_api cache memory to reduce getprop / syscall usage for reduce overhead on lowned device or reduce system busy waiting on background

• adjust script to reader using inotify wait to wait foreground changes from perf_service_api shared_window feature to reduce cpu workload on background

• improve script calculation and data prediction

• reduce syscall Shell / bash pharser replace it using native C pharser for efficiency

• better idle detection using shared_window feature from perf_service_api

• cleaning unused parameter from compiler for better binary sizing and performance running without many interuction in background

• smart memory allocating to better ram usage on background to hold gamelist memory efficienly

• remove ASM operation flag from dedicated version replace it with single efficiency cpu interuction to reduce cpu usage 40% in background

• improve data checker or grepping to make the script have better data system statistics for better calculation and frame prediction

• fixed data crash on newer android version

• adjust some idle sleep for efficiency


# - optimize ram_manager_api changelog:

• optimize daemon Run-time in background by manage is_pid_alive data allocating for faster response

• better ram free detection by add prediction model into ram manager

• repairing and adjusting or removing unused parameter from previous version for cleaner

• remove some unused command Mark it as system default are better

# - optimize dynamic_path_api Changelog:

• optimize file scanning and filtering and data allocating to reduce cpu workload

• sync with vmt_lite parameter options

• reworked file format priority for preloading important files not trash files ( log,txt,backup,cloud,etc )

• added seld-destroy after collect / scanning before run vmt_lite tools command

# - optimize vmt_lite changelog

• adjusting mmaping / mmap() for memory efficienly

- update native_lib allow preloading application library natively

- update forking, reading, writting, filtering mechanism for better cpu interuction

- optimize preloading mechanism by MADV_MERGEABLE and MADV_WILLNEED to Mark shared_memory and allow to flush ( -z feature )

- remove unused flag and complex mechanism that wastle cpu cycle

- add auto sleep / auto sigsus ( sigsuspend ) until get sigstop signal before trim the cache page

- add auto self set_background_priority to not interupt gaming session


# - optimize server api changelog:

• improving OS / Rom detection on some devices ( hyperos,miui,honoros, coloros, etc )

• add thread signal handler for async working

• improve data sending

• webui changelog :

- reworked main UI/UX for better user experience

- add OS running settings for supported OS

- better visual

- remove unused flag for compiler and add buffer memory allocation

# - misc changelog :

• adding bypass refresh rate support to honoros

• adding new miui / Hyperos OS tunnings settings ( thermal breaker, speed_mode, sched_booster )

• improve start.sh logic changelog

- using setsid for faster installer when lite mode inactive ( apply appops and system restirection on background )

- removing some unused flag in Helper function

- adding pre - apply for OS running settings for efficiency

- fixed preload cleanup while swapping betwen performance and balanced mode

-fixed and patched uninstaller script to sync with newer start.sh, etc script for fresh uninstall

# - Compiler log changelog

• replace old compiler flag parameter ( Mark as dedicated ) with new flag

- [arm64-v8a] : add -moutline-atomics for threading and checking LSE (Large System Extensions) Support for better threading,locking,etc

- change -flto=thin to full lto ( -flto )

- cleaning api metadata using llvm-objcopy

- added -fvectorize Forces the compiler to aggressively enable Auto-Vectorization (converting standard loops into SIMD/NEON instructions). applied on vmt_lite and swappy_delta_api

# - minor AXM ( AX Manager ) changelog

• new display UI, resource, etc on action button

• add auto installation after booting ( requires settings that have been set so that it can run or start automatically after rebooting )

Report Page