virsh nodeinfo doesn't report CPU frequency on s390x
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on IBM z Systems |
Fix Released
|
Medium
|
bugproxy | ||
libvirt (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
maas (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
With virsh it's possible to look-up certain CPU attributes, including CPU frequency:
on x86:
$ virsh nodeinfo
CPU model: x86_64
CPU(s): 4
CPU frequency: 600 MHz
CPU socket(s): 1
Core(s) per socket: 2
Thread(s) per core: 2
NUMA cell(s): 1
Memory size: 32543448 KiB
but on s390x CPU frequency is missing:
$ virsh nodeinfo
CPU model: s390x
CPU(s): 4
CPU socket(s): 1
Core(s) per socket: 4
Thread(s) per core: 1
NUMA cell(s): 1
Memory size: 10088212 KiB
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
$ apt-cache policy libvirt-bin
libvirt-bin:
Installed: 3.6.0-1ubuntu5~
Candidate: 3.6.0-1ubuntu5~
Version table:
*** 3.6.0-1ubuntu5~
500 http://
100 /var/lib/
1.
500 http://
1.
500 http://
Other s390x example:
$ virsh nodeinfo
CPU model: s390x
CPU(s): 20
CPU socket(s): 1
Core(s) per socket: 20
Thread(s) per core: 1
NUMA cell(s): 1
Memory size: 20402368 KiB
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 17.10
Release: 17.10
Codename: artful
$ apt-cache policy libvirt-bin
libvirt-bin:
Installed: 3.6.0-1ubuntu6
Candidate: 3.6.0-1ubuntu6
Version table:
*** 3.6.0-1ubuntu6 500
500 http://
100 /var/lib/
3.6.0-1ubuntu5 500
500 http://
MAAS (pods) look up this value - hence would be good to have it implemented for s390x, too.
Changed in ubuntu-z-systems: | |
assignee: | nobody → bugproxy (bugproxy) |
summary: |
- virsh doesn't report CPU frequency on s390x + virsh nodeinfo doesn't report CPU frequency on s390x |
tags: | added: architecture-s39064 bugnameltc-161610 severity-high targetmilestone-inin1604 |
tags: | added: libvirt-18.04 |
Changed in ubuntu-z-systems: | |
status: | Triaged → In Progress |
Changed in libvirt (Ubuntu): | |
status: | New → Fix Committed |
status: | Fix Committed → In Progress |
tags: | added: reverse-proxy-bugzilla |
Changed in ubuntu-z-systems: | |
status: | In Progress → Fix Committed |
Changed in ubuntu-z-systems: | |
importance: | Undecided → Medium |
tags: |
added: severity-medium removed: severity-high |
tags: |
added: severity-high removed: severity-medium |
Changed in ubuntu-z-systems: | |
status: | Fix Committed → Fix Released |
Changed in maas (Ubuntu): | |
status: | New → Invalid |
Hi Frank,
I see you already mirrored which is right as it just isn't implmented on s390 afaik.
But IMHO frequency these days is just as good as /dev/urandom - so I'd not be offended if somebody says "Won't fix"
A patch to drop it from all architectures would be nice thou ...
@Frank - did you have any particular use case in midn this might be useful?