Discussion:
[Ptools-perfapi] PAPI and Perf Event Uncore Tests
Suman, Preeti
2015-06-03 19:33:36 UTC
Permalink
Hi,

I emailed to the list before but have not received any response back. Please let me know your thoughts on this subject. I'm wondering if I can get some suggestions.

Thanks,
Preeti

-----Original Message-----
Date: Sat, 30 May 2015 08:49:37 +0000
From: "Suman, Preeti" <***@intel.com>
To: "ptools-***@eecs.utk.edu" <ptools-***@eecs.utk.edu>
Subject: [Ptools-perfapi] PAPI and Perf Events Uncore Tests
Message-ID:
<***@ORSMSX101.amr.corp.intel.com>
Content-Type: text/plain; charset="us-ascii"

Hi,
I have recently started working with PAPI 5.4.1 on my system. I have several questions specified below regarding perf_event_uncore tests.

System specification:
Kernel Version: Linux 3.10.0-229.el7.x86_64 Operating System: CentOS Linux release 7.1.1503
CPU: Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz (Haswell-EP)
Architecture:x86_64
Compiler: GCC 4.8.3

####BEGIN papi_component_avail:

$ papi_component_avail
Available components and hardware information.
--------------------------------------------------------------------------------
PAPI Version : 5.4.1.0
Vendor string and code : GenuineIntel (1)
Model string and code : Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz (63)
CPU Revision : 2.000000
CPUID Info : Family: 6 Model: 63 Stepping: 2
CPU Max Megahertz : 2400
CPU Min Megahertz : 1200
Hdw Threads per core : 2
Cores per Socket : 8
Sockets : 2
NUMA Nodes : 2
CPUs per Node : 16
Total CPUs : 32
Running in a VM : no
Number Hardware Counters : 11
Max Multiplex Counters : 128
--------------------------------------------------------------------------------
Compiled-in components:
Name: perf_event Linux perf_event CPU counters
Name: perf_event_uncore Linux perf_event CPU uncore and northbridge
\-> Disabled: No uncore PMUs or events found

Active components:
Name: perf_event Linux perf_event CPU counters
Native: 159, Preset: 56, Counters: 11
PMU's supported: ix86arch, perf, perf_raw, hsw_ep


--------------------------------------------------------------------------------
component.c PASSED

####END papi_component_avail

Component tests for perf_event_uncore are skipped for the following reasons.

Running components/perf_event/tests/perf_event_offcore_response:perf_event_offcore_response.c SKIPPED (Error in PAPI does not support offcore on this processor: Not supported)
Running components/perf_event/tests/perf_event_system_wide:perf_event_system_wide.c PASSED
Running components/perf_event/tests/perf_event_user_kernel:perf_event_user_kernel.c PASSED
Running components/perf_event_uncore/tests/perf_event_uncore:perf_event_uncore.c SKIPPED (Error calculating: uncore component disabled)
Running components/perf_event_uncore/tests/perf_event_uncore_multiple:perf_event_uncore_multiple.c SKIPPED (Error calculating: uncore component disabled)
Running components/perf_event_uncore/tests/perf_event_amd_northbridge:perf_event_amd_northbridge.c SKIPPED (Error calculating: Test only for AMD processor)
Running components/perf_event_uncore/tests/perf_event_uncore_cbox:perf_event_uncore_cbox.c SKIPPED (Error in We only support IVB and SNB-EP for now: Not supported)

