You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
cpuidle: cpuidle-apple: Reduce target residency for CPU Power Down state - #532
This patch reduces the target_residency of the "CPU PD" (Power Down) state from 10,000µs (10ms) to 1,500µs (1.5ms) to allow the CPU/cluster to enter the deeper idle state more aggressively during short idle windows.
Technical Justification
Overestimated Residency: The current value of 10,000µs is excessively high for a modern core architecture like Apple Silicon. Given that the exit_latency is only 10µs, the energy break-even point (the minimum time required to offset the power cost of entering and exiting the power-down state) is much lower than 10ms.
Energy Efficiency in Shallow Idle Patches:
With a 10ms target residency, the kernel's cpuidle governor (menu or teo) frequently falls back to shallower idle states (or fails to power down the cluster) during typical bursty workloads, even when the CPU could have safely powered down and saved power.
Alignment with Practical Latency:
Lowering the threshold to 1,500µs ensures a better balance. It allows the cpuidle governor to select the "CPU PD" state more dynamically during short intervals, significantly improving battery life and thermal efficiency without introducing regression in latency overhead.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
just a minor patch...still okay to be rejected..