-
Notifications
You must be signed in to change notification settings - Fork 506
-
Hi! I was trying to run pcm
on a GCP server. When I run pcm.x
I got this error:
Processor Counter Monitor ($Format:%ci ID=%h$)
Detected a hypervisor/virtualization technology. Some metrics might not be available due to configuration or availability of virtual hardware features.
Linux arch_perfmon flag : no
ERROR: vPMU is not enabled in the hypervisor. Please see details in https://software.intel.com/content/www/us/en/develop/documentation/vtune-help/top/set-up-analysis-target/on-virtual-machine.html
you can force-continue by setting PCM_IGNORE_ARCH_PERFMON=1 environment variable.
Access to Processor Counter Monitor has denied (no MSR or PCI CFG space access).
root@zhylin-2:~/Documents/pcm# PCM_IGNORE_ARCH_PERFMON=1 ./pcm.x
Processor Counter Monitor ($Format:%ci ID=%h$)
Detected a hypervisor/virtualization technology. Some metrics might not be available due to configuration or availability of virtual hardware features.
Linux arch_perfmon flag : no
ERROR: vPMU is not enabled in the hypervisor. Please see details in https://software.intel.com/content/www/us/en/develop/documentation/vtune-help/top/set-up-analysis-target/on-virtual-machine.html
you can force-continue by setting PCM_IGNORE_ARCH_PERFMON=1 environment variable.
IBRS and IBPB supported : yes
STIBP supported : yes
Spec arch caps supported : yes
Number of physical cores: 4
Number of logical cores: 8
Number of online logical cores: 8
Threads (logical cores) per physical core: 2
Num sockets: 1
Physical cores per socket: 4
Core PMU (perfmon) version: 0
Number of core PMU generic (programmable) counters: 0
Width of generic (programmable) counters: 0 bits
Nominal core frequency: 3100000000 Hz
IBRS enabled in the kernel : yes
STIBP enabled in the kernel : no
The processor is not susceptible to Rogue Data Cache Load: yes
The processor supports enhanced IBRS : yes
Package thermal spec power: 0 Watt; Package minimum power: 0 Watt; Package maximum power: 0 Watt;
Can't open MCFG table. Check permission of /sys/firmware/acpi/tables/MCFG
Can't open MCFG table. Check permission of /sys/firmware/acpi/tables/MCFG1
Can't open MCFG table. Check permission of /pcm/sys/firmware/acpi/tables/MCFG
Can't open MCFG table. Check permission of /pcm/sys/firmware/acpi/tables/MCFG1
Can not access server uncore PCI configuration space. Access to uncore counters (memory and QPI bandwidth) is disabled.
You must be root to access server uncore counters in PCM.
Trying to use Linux perf events...
PCM ERROR: Trying to program 4 general purpose counters with only 0 available
Access to Processor Counter Monitor has denied (Unknown error).
Cleaning up
Zeroed uncore PMU registers
I was wondering if pcm
can run on GCP servers? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions
GCP needs to enable arch_perfmon/vPMU feature to allow collection of core perfmon counters. AWS did it for some virtualized instances and PCM works on those:
C5 (including c5n and c5dn): 9xlarge, 12xlarge, 18xlarge, 24xlarge
M5 (including m5n, m5dn, m5zn): 12xlarge, 24xlarge
R5 (including r5n, r5dn, r5b): 8xlarge, 12xlarge
Replies: 4 comments 1 reply
-
GCP needs to enable arch_perfmon/vPMU feature to allow collection of core perfmon counters. AWS did it for some virtualized instances and PCM works on those:
C5 (including c5n and c5dn): 9xlarge, 12xlarge, 18xlarge, 24xlarge
M5 (including m5n, m5dn, m5zn): 12xlarge, 24xlarge
R5 (including r5n, r5dn, r5b): 8xlarge, 12xlarge
Beta Was this translation helpful? Give feedback.
All reactions
-
Thanks for the answer! So it means a no for GCP? Is it possible that users request the feature on a certain instance from GCP?
Beta Was this translation helpful? Give feedback.
All reactions
-
unfortunately it means no for GCP. Please try to request the vPMU/arch_perfmon feature through your GCP support channel.
Beta Was this translation helpful? Give feedback.
All reactions
-
I see, I'll ask the GCP support for help. Thank you!
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
did you get any answer to the feature request?
Beta Was this translation helpful? Give feedback.