Two tests for perf_event_uncore are skipped because "uncore component is disabled". Here are few questions:
a) Why are the perf_event_uncore tests skipped?
b) How do I make sure the machine supports perf_event_uncore? I have tried the following:
$ ls /sys/devices/uncore*
ls: No match.
c) How to enable perf_event_uncore?
d) In a similar question on the developer mailing list (Wed Mar 11 09:56:56 EDT 2015, Title: Haswell-EP uncore support, https://lists.eecs.utk.edu/pipermail/perfapi-devel/2015-March/006950.html),
it was mentioned that "Papi depends on libpfm4 support and it looks like libpfm4 currently does not have support for haswell or haswell-ep uncore events". Is this still true or is there an alternative?


Will greatly appreciate the response.

Thanks,
Preeti

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.eecs.utk.edu/pipermail/ptools-perfapi/attachments/20150530/20f8bb25/attachment-0001.html>

------------------------------

_______________________________________________
Ptools-perfapi mailing list
Ptools-***@eecs.utk.edu
http://lists.eecs.utk.edu/mailman/listinfo/ptools-perfapi


End of Ptools-perfapi Digest, Vol 112, Issue 29
***********************************************
Heike McCraw
2015-06-03 21:16:41 UTC
Permalink
HWP-EP support for uncore PMUs is not yet implemented in libpfm4.
I believe Stephane is working hard to get it into the repository soon.

Heike
Post by Suman, Preeti
Hi,
I emailed to the list before but have not received any response back.
Please let me know your thoughts on this subject. I'm wondering if I can
get some suggestions.
Thanks,
Preeti
-----Original Message-----
Date: Sat, 30 May 2015 08:49:37 +0000
Subject: [Ptools-perfapi] PAPI and Perf Events Uncore Tests
<
Content-Type: text/plain; charset="us-ascii"
Hi,
I have recently started working with PAPI 5.4.1 on my system. I have
several questions specified below regarding perf_event_uncore tests.
Kernel Version: Linux 3.10.0-229.el7.x86_64 Operating System: CentOS Linux release 7.1.1503
Architecture:x86_64
Compiler: GCC 4.8.3
$ papi_component_avail
Available components and hardware information.
--------------------------------------------------------------------------------
PAPI Version : 5.4.1.0
Vendor string and code : GenuineIntel (1)
CPU Revision : 2.000000
CPUID Info : Family: 6 Model: 63 Stepping: 2
CPU Max Megahertz : 2400
CPU Min Megahertz : 1200
Hdw Threads per core : 2
Cores per Socket : 8
Sockets : 2
NUMA Nodes : 2
CPUs per Node : 16
Total CPUs : 32
Running in a VM : no
Number Hardware Counters : 11
Max Multiplex Counters : 128
--------------------------------------------------------------------------------
Name: perf_event Linux perf_event CPU counters
Name: perf_event_uncore Linux perf_event CPU uncore and northbridge
\-> Disabled: No uncore PMUs or events found
Name: perf_event Linux perf_event CPU counters
Native: 159, Preset: 56, Counters: 11
PMU's supported: ix86arch, perf, perf_raw, hsw_ep
--------------------------------------------------------------------------------
component.c PASSED
####END papi_component_avail
Component tests for perf_event_uncore are skipped for the following reasons.
Running
components/perf_event/tests/perf_event_offcore_response:perf_event_offcore_response.c
SKIPPED (Error in PAPI does not support offcore on this processor: Not
supported)
Running
components/perf_event/tests/perf_event_system_wide:perf_event_system_wide.c
PASSED
Running
components/perf_event/tests/perf_event_user_kernel:perf_event_user_kernel.c
PASSED
Running
components/perf_event_uncore/tests/perf_event_uncore:perf_event_uncore.c
SKIPPED (Error calculating: uncore component disabled)
Running
components/perf_event_uncore/tests/perf_event_uncore_multiple:perf_event_uncore_multiple.c
SKIPPED (Error calculating: uncore component disabled)
Running
components/perf_event_uncore/tests/perf_event_amd_northbridge:perf_event_amd_northbridge.c
SKIPPED (Error calculating: Test only for AMD processor)
Running
components/perf_event_uncore/tests/perf_event_uncore_cbox:perf_event_uncore_cbox.c
Not supported)
Two tests for perf_event_uncore are skipped because "uncore component is
a) Why are the perf_event_uncore tests skipped?
$ ls /sys/devices/uncore*
ls: No match.
c) How to enable perf_event_uncore?
d) In a similar question on the developer mailing list (Wed Mar 11
09:56:56 EDT 2015, Title: Haswell-EP uncore support,
https://lists.eecs.utk.edu/pipermail/perfapi-devel/2015-March/006950.html
),
it was mentioned that "Papi depends on libpfm4 support and it looks like
libpfm4 currently does not have support for haswell or haswell-ep uncore
events". Is this still true or is there an alternative?
Will greatly appreciate the response.
Thanks,
Preeti
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
https://lists.eecs.utk.edu/pipermail/ptools-perfapi/attachments/20150530/20f8bb25/attachment-0001.html
------------------------------
_______________________________________________
Ptools-perfapi mailing list
http://lists.eecs.utk.edu/mailman/listinfo/ptools-perfapi
End of Ptools-perfapi Digest, Vol 112, Issue 29
***********************************************
_______________________________________________
Ptools-perfapi mailing list
http://lists.eecs.utk.edu/mailman/listinfo/ptools-perfapi
--
___________________________________
Heike McCraw
Innovative Computing Laboratory (ICL)
University of Tennessee, Knoxville (UTK)
e-mail: ***@icl.utk.edu
phone: +1 865 974 8057
fax: +1 865 974 8296
Knapp, Rashawn L
2015-06-03 21:33:25 UTC
Permalink
This is good news for Haswell-EP. We have a team here at Intel which is also working to enable this support. Stephane, are you collaborating with anyone at Intel?

Regards,

Rashawn
From: ptools-perfapi-***@eecs.utk.edu [mailto:ptools-perfapi-***@eecs.utk.edu] On Behalf Of Heike McCraw
Sent: Wednesday, June 03, 2015 2:17 PM
To: Suman, Preeti
Cc: ptools-***@eecs.utk.edu
Subject: Re: [Ptools-perfapi] PAPI and Perf Event Uncore Tests

HWP-EP support for uncore PMUs is not yet implemented in libpfm4.
I believe Stephane is working hard to get it into the repository soon.
Heike




On Wed, Jun 3, 2015 at 3:33 PM, Suman, Preeti <***@intel.com<mailto:***@intel.com>> wrote:
Hi,

I emailed to the list before but have not received any response back. Please let me know your thoughts on this subject. I'm wondering if I can get some suggestions.

Thanks,
Preeti

-----Original Message-----
Date: Sat, 30 May 2015 08:49:37 +0000
From: "Suman, Preeti" <***@intel.com<mailto:***@intel.com>>
To: "ptools-***@eecs.utk.edu<mailto:ptools-***@eecs.utk.edu>" <ptools-***@eecs.utk.edu<mailto:ptools-***@eecs.utk.edu>>
Subject: [Ptools-perfapi] PAPI and Perf Events Uncore Tests
Message-ID:
<***@ORSMSX101.amr.corp.intel.com<mailto:***@ORSMSX101.amr.corp.intel.com>>
Content-Type: text/plain; charset="us-ascii"

Hi,
I have recently started working with PAPI 5.4.1 on my system. I have several questions specified below regarding perf_event_uncore tests.

System specification:
Kernel Version: Linux 3.10.0-229<tel:3.10.0-229>.el7.x86_64 Operating System: CentOS Linux release 7.1.1503
CPU: Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz (Haswell-EP)
Architecture:x86_64
Compiler: GCC 4.8.3

####BEGIN papi_component_avail:

$ papi_component_avail
Available components and hardware information.
--------------------------------------------------------------------------------
PAPI Version : 5.4.1.0
Vendor string and code : GenuineIntel (1)
Model string and code : Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz (63)
CPU Revision : 2.000000
CPUID Info : Family: 6 Model: 63 Stepping: 2
CPU Max Megahertz : 2400
CPU Min Megahertz : 1200
Hdw Threads per core : 2
Cores per Socket : 8
Sockets : 2
NUMA Nodes : 2
CPUs per Node : 16
Total CPUs : 32
Running in a VM : no
Number Hardware Counters : 11
Max Multiplex Counters : 128
--------------------------------------------------------------------------------
Compiled-in components:
Name: perf_event Linux perf_event CPU counters
Name: perf_event_uncore Linux perf_event CPU uncore and northbridge
\-> Disabled: No uncore PMUs or events found

Active components:
Name: perf_event Linux perf_event CPU counters
Native: 159, Preset: 56, Counters: 11
PMU's supported: ix86arch, perf, perf_raw, hsw_ep


--------------------------------------------------------------------------------
component.c PASSED

####END papi_component_avail

Component tests for perf_event_uncore are skipped for the following reasons.

Running components/perf_event/tests/perf_event_offcore_response:perf_event_offcore_response.c SKIPPED (Error in PAPI does not support offcore on this processor: Not supported)
Running components/perf_event/tests/perf_event_system_wide:perf_event_system_wide.c PASSED
Running components/perf_event/tests/perf_event_user_kernel:perf_event_user_kernel.c PASSED
Running components/perf_event_uncore/tests/perf_event_uncore:perf_event_uncore.c SKIPPED (Error calculating: uncore component disabled)
Running components/perf_event_uncore/tests/perf_event_uncore_multiple:perf_event_uncore_multiple.c SKIPPED (Error calculating: uncore component disabled)
Running components/perf_event_uncore/tests/perf_event_amd_northbridge:perf_event_amd_northbridge.c SKIPPED (Error calculating: Test only for AMD processor)
Running components/perf_event_uncore/tests/perf_event_uncore_cbox:perf_event_uncore_cbox.c SKIPPED (Error in We only support IVB and SNB-EP for now: Not supported)

