Skip to content
Success

Changes

Summary

  1. linux/cpukinds: use the actually efficiency when values look OK (commit: 6fabe8a) (details)
  2. linux/cpukinds: adjust cpu capacity when they vary between identical cores (commit: fb53201) (details)
  3. test-gather-topology: disable Misc objects (commit: 7776a02) (details)
  4. contrib/ci/sonarqube: Fix some warnings (commit: 872d762) (details)
  5. xml/import: remove some remnants from v1.x import (commit: dcfc86f) (details)
Commit 6fabe8a5e31f7d7617d322c789520038d9f50d2a by Brice.Goglin
linux/cpukinds: use the actually efficiency when values look OK

We sort by backend-provided efficiencies but exposed indexes
as actual efficiencies. Expose the backend efficiencies as
long as they fit in our ints (which is the case in Linux so far,
since frequencies are in MHz and capacities are 1024 max).

Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
(commit: 6fabe8a)
The file was modifiedhwloc/topology-linux.c (diff)
The file was modifiedtests/hwloc/linux/fakeheterocpunuma.xml (diff)
Commit fb5320147da9cd2ba8d02f61778fb6fa6af4501c by Brice.Goglin
linux/cpukinds: adjust cpu capacity when they vary between identical cores

We already adjust CPU max_frequencies that may slightly vary between
identical cores because of Turboboost3. Upcoming Linux kernel will expose
the "capacity" sysfs field for x86 CPUs, and that one varies with
max frequency too. So update capacities when we adjust max_frequencies
(both down).

Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
(commit: fb53201)
The file was modifiedhwloc/topology-linux.c (diff)
The file was modifieddoc/hwloc.doxy (diff)
Commit 7776a02c250324aa020d1d030c8927c0db408d82 by Brice.Goglin
test-gather-topology: disable Misc objects

MemoryModules are only reported when DMI sysfs is enabled
and accessible, ie as root.
But we don't gather DMI info in the test, hence a run as root
fails because the default lstopo gets them while lstopo on the
dump doesn't.
Just ignore Misc objects since this doesn't matter much here.

Thanks to Andrew Phelps for the report.

Closes #719

Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
(commit: 7776a02)
The file was modifiedtests/hwloc/linux/gather/test-gather-topology.sh.in (diff)
Commit 872d762afe651206eacb43c9f20a1ca6263a1b15 by Brice.Goglin
contrib/ci/sonarqube: Fix some warnings

  SCM provider autodetection failed. Please use "sonar.scm.provider"
  to define SCM of your project, or disable the SCM Sensor in the
  project settings.

  The property 'sonar.login' is deprecated and will be removed in
  the future. Please use the 'sonar.token' property instead when
  passing a token.

Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
(commit: 872d762)
The file was modifiedcontrib/ci.inria.fr/job-3-sonarscanner.sh (diff)
Commit dcfc86fb1ba57b84fa8898368ee1aa211d46f997 by Brice.Goglin
xml/import: remove some remnants from v1.x import

Signed-off-by: Brice Goglin <Brice.Goglin@inria.fr>
(commit: dcfc86f)
The file was modifiedhwloc/topology-xml.c (diff)