- Последний пост
- 11 мар. 2025 г.
- Последнее чтение
- 14 авг.
- Постов за неделю
- 0
- Всего постов
- 12
- Тип
- открытый
- Язык
- английский
- В каталоге с
- 14 авг.
- 1/24сутки в ленте
- —
- 1/48двое суток
- —
- 1/72трое суток
- —
Оценка по просмотрам недавних постов: пост набирает почти всё за первые сутки.
Посты
Document about CPU Idle https://www.cnblogs.com/sky-heaven/p/15938093.html by SkyZhang
Low Memory Killer Properties https://android.googlesource.com/platform/system/memory/lmkd/+/master/README.md https://source.android.com/docs/core/perf/lmkd?hl=id https://android.googlesource.com/platform/system/memory/lmkd/+/refs/tags/android-15.0.0_r10
Surfaceflinger Properties https://android.googlesource.com/platform/frameworks/native/+/master/services/surfaceflinger/sysprop/SurfaceFlingerProperties.sysprop https://android.googlesource.com/platform/frameworks/native/+/refs/heads/main/services/surfaceflinger/common/FlagManager.cpp https://android.googlesource.com/platform/frameworks/native/+/refs/heads/main/services/surfaceflinger/SurfaceFlinger.cpp https://android.googlesource.com/platform/frameworks/native/+/refs/heads/main/services/surfaceflinger/Scheduler/VsyncConfiguration.cpp Function Every Prop https://android.googlesource.com/platform/frameworks/native/+/refs/heads/main/services/surfaceflinger/surfaceflinger_flags.aconfig https://android.googlesource.com/platform/frameworks/native/+/refs/heads/main/services/surfaceflinger/surfaceflinger_flags_new.aconfig
без подписи
Mali GPU Has intraslot, interslot, and Full. Default is None [ Intraslot Serialzation ] • Definition: Serialization of tasks within a single job slot. • Use Case: Ensures that tasks submitted to the same GPU slot are executed in sequence without overlapping. • Benefits: Prevents conflicts when multiple tasks are queued for the same slot. Helps in maintaining predictable execution patterns for specific workloads. [ Interslot Serialzation ] • Definition: Serialization of tasks across multiple job slots. • Use Case: Ensures that tasks spanning multiple GPU slots do not interfere or execute simultaneously in an unmanaged manner. • Benefits: Synchronizes workloads across slots to prevent resource contention. Useful for applications requiring strict execution order between slots. [ Full Serialzation ] • Definition: A mode where the entire slot is allocated to a single job, ensuring that no other task competes for resources within the same slot. • Purpose: Maximizes performance for intensive workloads by avoiding resource contention within a slot. • Benefits: Reduces latency for high-priority tasks. Improves frame rendering times for graphics-heavy applications like games. Provides consistent and predictable execution. [CMIIW]
Implement GPU Scheduling & Serialization https://maxcloudon.com/hardware-accelerated-gpu-scheduling/ if you're using a single GPU, the multiple processes attempting to use the GPU will be queued up and run one at a time rather than some or all being run in parallel. If you have multiple GPUs some of the processes can be run at the same time. Implement on Mali GPU : mali_dir=$(ls -d /sys/devices/platform/soc/*mali*/scheduling 2>/dev/null | head -n 1) mali1_dir=$(ls -d /sys/devices/platform/soc/*mali* 2>/dev/null | head -n 1) apply_setting() { if [ -e "$1" ]; then echo "$2" > "$1" && echo "Applied $2 to $1" fi } if [ -n "$mali_dir" ]; then apply_setting "$mali_dir/serialize_jobs" "full" fi if [ -n "$mali1_dir" ]; then apply_setting "$mali1_dir/js_ctx_scheduling_mode" "1" fi exit 0 ....
CPU All Architecture Mediatek # Set permissions and manage cluster frequencies chmod 644 /sys/devices/system/cpu/*/cpufreq/scaling_max_freq chmod 644 /sys/devices/system/cpu/*/cpufreq/scaling_min_freq cluster=0 for pathcpu in /sys/devices/system/cpu/cpufreq/policy*; do max_freq=$(cat "$pathcpu/scaling_available_frequencies" | cut -d' ' -f1) min_freq=$(cat "$pathcpu/scaling_available_frequencies" | awk '{print $NF}') echo "$cluster $min_freq" > /proc/ppm/policy/hard_userlimit_min_cpu_freq echo "$cluster $max_freq" > /proc/ppm/policy/hard_userlimit_max_cpu_freq cluster=$(($cluster + 1)) done # Set individual CPU frequencies for cpu in /sys/devices/system/cpu/cpu[0-7]; do [ ! -d "$cpu/cpufreq" ] && continue freqscpu=$(cat "$cpu/cpufreq/scaling_available_frequencies" 2>/dev/null) || continue max_freq=$(echo "$freqscpu" | cut -d' ' -f1) min_freq=$(echo "$freqscpu" | awk '{print $NF}') if echo "$max_freq" > "$cpu/cpufreq/scaling_max_freq"; then echo "CPU $cpu: max freq set to $max_freq" fi if echo "$min_freq" > "$cpu/cpufreq/scaling_min_freq"; then echo "CPU $cpu: min freq set to $min_freq" fi done chmod 444 /sys/devices/system/cpu/*/cpufreq/scaling_max_freq chmod 444 /sys/devices/system/cpu/*/cpufreq/scaling_min_freq • Replace $max_freq on scaling_min_freq To Force lock Highest All Freq • Replace $min_freq on scaling_max_freq To Force lock Lowest All Freq
GPU DevFreq (DDR) chmod 644 /sys/class/devfreq/*/* for gpu in /sys/class/devfreq/*; do [ ! -e "$gpu/cur_freq" ] && continue [ ! -e "$gpu/available_frequencies" ] && continue gpufreqs=$(cat "$gpu/available_frequencies" 2>/dev/null) [ -z "$gpufreqs" ] && continue max_freq1=$(echo "$gpufreqs" | cut -d' ' -f1) min_freq1=$(echo "$gpufreqs" | awk '{print $NF}') if echo "$max_freq1" > "$gpu/max_freq"; then echo "CPU $gpu: max freq set to $max_freq1" fi if echo "$min_freq1" > "$gpu/max_freq"; then echo "CPU $gpu: max freq set to $min_freq1" fi max_freq2=$(echo "$freqs" | awk '{print $NF}') min_freq2=$(echo "$freqs" | cut -d' ' -f1) if echo "$max_freq2" > "$gpu/min_freq"; then echo "CPU $gpu: min freq set to $max_freq2" fi if echo "$min_freq2" > "$gpu/min_freq"; then echo "CPU $gpu: min freq set to $min_freq2" fi done Lock Max Freq function Devfreq on GPU
DeviceTools is an incredible shell script developed by xdLane that provides comprehensive device information and utility functions for Android devices. Here's why it's so cool: 🔍 Device Insights at Your Fingertips: - Instantly displays detailed device specifications - Shows real-time system information like device temperature, battery stats, and hardware details - Provides a complete overview of your Android system, including: * Manufacturer and model details * Android version and API levels * Security patch information * Build details * RAM and process information * CPU and GPU specifications 🛠️ Powerful Utility Features: - Debloater function to easily uninstall or reinstall apps - System cleaner to remove cache files and unnecessary data - User-friendly terminal interface with color-coded information - Quick access to critical system diagnostics 💡 Unique Highlights: - Supports multiple system paths for app detection - Displays ZRAM configuration and memory management details - Shows kernel information and device uptime Whether you're a power user, developer, or just curious about your device's inner workings, DeviceTools offers an intuitive and comprehensive system exploration tool! 🚀📱 Developer ---> @xdlane Screenshots ---> https://t.me/rootartg/1/118558 DOWNLOAD NOW DOWNLOAD NOW DOWNLOAD NOW
Render Properties https://github.com/icsnju/android-screen/blob/master/libs/hwui/Properties.h https://android.googlesource.com/platform/frameworks/base/+/904e596/libs/hwui/Properties.h https://android.googlesource.com/platform/frameworks/base/+/ad8bdda8dfe0a374d6716bc7d68aa24ccf89f3e9/libs/hwui/Properties.h https://android.googlesource.com/platform/frameworks/base/+/534a67c/core/java/android/view/HardwareRenderer.java https://android.googlesource.com/platform/frameworks/base/+/refs/heads/aml_ads_341826060/core/java/android/view/ThreadedRenderer.java
Render Backend (SkiaGLThreads, SkiaVKThreads, Threads) https://android.googlesource.com/platform//frameworks/native/+/01a2daf1ef992e123b20a0a20469ff07c1ef350c/libs/renderengine
Channel created