Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
Need to adjust the max cpus supported number from error message since it was conflict with KVM's
Version-Release number of selected component (if applicable):
kernel-4.11.0-36.el7a.ppc64le
qemu-kvm-2.9.0-23.el7a.ppc64le
SLOF-20170303-4.git66d250e.el7.noarch
How reproducible:
3/3
Steps to Reproduce:
1.boot up with
"-smp 64,maxcpus=102464,cores=8,threads=1,sockets=8 "
qemu-kvm: Number of SMP CPUs requested (102464) exceeds max CPUs supported by machine 'pseries-rhel7.4.0alt' (1024)
2.according to the above message
"-m 6G,maxmem=300G,slots=256 -smp 64,maxcpus=1024,cores=8,threads=1,sockets=128"
Warning: Number of hotpluggable cpus requested (1024) exceeds the recommended cpus supported by KVM (176)
Number of hotpluggable cpus requested (1024) exceeds the maximum cpus supported by KVM (240)
3.
Actual results:
It seemed that 1024 was useless since KVM only support 240 so far.
Expected results:
Perhaps,we need to adjust it to an reasonable value 240 or something else if possible.
Additional info:
------- Comment From sthoufee.com 2017-12-01 05:17 EDT-------
I had found the area of code failure. Will post the patch soon..
So with the patch ,
when boot up with
it would expected to show the below message
qemu-system-ppc64: Invalid SMP CPUs 102464. The max CPUs supported by machine 'pseries-rhel7.4.0alt' is 240
Comment 4Hanns-Joachim Uhl
2017-12-01 10:45:30 UTC
oops ... the previous comment has to read:
"
I had found the area of code failure. Will post the patch soon..
So with the patch ,
when boot up with
"-smp 64,maxcpus=102464,cores=8,threads=1,sockets=8 "
qemu-kvm: Number of SMP CPUs requested (102464) exceeds max CPUs supported by machine 'pseries-rhel7.4.0alt' (1024)
it would expected to show the below message
qemu-system-ppc64: Invalid SMP CPUs 102464. The max CPUs supported by machine 'pseries-rhel7.4.0alt' is 240
"
...
Downstream only fix posted. As noted in the notes for that patch, using the maximum number of vcpus (384) requires threads=2 or greater.
Min, can you file a different bug to track the case of -smp 384,threads=1
Reproduce the issue on old version:
Version-Release number of selected component (if applicable):
qemu-kvm-rhev-2.10.0-10.el7.ppc64le
Steps to Reproduce:
1.boot up with "-smp 64,maxcpus=102464,cores=8,threads=1,sockets=8 "
qemu-kvm: Invalid SMP CPUs 102464. The max CPUs supported by machine 'pseries-rhel7.5.0' is 1024
2.according to the above message
"-smp 64,maxcpus=1024,cores=8,threads=1,sockets=128"
Warning: Number of hotpluggable cpus requested (1024) exceeds the recommended cpus supported by KVM (144)
Number of hotpluggable cpus requested (1024) exceeds the maximum cpus supported by KVM (240)
Verified the issue on the latest build:
Version-Release number of selected component (if applicable):
qemu-kvm-rhev-2.10.0-11.el7.ppc64le
Steps to Reproduce:
1.The same steps as above
Actual results:
1.qemu-kvm: Invalid SMP CPUs 102464. The max CPUs supported by machine 'pseries-rhel7.5.0' is 384
2.qemu-kvm: Invalid SMP CPUs 1024. The max CPUs supported by machine 'pseries-rhel7.5.0' is 384
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHSA-2018:1104