Odroid XU3 and PAPI

Post Reply
raditya160053
Posts: 10
Joined: Wed May 15, 2019 7:02 am
languages_spoken: english
ODROIDs: Odroid XU4, SmartPower2
Has thanked: 3 times
Been thanked: 0
Contact:

Odroid XU3 and PAPI

Unread post by raditya160053 » Thu Jun 06, 2019 6:11 am

Hi,
I'm trying to make PAPI work on Odroid XU3(Yes, I use an XU3, we had one in the lab and we need the onboard power sensors for our project).
I've managed to install it, and papi_avail shows 16 events available. but when I run the program and try to count PAPI_TOT_INS, I get the following error,

Code: Select all

PAPI error -7: Event does not exist
Even though the event is available.
dmesg | grep PMU
shows the following,

Code: Select all

[    0.000000] [c0] EXYNOS5422 PMU Initialize
papi_component_avail shows the following message:

Code: Select all

Available components and hardware information.
--------------------------------------------------------------------------------
PAPI version             : 5.7.1.0
Operating system         : Linux 3.10.103-124
Vendor string and code   : ARM (7, 0x7)
Model string and code    : ARMv7 Processor rev 3 (v7l) (3, 0x3)
CPU revision             : 3.000000
CPUID                    : Family/Model/Stepping 7/3079/0, 0x07/0xc07/0x00
CPU Max MHz              : 1400
CPU Min MHz              : 200
Total cores              : 8
SMT threads per core     : 1
Cores per socket         : 4
Sockets                  : 2
Cores per NUMA region    : 8
NUMA regions             : 0
Running in a VM          : no
Number Hardware Counters : 3
Max Multiplex Counters   : 384
Fast counter read (rdpmc): no
--------------------------------------------------------------------------------

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: 122, Preset: 16, Counters: 3
                                PMUs supported: perf, perf_raw, arm_ac7

User avatar
odroid
Site Admin
Posts: 32570
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 190 times
Been thanked: 355 times
Contact:

Re: Odroid XU3 and PAPI

Unread post by odroid » Thu Jun 06, 2019 8:38 pm

I've never heard about PAPI yet.

Anyway, try other Ubuntu image which has Kernel 4.9 or 4.14.
This latest XU4 image should work with XU3 too.
https://wiki.odroid.com/odroid-xu4/os_i ... 4/20181203

DrM
Posts: 5
Joined: Wed Aug 22, 2018 6:15 am
languages_spoken: english
ODROIDs: XU4
Has thanked: 0
Been thanked: 0
Contact:

Re: Odroid XU3 and PAPI

Unread post by DrM » Thu Aug 08, 2019 5:45 pm

Hello,

I checked PAPI on my XU4 (running 4.14.94-1-ARCH, had perf installed before).
just installed papi and it works. besides the kernel version, the output of papi_component_avail looks identical to yours.
so a kernel upgrade might really help.

Post Reply

Return to “General Topics”

Who is online

Users browsing this forum: No registered users and 9 guests