Skip to content

pcm problem: Can not access server uncore PCI configuration space. #21

@Ahnyeohn

Description

@Ahnyeohn

Hello, I'm having a problem running your code.

This is my server information:

Hardware

Intel(R) Xeon(R) W-2223 CPU, Connectx-6 NIC

OS&Kernel

Ubuntu 18.04 with kernel 5.2

iokerneld:

When I run the sudo ./iokerneld ias command, I get the following message:

CPU 01| <6> entering 'iokernel' init phase
CPU 01| <6> init -> base
CPU 01| <5> thread: created thread 0
CPU 01| <5> cpu: detected 8 cores, 1 nodes
CPU 01| <5> time: detected 3600 ticks / us
[  0.001183] CPU 01| <6> init -> ksched
[  0.001242] CPU 01| <6> init -> sched
[  0.001262] CPU 01| <5> sched: CPU configuration...
        node 0: [0,4][1,5][2,6][3,7]
[  0.001283] CPU 01| <5> sched: dataplane on 4, control on 0
[  0.001291] CPU 01| <6> init -> simple
[  0.001301] CPU 01| <6> init -> numa
[  0.001309] CPU 01| <6> init -> ias

=====  Processor information  =====
Linux arch_perfmon flag  : yes
Hybrid processor         : no
IBRS and IBPB supported  : yes
STIBP supported          : yes
Spec arch caps supported : yes
Max CPUID level          : 22
CPU model number         : 85
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
mmap failed: errno is 22
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.
Initializing RMIDs
terminate called after throwing an instance of 'std::out_of_range'
  what():  vector::_M_range_check: __n (which is 0) >= this->size() (which is 0)
Aborted

Why am I getting the following error even though I am already running as root? My server is using a Xeon cpu, so I don't think there is a hardware issue.

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