summaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorJacob Tanenbaum <jtanenba@redhat.com>2015-10-22 15:17:05 (GMT)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-11-02 01:28:59 (GMT)
commit20102ac5bee3c7c1ffff43f220e37328b6fffd16 (patch)
tree811e4750b4ae16145cd7b103cdaf1f2a18c21a4f /virt
parent32b88194f71d6ae7768a29f87fbba454728273ee (diff)
downloadlinux-20102ac5bee3c7c1ffff43f220e37328b6fffd16.tar.xz
cpupower: cpupower monitor reports uninitialized values for offline cpus
[root@hp-dl980g7-02 linux]# cpupower monitor ... 5472| 0| 1|******|******|******|******|| 0.00| 0.00| 0.00| 0.00| 0.00 *is offline 10567| 0| 159|******|******|******|******|| 0.00| 0.00| 0.00| 0.00| 0.00 *is offline 1661206560|859272560| 150|******|******|******|******|| 0.00| 0.00| 0.00| 0.00| 0.00 *is offline 1661206560|943093104| 140|******|******|******|******|| 0.00| 0.00| 0.00| 0.00| 0.00 *is offline because of this cpupower also holds the incorrect value for the number of physical packages in the machine Changed cpupower to initialize the values of an offline cpu's socket and core to -1, warn the user that one or more cpus is/are offline and not print statistics for offline cpus. This fix hides offlined cores where topology cannot be accessed. With a recent kernel patch suggested from Prarit Bhargava it may be possible that soft offlined cores' topology can still be parsed. This patch would then show which cores in which package/socket are offline, when sane toplogoy information is available. Signed-off-by: Jacob Tanenbaum <jtanenba@redhat.com> Signed-off-by: Thomas Renninger <trenn@suse.de> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions