Skip to content

perf events available but not supported #1

@sergipalomas

Description

@sergipalomas

Pwrloc displays perf events as available, although they are not supported on my machine (Levante)

$ ./pwrloc.sh -l
========== SLURM ==========
slurm_avail: TRUE
slurm_ptype: (null)
slurm_pfreq: 25 sec

========== PERF ===========
perf_avail: TRUE
perf_events:
        power/energy-cores/
        power/energy-gpu/
        power/energy-pkg/
        power/energy-psys/
        power/energy-ram/

========== PAPI ===========
papi_avail: FALSE

========== NVML ===========
nvml_avail: FALSE

========== ROCM ===========
rocm_avail: FALSE

If I try:
$ perf stat -e "instructions,cycles,energy-cores,energy-pkg,energy-psys,energy-ram" sleep 4
I get this:

 Performance counter stats for 'sleep 4':

           390.157      instructions:u            #    1,18  insn per cycle           (46,03%)
           330.974      cycles:u                                                      (53,97%)
   <not supported> Joules energy-cores:u                                              
   <not supported> Joules energy-pkg:u                                                
   <not supported> Joules energy-psys:u                                               
   <not supported> Joules energy-ram:u                                                

       4,002391139 seconds time elapsed

       0,000000000 seconds user
       0,001784000 seconds sys

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions