Quantcast
Channel: Intel® Many Integrated Core Architecture
Viewing all articles
Browse latest Browse all 1347

Read core C-states from MSR

$
0
0

Hi,

Is there any documented way to obtain the current C-state of a given core (or P-state of the package) natively from the Xeon Phi card? On Xeon systems, we usually do so through MSR:

#define MSR_PKG_C2_RESIDENCY            0x60D

#define MSR_PKG_C3_RESIDENCY            0x3F8

#define MSR_PKG_C6_RESIDENCY            0x3F9

#define MSR_PKG_C7_RESIDENCY            0x3FA

#define MSR_PKG_C8_RESIDENCY            0x630

#define MSR_PKG_C9_RESIDENCY            0x631

#define MSR_PKG_C10_RESIDENCY           0x632

#define MSR_CORE_C1_RESIDENCY           0x660

#define MSR_CORE_C3_RESIDENCY           0x3FC

#define MSR_CORE_C6_RESIDENCY           0x3FD

#define MSR_CORE_C7_RESIDENCY           0x3FE

Is it possible to achieve similar functionality by reading any special register on the Xeon Phi?

Besides, we have obtained some information through sysfs for C-states (files /sys/devices/system/cpu/cpu*/cpuidle/state*). Is there any other sysfs file of interest, for example for getting P-states?

Thanks,


Viewing all articles
Browse latest Browse all 1347

Trending Articles