All of lore.kernel.org
 help / color / mirror / Atom feed
* MCFG File missing
@ 2021-01-12  8:38 Biboshan Banerjee
  0 siblings, 0 replies; only message in thread
From: Biboshan Banerjee @ 2021-01-12  8:38 UTC (permalink / raw)
  To: qemu-devel


[-- Attachment #1.1: Type: text/plain, Size: 405 bytes --]

 Hi All,

I am trying to run the PCM tool ( https://github.com/opcm/pcm ) on a VM
running CentOS 7.4 running on the host OS CentOS 7.4.

The tool is trying to access  the " /sys/firmware/acpi/tables/MCFG " file.
The file is available on the host OS but not on the VM.   ( The error logs
are attached. )

How can this file be generated? on the VM?
I am using Qemu version 4.1.94

Thanks
Biboshan Banerjee.

[-- Attachment #1.2: Type: text/html, Size: 646 bytes --]

[-- Attachment #2: pcm-memory_ERROR.txt --]
[-- Type: text/plain, Size: 2198 bytes --]

[root@localhost pcm]# ./pcm-memory.x

 Processor Counter Monitor: Memory Bandwidth Monitoring Utility  ($Format:%ci ID=%h$)

 This utility measures memory bandwidth per channel or per DIMM rank in real-time

Detected a hypervisor/virtualization technology. Some metrics might not be available due to configuration or availability of virtual hardware features.
Linux arch_perfmon flag  : yes
IBRS and IBPB supported  : yes
STIBP supported          : no
Spec arch caps supported : yes
INFO: Reducing the number of programmable counters to 3 to workaround the fixed cycle counter virtualization issue on AWS.
      You can disable the workaround by setting PCM_NO_AWS_WORKAROUND=1 environment variable
Number of physical cores: 18
Number of logical cores: 18
Number of online logical cores: 18
Threads (logical cores) per physical core: 1
Num sockets: 18
Physical cores per socket: 1
Core PMU (perfmon) version: 2
Number of core PMU generic (programmable) counters: 3
Width of generic (programmable) counters: 48 bits
Number of core PMU fixed counters: 3
Width of fixed counters: 48 bits
Nominal core frequency: 2100000000 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.

Detected Intel(R) Xeon(R) Gold 6238M CPU @ 2.10GHz "Intel(r) microarchitecture codename Cascade Lake-SP" stepping 7 microcode level 0x1
Access to Processor Counter Monitor has denied (no MSR or PCI CFG space access).
Cleaning up
 Zeroed uncore PMU registers

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-01-12 14:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-12  8:38 MCFG File missing Biboshan Banerjee

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.