Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Does pcm run on GCP servers? #257

Answered by opcm
moderato asked this question in Q&A
Discussion options

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!

You must be logged in to vote

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

Comment options

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

You must be logged in to vote
0 replies
Answer selected by moderato
Comment options

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?

You must be logged in to vote
0 replies
Comment options

unfortunately it means no for GCP. Please try to request the vPMU/arch_perfmon feature through your GCP support channel.

You must be logged in to vote
0 replies
Comment options

I see, I'll ask the GCP support for help. Thank you!

You must be logged in to vote
1 reply
Comment options

did you get any answer to the feature request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
Converted from issue

This discussion was converted from issue #257 on December 11, 2020 20:27.

AltStyle によって変換されたページ (->オリジナル) /