Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cpukinds: add some ranking/efficiency heuristics
We first look at the forced efficiency if any (provided by Windows 10 only for now). Otherwise, we use the coretype (IntelAtom or IntelCore) and frequencies to define efficiencies (base frequency if available, max frequency otherwise). On ARM, we only use frequencies since there is no information about core type. It's not clear how things will evolve in the future, so we have several other heuristics that may be enbaled through the HWLOC_CPUKINDS_RANKING env var (coretype+frequency/coretype/frequency/frequency_max/frequency_base/ forced_efficiency/no_forced_efficiency/none). Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
- Loading branch information
Showing
9 changed files
with
324 additions
and
12 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.