Bug 691743
| Summary: | s390x /proc/cpuinfo returns wrong number of processors on RHEL6 | ||
|---|---|---|---|
| Product: | [Community] Candlepin | Reporter: | Miroslav Suchý <msuchy> |
| Component: | candlepin | Assignee: | Bryan Kearney <bkearney> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | John Sefler <jsefler> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 0.5 | CC: | alikins, mminar |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 680124 | Environment: | |
| Last Closed: | 2013-11-22 23:14:45 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 680124 | ||
| Bug Blocks: | 862910, 863175 | ||
|
Description
Miroslav Suchý
2011-03-29 11:27:18 UTC
Since RHEL 6.1 External Beta has begun, and this bug remains unresolved, it has been rejected as it is not proposed as exception or blocker. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. Subscription-manager already uses count of /sys/devices/system/cpu/cpuN entries for the cpu count, so I don't think we need to change anything. This should be the number of available cpus at the time? We don't collect online cpu info. Previously the cpu count info was just informational, it didn't factor into entitlement selection (as opposed to "sockets"). However, new entitlements can be based on cpu "cores", which the total cpu count does factor in. I am unsure if entitlement "cores" is for "available" or "online" cpus for s390x cases. On RHEL6, we also collect info from lscpu as well, but that is also informational, we don't base any entitlement calculations on it. Moving to CLOSED. Determination for the number of processors on a system is done by the subscription-manager component and displayed in its facts list. Several other bugs that address the processor facts calculations on s390 have already been opened and resolved. To see what subscription-manager regards as the number of processors on your s390x system run... [root@ibm-z10-16 ~]# subscription-manager facts --list | egrep "^cpu." cpu.book(s): 2 cpu.book(s)_per_cpu: 1 cpu.core(s)_per_socket: 1 cpu.cpu(s): 2 cpu.cpu_socket(s): 2 cpu.socket(s)_per_book: 1 cpu.thread(s)_per_core: 1 cpu.topology_source: s390 book_siblings_list |