Two tests for perf_event_uncore are skipped because "uncore component is disabled". Here are few questions:
a) Why are the perf_event_uncore tests skipped?
b) How do I make sure the machine supports perf_event_uncore? I have tried the following:
$ ls /sys/devices/uncore*
ls: No match.
c) How to enable perf_event_uncore?
d) In a similar question on the developer mailing list (Wed Mar 11 09:56:56 EDT 2015, Title: Haswell-EP uncore support, https://lists.eecs.utk.edu/pipermail/perfapi-devel/2015-March/006950.html),
it was mentioned that "Papi depends on libpfm4 support and it looks like libpfm4 currently does not have support for haswell or haswell-ep uncore events". Is this still true or is there an alternative?


Will greatly appreciate the response.

Thanks,
Preeti

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.eecs.utk.edu/pipermail/ptools-perfapi/attachments/20150530/20f8bb25/attachment-0001.html>

------------------------------

_______________________________________________
Ptools-perfapi mailing list
Ptools-***@eecs.utk.edu<mailto:Ptools-***@eecs.utk.edu>
http://lists.eecs.utk.edu/mailman/listinfo/ptools-perfapi


End of Ptools-perfapi Digest, Vol 112, Issue 29
***********************************************
_______________________________________________
Ptools-perfapi mailing list
Ptools-***@eecs.utk.edu<mailto:Ptools-***@eecs.utk.edu>
http://lists.eecs.utk.edu/mailman/listinfo/ptools-perfapi
--
___________________________________
Heike McCraw
Innovative Computing Laboratory (ICL)
University of Tennessee, Knoxville (UTK)
e-mail: ***@icl.utk.edu<mailto:***@icl.utk.edu>
phone: +1 865 974 8057
fax: +1 865 974 8296
Stephane Eranian
2015-06-04 22:39:24 UTC
Permalink
Post by Knapp, Rashawn L
This is good news for Haswell-EP. We have a team here at Intel which is
also working to enable this support. Stephane, are you collaborating with
anyone at Intel?
I pushed the patch to add HSW-EP uncore PMU support now.
Post by Knapp, Rashawn L
Regards,
Rashawn
*Sent:* Wednesday, June 03, 2015 2:17 PM
*To:* Suman, Preeti
*Subject:* Re: [Ptools-perfapi] PAPI and Perf Event Uncore Tests
HWP-EP support for uncore PMUs is not yet implemented in libpfm4.
I believe Stephane is working hard to get it into the repository soon.
Heike
Hi,
I emailed to the list before but have not received any response back.
Please let me know your thoughts on this subject. I'm wondering if I can
get some suggestions.
Thanks,
Preeti
-----Original Message-----
Date: Sat, 30 May 2015 08:49:37 +0000
Subject: [Ptools-perfapi] PAPI and Perf Events Uncore Tests
<
Content-Type: text/plain; charset="us-ascii"
Hi,
I have recently started working with PAPI 5.4.1 on my system. I have
several questions specified below regarding perf_event_uncore tests.
Kernel Version: Linux 3.10.0-229.el7.x86_64 Operating System: CentOS Linux release 7.1.1503
Architecture:x86_64
Compiler: GCC 4.8.3
$ papi_component_avail
Available components and hardware information.
--------------------------------------------------------------------------------
PAPI Version : 5.4.1.0
Vendor string and code : GenuineIntel (1)
CPU Revision : 2.000000
CPUID Info : Family: 6 Model: 63 Stepping: 2
CPU Max Megahertz : 2400
CPU Min Megahertz : 1200
Hdw Threads per core : 2
Cores per Socket : 8
Sockets : 2
NUMA Nodes : 2
CPUs per Node : 16
Total CPUs : 32
Running in a VM : no
Number Hardware Counters : 11
Max Multiplex Counters : 128
--------------------------------------------------------------------------------
Name: perf_event Linux perf_event CPU counters
Name: perf_event_uncore Linux perf_event CPU uncore and northbridge
\-> Disabled: No uncore PMUs or events found
Name: perf_event Linux perf_event CPU counters
Native: 159, Preset: 56, Counters: 11
PMU's supported: ix86arch, perf, perf_raw, hsw_ep
--------------------------------------------------------------------------------
component.c PASSED
####END papi_component_avail
Component tests for perf_event_uncore are skipped for the following reasons.
Running
components/perf_event/tests/perf_event_offcore_response:perf_event_offcore_response.c
SKIPPED (Error in PAPI does not support offcore on this processor: Not
supported)
Running
components/perf_event/tests/perf_event_system_wide:perf_event_system_wide.c
PASSED
Running
components/perf_event/tests/perf_event_user_kernel:perf_event_user_kernel.c
PASSED
Running
components/perf_event_uncore/tests/perf_event_uncore:perf_event_uncore.c
SKIPPED (Error calculating: uncore component disabled)
Running
components/perf_event_uncore/tests/perf_event_uncore_multiple:perf_event_uncore_multiple.c
SKIPPED (Error calculating: uncore component disabled)
Running
components/perf_event_uncore/tests/perf_event_amd_northbridge:perf_event_amd_northbridge.c
SKIPPED (Error calculating: Test only for AMD processor)
Running
components/perf_event_uncore/tests/perf_event_uncore_cbox:perf_event_uncore_cbox.c
Not supported)
Two tests for perf_event_uncore are skipped because "uncore component is
a) Why are the perf_event_uncore tests skipped?
$ ls /sys/devices/uncore*
ls: No match.
c) How to enable perf_event_uncore?
d) In a similar question on the developer mailing list (Wed Mar 11
09:56:56 EDT 2015, Title: Haswell-EP uncore support,
https://lists.eecs.utk.edu/pipermail/perfapi-devel/2015-March/006950.html
),
it was mentioned that "Papi depends on libpfm4 support and it looks like
libpfm4 currently does not have support for haswell or haswell-ep uncore
events". Is this still true or is there an alternative?
Will greatly appreciate the response.
Thanks,
Preeti
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
https://lists.eecs.utk.edu/pipermail/ptools-perfapi/attachments/20150530/20f8bb25/attachment-0001.html
------------------------------
_______________________________________________
Ptools-perfapi mailing list
http://lists.eecs.utk.edu/mailman/listinfo/ptools-perfapi
End of Ptools-perfapi Digest, Vol 112, Issue 29
***********************************************
_______________________________________________
Ptools-perfapi mailing list
http://lists.eecs.utk.edu/mailman/listinfo/ptools-perfapi
--
___________________________________
Heike McCraw
Innovative Computing Laboratory (ICL)
University of Tennessee, Knoxville (UTK)
phone: +1 865 974 8057
fax: +1 865 974 8296
_______________________________________________
Ptools-perfapi mailing list
http://lists.eecs.utk.edu/mailman/listinfo/ptools-perfapi
Suman, Preeti
2015-06-05 14:59:13 UTC
Permalink
Hi Stephane,

Thanks for the update. That’s very helpful.

Preeti

From: Stephane Eranian [mailto:***@googlemail.com]
Sent: Thursday, June 4, 2015 5:39 PM
To: Knapp, Rashawn L
Cc: Heike McCraw; Suman, Preeti; ptools-***@eecs.utk.edu
Subject: Re: [Ptools-perfapi] PAPI and Perf Event Uncore Tests



On Wed, Jun 3, 2015 at 11:33 PM, Knapp, Rashawn L <***@intel.com<mailto:***@intel.com>> wrote:
This is good news for Haswell-EP. We have a team here at Intel which is also working to enable this support. Stephane, are you collaborating with anyone at Intel?

I pushed the patch to add HSW-EP uncore PMU support now.

Regards,

Rashawn
From: ptools-perfapi-***@eecs.utk.edu<mailto:ptools-perfapi-***@eecs.utk.edu> [mailto:ptools-perfapi-***@eecs.utk.edu<mailto:ptools-perfapi-***@eecs.utk.edu>] On Behalf Of Heike McCraw
Sent: Wednesday, June 03, 2015 2:17 PM
To: Suman, Preeti
Cc: ptools-***@eecs.utk.edu<mailto:ptools-***@eecs.utk.edu>
Subject: Re: [Ptools-perfapi] PAPI and Perf Event Uncore Tests

HWP-EP support for uncore PMUs is not yet implemented in libpfm4.
I believe Stephane is working hard to get it into the repository soon.
Heike




On Wed, Jun 3, 2015 at 3:33 PM, Suman, Preeti <***@intel.com<mailto:***@intel.com>> wrote:
Hi,

I emailed to the list before but have not received any response back. Please let me know your thoughts on this subject. I'm wondering if I can get some suggestions.

Thanks,
Preeti

