Skip to content

msr-safe support

Whitelist

/dev/cpu/msr_whitelist (from v1.5.0 msr_allowlist)

Get model type

$ cpuinfo -s

$FAMILY_$xMODEL$MODEL

msr_safe support:

  • DVFS under intel_pstate requires WRITE access to the following files
  • /sys/devices/system/cpu/intel_pstate/no_turbo
  • /sys/devices/system/cpu/cpu*/cpufreq/scaling_max_freq
  • msr-based performance counters
  • implement batch support
  • using msr_safe without libmsr
  1. native
  2. init + fini - open/close file descriptors
  3. batch
Edited by Ondrej Vysocky