Implement "efficient cores only" on cpuhotplug plugin#206
Closed
nwildner wants to merge 2 commits intorickysarraf:lmt-upstreamfrom
Closed
Implement "efficient cores only" on cpuhotplug plugin#206nwildner wants to merge 2 commits intorickysarraf:lmt-upstreamfrom
nwildner wants to merge 2 commits intorickysarraf:lmt-upstreamfrom
Conversation
Author
|
@rickysarraf , what do you think? I'm using this for the last week and it seems pretty stable so far :) |
Author
|
Ok. Closing this pull request since the owner doesn't look interested on keeping this anymore. PRs are just lingering here. |
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Hello,
I'm submitting this feature where if
DISABLE_AVAILABLE_CPU="performance"is set, the cores with higher maximum frequencies(Performance Cores) and their hyperthreading cores will be disabled, keeping only the ones with lower max frequencies(Efficient cores) enabled. To play safe here, I'll not hotplugcpu0andcpu1since they could be running kernel stuff(andcpu1is usually HT ofcpu0, have to confirm withlscpu -e)In my case, I have a
Intel Core i7-12650H, and when this is configured, the only cores enabled on battery will be cpu0, cpu1, cpu12, cpu13, cpu14, cpu15. The last four are Efficient and work at a max of 3.5GHz, while the other cores work at 4.7GHzAlready tested on my laptop and this is what I get when using this setting:
There are some processors which have cores with Max Boost and have like 3 different max frequencies(4.9, 4.7 and 4.0Ghz for example). This plugin update will only enable the lower max frequency cores, if more than 2 are provided.