-----Original Message-----
Date: Sat, 30 May 2015 08:49:37 +0000
From: "Suman, Preeti" <***@intel.com<mailto:***@intel.com>>
To: "ptools-***@eecs.utk.edu<mailto:ptools-***@eecs.utk.edu>" <ptools-***@eecs.utk.edu<mailto:ptools-***@eecs.utk.edu>>
Subject: [Ptools-perfapi] PAPI and Perf Events Uncore Tests
Message-ID:
<***@ORSMSX101.amr.corp.intel.com<mailto:***@ORSMSX101.amr.corp.intel.com>>
Content-Type: text/plain; charset="us-ascii"

Hi,
I have recently started working with PAPI 5.4.1 on my system. I have several questions specified below regarding perf_event_uncore tests.

System specification:
Kernel Version: Linux 3.10.0-229<tel:3.10.0-229>.el7.x86_64 Operating System: CentOS Linux release 7.1.1503
CPU: Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz (Haswell-EP)
Architecture:x86_64
Compiler: GCC 4.8.3

####BEGIN papi_component_avail:

$ papi_component_avail
Available components and hardware information.
--------------------------------------------------------------------------------
PAPI Version : 5.4.1.0
Vendor string and code : GenuineIntel (1)
Model string and code : Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz (63)
CPU Revision : 2.000000
CPUID Info : Family: 6 Model: 63 Stepping: 2
CPU Max Megahertz : 2400
CPU Min Megahertz : 1200
Hdw Threads per core : 2
Cores per Socket : 8
Sockets : 2
NUMA Nodes : 2
CPUs per Node : 16
Total CPUs : 32
Running in a VM : no
Number Hardware Counters : 11
Max Multiplex Counters : 128
--------------------------------------------------------------------------------
Compiled-in components:
Name: perf_event Linux perf_event CPU counters
Name: perf_event_uncore Linux perf_event CPU uncore and northbridge
\-> Disabled: No uncore PMUs or events found

Active components:
Name: perf_event Linux perf_event CPU counters
Native: 159, Preset: 56, Counters: 11
PMU's supported: ix86arch, perf, perf_raw, hsw_ep


--------------------------------------------------------------------------------
component.c PASSED

####END papi_component_avail

Component tests for perf_event_uncore are skipped for the following reasons.

Running components/perf_event/tests/perf_event_offcore_response:perf_event_offcore_response.c SKIPPED (Error in PAPI does not support offcore on this processor: Not supported)
Running components/perf_event/tests/perf_event_system_wide:perf_event_system_wide.c PASSED
Running components/perf_event/tests/perf_event_user_kernel:perf_event_user_kernel.c PASSED
Running components/perf_event_uncore/tests/perf_event_uncore:perf_event_uncore.c SKIPPED (Error calculating: uncore component disabled)
Running components/perf_event_uncore/tests/perf_event_uncore_multiple:perf_event_uncore_multiple.c SKIPPED (Error calculating: uncore component disabled)
Running components/perf_event_uncore/tests/perf_event_amd_northbridge:perf_event_amd_northbridge.c SKIPPED (Error calculating: Test only for AMD processor)
Running components/perf_event_uncore/tests/perf_event_uncore_cbox:perf_event_uncore_cbox.c SKIPPED (Error in We only support IVB and SNB-EP for now: Not supported)

