This service will be undergoing maintenance at 00:00 UTC, 2017-10-23 It is expected to last about 30 minutes
Bug 1330320 - make pmdapapi counters multi-cpu
make pmdapapi counters multi-cpu
Status: NEW
Product: Fedora
Classification: Fedora
Component: pcp (Show other bugs)
25
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: pcp-maint
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-04-25 17:26 EDT by Frank Ch. Eigler
Modified: 2017-08-23 11:14 EDT (History)
7 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Frank Ch. Eigler 2016-04-25 17:26:10 EDT
It turns out that the PAPI API does not transparently implement systemwide counters for us.  We are connecting only to cpu#0.

See the papi pernode.c test case.  Key words:

granularity - PAPI_GRN_SYS_CPU
ncpu = PAPI_get_opt(PAPI_MAX_CPUS, NULL);
the resulting values[] array should be sized ncpu-multiplied & indexed.
Comment 1 Frank Ch. Eigler 2016-04-25 17:39:52 EDT
Or instead, depending on the particular version of papi, we may manually need to do PAPI_CPU_ATTACH calls for replicated EventSets & values.
Comment 2 Jan Kurik 2016-07-26 00:49:54 EDT
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle.
Changing version to '25'.

Note You need to log in before you can comment on or make changes to this bug.