Two tests for perf_event_uncore are skipped because "uncore component is disabled". Here are few questions:
a) Why are the perf_event_uncore tests skipped?
b) How do I make sure the machine supports perf_event_uncore? I have tried the following:
$ ls /sys/devices/uncore*
ls: No match.
c) How to enable perf_event_uncore?
d) In a similar question on the developer mailing list (Wed Mar 11 09:56:56 EDT 2015, Title: Haswell-EP uncore support, https://lists.eecs.utk.edu/pipermail/perfapi-devel/2015-March/006950.html),
it was mentioned that "Papi depends on libpfm4 support and it looks like libpfm4 currently does not have support for haswell or haswell-ep uncore events". Is this still true or is there an alternative?


Will greatly appreciate the response.

Thanks,
Preeti

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.eecs.utk.edu/pipermail/ptools-perfapi/attachments/20150530/20f8bb25/attachment-0001.html>

------------------------------

_______________________________________________
Ptools-perfapi mailing list
Ptools-***@eecs.utk.edu<mailto:Ptools-***@eecs.utk.edu>
http://lists.eecs.utk.edu/mailman/listinfo/ptools-perfapi


End of Ptools-perfapi Digest, Vol 112, Issue 29
***********************************************
_______________________________________________
Ptools-perfapi mailing list
Ptools-***@eecs.utk.edu<mailto:Ptools-***@eecs.utk.edu>
http://lists.eecs.utk.edu/mailman/listinfo/ptools-perfapi
--
___________________________________
Heike McCraw
Innovative Computing Laboratory (ICL)
University of Tennessee, Knoxville (UTK)
e-mail: ***@icl.utk.edu<mailto:***@icl.utk.edu>
phone: +1 865 974 8057<tel:%2B1%20865%20974%208057>
fax: +1 865 974 8296<tel:%2B1%20865%20974%208296>

_______________________________________________
Ptools-perfapi mailing list
Ptools-***@eecs.utk.edu<mailto:Ptools-***@eecs.utk.edu>
http://lists.eecs.utk.edu/mailman/listinfo/ptools-perfapi
Stephane Eranian
2015-06-04 19:41:50 UTC
Permalink
Post by Heike McCraw
HWP-EP support for uncore PMUs is not yet implemented in libpfm4.
I believe Stephane is working hard to get it into the repository soon.
Yes, it will be updated today.
Heike
Post by Suman, Preeti
Hi,
I emailed to the list before but have not received any response back.
Please let me know your thoughts on this subject. I'm wondering if I can
get some suggestions.
Thanks,
Preeti
-----Original Message-----
Date: Sat, 30 May 2015 08:49:37 +0000
Subject: [Ptools-perfapi] PAPI and Perf Events Uncore Tests
<
Content-Type: text/plain; charset="us-ascii"
Hi,
I have recently started working with PAPI 5.4.1 on my system. I have
several questions specified below regarding perf_event_uncore tests.
Kernel Version: Linux 3.10.0-229.el7.x86_64 Operating System: CentOS
Linux release 7.1.1503
Architecture:x86_64
Compiler: GCC 4.8.3
$ papi_component_avail
Available components and hardware information.
--------------------------------------------------------------------------------
PAPI Version : 5.4.1.0
Vendor string and code : GenuineIntel (1)
CPU Revision : 2.000000
CPUID Info : Family: 6 Model: 63 Stepping: 2
CPU Max Megahertz : 2400
CPU Min Megahertz : 1200
Hdw Threads per core : 2
Cores per Socket : 8
Sockets : 2
NUMA Nodes : 2
CPUs per Node : 16
Total CPUs : 32
Running in a VM : no
Number Hardware Counters : 11
Max Multiplex Counters : 128
--------------------------------------------------------------------------------
Name: perf_event Linux perf_event CPU counters
Name: perf_event_uncore Linux perf_event CPU uncore and northbridge
\-> Disabled: No uncore PMUs or events found
Name: perf_event Linux perf_event CPU counters
Native: 159, Preset: 56, Counters: 11
PMU's supported: ix86arch, perf, perf_raw, hsw_ep
--------------------------------------------------------------------------------
component.c PASSED
####END papi_component_avail
Component tests for perf_event_uncore are skipped for the following reasons.
Running
components/perf_event/tests/perf_event_offcore_response:perf_event_offcore_response.c
SKIPPED (Error in PAPI does not support offcore on this processor: Not
supported)
Running
components/perf_event/tests/perf_event_system_wide:perf_event_system_wide.c
PASSED
Running
components/perf_event/tests/perf_event_user_kernel:perf_event_user_kernel.c
PASSED
Running
components/perf_event_uncore/tests/perf_event_uncore:perf_event_uncore.c
SKIPPED (Error calculating: uncore component disabled)
Running
components/perf_event_uncore/tests/perf_event_uncore_multiple:perf_event_uncore_multiple.c
SKIPPED (Error calculating: uncore component disabled)
Running
components/perf_event_uncore/tests/perf_event_amd_northbridge:perf_event_amd_northbridge.c
SKIPPED (Error calculating: Test only for AMD processor)
Running
components/perf_event_uncore/tests/perf_event_uncore_cbox:perf_event_uncore_cbox.c
Not supported)
Two tests for perf_event_uncore are skipped because "uncore component is
a) Why are the perf_event_uncore tests skipped?
$ ls /sys/devices/uncore*
ls: No match.
c) How to enable perf_event_uncore?
d) In a similar question on the developer mailing list (Wed Mar 11
09:56:56 EDT 2015, Title: Haswell-EP uncore support,
https://lists.eecs.utk.edu/pipermail/perfapi-devel/2015-March/006950.html
),
it was mentioned that "Papi depends on libpfm4 support and it looks like
libpfm4 currently does not have support for haswell or haswell-ep uncore
events". Is this still true or is there an alternative?
Will greatly appreciate the response.
Thanks,
Preeti
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
https://lists.eecs.utk.edu/pipermail/ptools-perfapi/attachments/20150530/20f8bb25/attachment-0001.html
------------------------------
_______________________________________________
Ptools-perfapi mailing list
http://lists.eecs.utk.edu/mailman/listinfo/ptools-perfapi
End of Ptools-perfapi Digest, Vol 112, Issue 29
***********************************************
_______________________________________________
Ptools-perfapi mailing list
http://lists.eecs.utk.edu/mailman/listinfo/ptools-perfapi
--
___________________________________
Heike McCraw
Innovative Computing Laboratory (ICL)
University of Tennessee, Knoxville (UTK)
phone: +1 865 974 8057
fax: +1 865 974 8296
_______________________________________________
Ptools-perfapi mailing list
http://lists.eecs.utk.edu/mailman/listinfo/ptools-perfapi
Suman, Preeti
2015-06-05 22:06:03 UTC
Permalink
Hi,

Recently, Stephane submitted a patch to add HSW-EP uncore PMU support. I am currently working on the updated version of PAPI (5.4.2) and trying to run the installation tests on a Haswell-EP server with kernel version 3.10.0-229.
After the update, I was expecting the perf_event_uncore tests to pass but the tests skipped. I have few questions, mentioned below.

Below is the installation:
./configure –prefix=~/Desktop/papi
make
make install-tests
make install

##After installation inside papi/lib
libpapi.a libpapi.so libpapi.so.5 libpapi.so.5.4.2 libpapi.so.5.4.2.0 libpfm.a libpfm.so libpfm.so.4 libpfm.so.4.6.0 pkgconfig

##Added the paths to the env variables.

setenv LD_LIBRARY_PATH ~/Desktop/papi/lib

setenv PATH ~/Desktop/papi/bin:$PATH

##BEGIN papi_component_avail
--------------------------------------------------------------------------------
PAPI Version : 5.4.2.0
Vendor string and code : GenuineIntel (1)
Model string and code : Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz (63)
CPU Revision : 2.000000
CPUID Info : Family: 6 Model: 63 Stepping: 2
CPU Max Megahertz : 2400
CPU Min Megahertz : 1200
Hdw Threads per core : 2
Cores per Socket : 8
Sockets : 2
NUMA Nodes : 2
CPUs per Node : 16
Total CPUs : 32
Running in a VM : no
Number Hardware Counters : 11
Max Multiplex Counters : 128
--------------------------------------------------------------------------------

Compiled-in components:
Name: perf_event Linux perf_event CPU counters
Name: perf_event_uncore Linux perf_event CPU uncore and northbridge
\-> Disabled: No uncore PMUs or events found

Active components:
Name: perf_event Linux perf_event CPU counters
Native: 159, Preset: 56, Counters: 11
PMU's supported: ix86arch, perf, perf_raw, hsw_ep


--------------------------------------------------------------------------------
component.c PASSED

###END component avail
####Example output of a perf_event_uncore test”

$ ./perf_event_uncore
perf_event_uncore.c SKIPPED
Line # 37
Error calculating: uncore component disabled

$ ./perf_event_uncore_multiple
perf_event_uncore_multiple.c SKIPPED
Line # 45
Error calculating: uncore component disabled

Here are few questions:

a) Does the new patch for HSW-EP uncore PMU support enable the UNCORE component after installation?

b) If no, is there a way to enable the UNCORE component in Haswell-EP server with kernel version 3.10.0-229 ?

c) If no, what will be your suggestion to resolve the issue.

Will greatly appreciate your response.

Thanks,
Preeti


From: Stephane Eranian [mailto:***@googlemail.com]
Sent: Thursday, June 4, 2015 5:39 PM
To: Knapp, Rashawn L
Cc: Heike McCraw; Suman, Preeti; ptools-***@eecs.utk.edu<mailto:ptools-***@eecs.utk.edu>
Subject: Re: [Ptools-perfapi] PAPI and Perf Event Uncore Tests



On Wed, Jun 3, 2015 at 11:33 PM, Knapp, Rashawn L <***@intel.com<mailto:***@intel.com>> wrote:
This is good news for Haswell-EP. We have a team here at Intel which is also working to enable this support. Stephane, are you collaborating with anyone at Intel?

I pushed the patch to add HSW-EP uncore PMU support now.

Regards,

Rashawn
From: ptools-perfapi-***@eecs.utk.edu<mailto:ptools-perfapi-***@eecs.utk.edu> [mailto:ptools-perfapi-***@eecs.utk.edu<mailto:ptools-perfapi-***@eecs.utk.edu>] On Behalf Of Heike McCraw
Sent: Wednesday, June 03, 2015 2:17 PM
To: Suman, Preeti
Cc: ptools-***@eecs.utk.edu<mailto:ptools-***@eecs.utk.edu>
Subject: Re: [Ptools-perfapi] PAPI and Perf Event Uncore Tests

HWP-EP support for uncore PMUs is not yet implemented in libpfm4.
I believe Stephane is working hard to get it into the repository soon.
Heike
Vince Weaver
2015-06-05 22:48:13 UTC
Permalink
Post by Suman, Preeti
Recently, Stephane submitted a patch to add HSW-EP uncore PMU support. I am
currently working on the updated version of PAPI (5.4.2) and trying to run
the installation tests on a Haswell-EP server with kernel version
3.10.0-229. 
haswell-ep uncore support was not added to the Linux kernel until version
3.18 so you will need to upgrade your kernel.

Vince
Suman, Preeti
2015-06-08 19:13:01 UTC
Permalink
Hi,

Thanks Vince, for your advice. Greatly appreciate that.
From https://www.kernel.org/ I found out that 4.0.5 to be the latest stable Kernel version. Will it be advisable to upgrade our current Kernel- 3.10.0 to Kernel 4.0.5? Also, will Kernel-4.0.5 provide the advantage to recent Haswell updates?

Thanks,
Preeti

-----Original Message-----
From: Vince Weaver [mailto:***@maine.edu]
Sent: Friday, June 5, 2015 5:48 PM
To: Suman, Preeti
Cc: ptools-***@eecs.utk.edu
Subject: Re: [Ptools-perfapi] PAPI and Perf Event Uncore Tests
Post by Suman, Preeti
Recently, Stephane submitted a patch to add HSW-EP uncore PMU support.
I am currently working on the updated version of PAPI (5.4.2) and
trying to run the installation tests on a Haswell-EP server with
kernel version 3.10.0-229.
haswell-ep uncore support was not added to the Linux kernel until version
3.18 so you will need to upgrade your kernel.

Vince
Suman, Preeti
2015-06-11 20:19:33 UTC
Permalink
Hi,

As suggested by Vince before, I upgraded the kernel version 3.10.0-229 to kernel version 4.0.5-1.el7.elrepo.x86_64. Performed a fresh installation and while running the perf_event_uncore tests, they skipped with a different message.
Inorder to access the uncore events I set perf_event_paranoid to 0 and ran the tests as user instead of root. I have couple of questions/concerns.

####Begin papi_component_avail

Available components and hardware information.
--------------------------------------------------------------------------------
PAPI Version : 5.4.2.0
Vendor string and code : GenuineIntel (1)
Model string and code : Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz (63)
CPU Revision : 2.000000
CPUID Info : Family: 6 Model: 63 Stepping: 2
CPU Max Megahertz : 2397
CPU Min Megahertz : 2397
Hdw Threads per core : 2
Cores per Socket : 8
Sockets : 2
NUMA Nodes : 2
CPUs per Node : 16
Total CPUs : 32
Running in a VM : no
Number Hardware Counters : 11
Max Multiplex Counters : 128
--------------------------------------------------------------------------------

Compiled-in components:
Name: perf_event Linux perf_event CPU counters
Name: perf_event_uncore Linux perf_event CPU uncore and northbridge

Active components:
Name: perf_event Linux perf_event CPU counters
Native: 159, Preset: 56, Counters: 11
PMU's supported: ix86arch, perf, perf_raw, hsw_ep

Name: perf_event_uncore Linux perf_event CPU uncore and northbridge
Native: 655, Preset: 0, Counters: 86
PMU's supported: hswep_unc_cbo0, hswep_unc_cbo1, hswep_unc_cbo2, hswep_unc_cbo3, hswep_unc_cbo4
hswep_unc_cbo5, hswep_unc_cbo6, hswep_unc_cbo7, hswep_unc_ha0, hswep_unc_imc0, hswep_unc_imc1
hswep_unc_imc2, hswep_unc_imc3, hswep_unc_imc4, hswep_unc_pcu, hswep_unc_ubo, hswep_unc_r2pcie
hswep_unc_r3qpi0, hswep_unc_r3qpi1, hswep_unc_sbo0, hswep_unc_sbo1
--------------------------------------------------------------------------------
component.c PASSED

#### END papi_component_avail


###### BEGIN Inside /sys/devices/uncore*
uncore_cbox_0 uncore_cbox_2 uncore_cbox_4 uncore_cbox_6 uncore_ha_0 uncore_imc_1 uncore_imc_3 uncore_pcu uncore_r3qpi_0 uncore_sbox_0 uncore_ubox
uncore_cbox_1 uncore_cbox_3 uncore_cbox_5 uncore_cbox_7 uncore_imc_0 uncore_imc_2 uncore_imc_4 uncore_r2pcie uncore_r3qpi_1 uncore_sbox_1
######END Inside /sys/devices/uncore*

######BEGIN status perf_event_paranoid
cat /proc/sys/kernel/perf_event_paranoid
0
######END status perf_event_paranoid

#######Example messages after running perf_event_uncore tests (with kernel 4.0.5-1.el7.elrepo.x86_64):
./perf_event_uncore
perf_event_uncore.c SKIPPED
Line # 43
Error in PAPI does not support uncore on this processor: Not supported

./perf_event_uncore_multiple
perf_event_uncore_multiple.c SKIPPED
Line # 51
Error in PAPI does not support uncore on this processor: Not supported

#######Example messages before kernel upgrade (with kernel 3.10.0-229)
$ ./perf_event_uncore
perf_event_uncore.c SKIPPED
Line # 37
Error calculating: uncore component disabled

$ ./perf_event_uncore_multiple
perf_event_uncore_multiple.c SKIPPED
Line # 45
Error calculating: uncore component disabled

Here are few questions,
a) Since, kernel 4.0.5-1.el7.elrepo.x86_64 has uncore support, what could be the reason for the message “Error in PAPI does not support uncore on this processor: Not supported”?
b) Does PAPI require any additional tool/application to be enabled/disabled to avoid this issue?
c) Is there a way around to get this working?

Thanks for your time and suggestions.

Regards,
Preeti



-----Original Message-----
From: Vince Weaver [mailto:***@maine.edu]
Sent: Friday, June 5, 2015 5:48 PM
To: Suman, Preeti
Cc: ptools-***@eecs.utk.edu
Subject: Re: [Ptools-perfapi] PAPI and Perf Event Uncore Tests
Post by Suman, Preeti
Recently, Stephane submitted a patch to add HSW-EP uncore PMU support.
I am currently working on the updated version of PAPI (5.4.2) and
trying to run the installation tests on a Haswell-EP server with
kernel version 3.10.0-229.
haswell-ep uncore support was not added to the Linux kernel until version
3.18 so you will need to upgrade your kernel.

Vince
Vince Weaver
2015-06-11 21:07:07 UTC
Permalink
Post by Suman, Preeti
./perf_event_uncore
perf_event_uncore.c SKIPPED
Line # 43
Error in PAPI does not support uncore on this processor: Not supported
well you can go look at the source code to see what's going on.

uncore_event=get_uncore_event(event_name, BUFSIZ);

is failing.

You can find that function in perf_event_uncore_lib.c
and see that no one has bothered to add a default uncore event for
haswell-ep yet (or plain haswell for that matter).

In theory if you add an appropriate event there then the tests will start
working.

Vince
Suman, Preeti
2015-06-11 21:48:44 UTC
Permalink
Thank you Vince for the quick reply. Greatly appreciate it. I will work with my team here to add and test an appropriate uncore event to perf_event_uncore_lib.c

Regards,
Preeti

-----Original Message-----
From: Vince Weaver [mailto:***@maine.edu]
Sent: Thursday, June 11, 2015 4:07 PM
To: Suman, Preeti
Cc: ptools-***@eecs.utk.edu
Subject: RE: [Ptools-perfapi] PAPI and Perf Event Uncore Tests
Post by Suman, Preeti
./perf_event_uncore
perf_event_uncore.c SKIPPED
Line # 43
Error in PAPI does not support uncore on this processor: Not supported
well you can go look at the source code to see what's going on.

uncore_event=get_uncore_event(event_name, BUFSIZ);

is failing.

You can find that function in perf_event_uncore_lib.c and see that no one has bothered to add a default uncore event for haswell-ep yet (or plain haswell for that matter).

In theory if you add an appropriate event there then the tests will start working.

Vince

Loading...