Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
root@server6:~# ./setPL.sh 60 70
**** Current PL values from 'turbostat'
cpu0: MSR_PKG_POWER_LIMIT: 0x420208001e8640 (UNlocked)
cpu0: PKG Limit #1: ENabled (200.000 Watts, 32.000000 sec, clamp DISabled)
cpu0: PKG Limit #2: DISabled (65.000 Watts, 0.002441* sec, clamp DISabled)
**** Setting PL1=60000000 and PL2=70000000 in /sys/class/powercap/intel-rapl/intel-rapl:0/constraint_*_power_limit_uw
**** Enabling PL1 and PL2 in MSR_PKG_POWER_LIMIT
**** New PL values from 'turbostat'
cpu0: MSR_PKG_POWER_LIMIT: 0x428230001e81e0 (UNlocked)
cpu0: PKG Limit #1: ENabled (60.000 Watts, 32.000000 sec, clamp DISabled)
cpu0: PKG Limit #2: ENabled (70.000 Watts, 0.002441* sec, clamp DISabled)
**** MCHBAR is 0xfedc0001
**** Current value of PACKAGE_RAPL_LIMIT_0_0_0_MCHBAR_PCU = 0x00438208:0x001f81b8
**** Setting PACKAGE_RAPL_LIMIT_0_0_0_MCHBAR_PCU = 0x80000000:0x00000000

turbostat

Code Block
root@server6:~#  turbostat --Summary
turbostat version 2024.07.26 - Len Brown <lenb@kernel.org>
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.11.0-25-generic root=UUID=4a5c551e-5bed-498c-9d28-4de2e932b6bf ro
CPUID(0): GenuineIntel 0x23 CPUID levels
CPUID(1): family:model:stepping 0x6:aa:4 (6:170:4) microcode 0x20
CPUID(0x80000000): max_extended_levels: 0x80000008
CPUID(1): SSE3 MONITOR SMX EIST TM2 TSC MSR ACPI-TM HT TM
CPUID(6): APERF, TURBO, DTS, PTM, HWP, HWPnotify, HWPwindow, HWPepp, HWPpkg, EPB
cpu0: MSR_IA32_MISC_ENABLE: 0x00850089 (TCC EIST MWAIT PREFETCH TURBO)
CPUID(7): No-SGX Hybrid
CPUID(0x15): eax_crystal: 2 ebx_tsc: 160 ecx_crystal_hz: 38400000
TSC: 3072 MHz (38400000 Hz * 160 / 2 / 1000000)
CPUID(0x16): base_mhz: 3100 max_mhz: 3800 bus_mhz: 100
cpu0: MSR_PLATFORM_INFO: 0x804043df0811f00
4 * 100.0 = 400.0 MHz max efficiency frequency
31 * 100.0 = 3100.0 MHz base frequency
cpu0: MSR_TURBO_RATIO_LIMIT: 0x3030303033333333
48 * 100.0 = 4800.0 MHz max turbo 8 active cores
48 * 100.0 = 4800.0 MHz max turbo 7 active cores
48 * 100.0 = 4800.0 MHz max turbo 6 active cores
48 * 100.0 = 4800.0 MHz max turbo 5 active cores
51 * 100.0 = 5100.0 MHz max turbo 4 active cores
51 * 100.0 = 5100.0 MHz max turbo 3 active cores
51 * 100.0 = 5100.0 MHz max turbo 2 active cores
51 * 100.0 = 5100.0 MHz max turbo 1 active cores
cpu0: MSR_SECONDARY_TURBO_RATIO_LIMIT: 0x2121212126262626
33 * 100.0 = 3300.0 MHz max turbo 8 active cores
33 * 100.0 = 3300.0 MHz max turbo 7 active cores
33 * 100.0 = 3300.0 MHz max turbo 6 active cores
33 * 100.0 = 3300.0 MHz max turbo 5 active cores
38 * 100.0 = 3800.0 MHz max turbo 4 active cores
38 * 100.0 = 3800.0 MHz max turbo 3 active cores
38 * 100.0 = 3800.0 MHz max turbo 2 active cores
38 * 100.0 = 3800.0 MHz max turbo 1 active cores
cpu0: MSR_CONFIG_TDP_NOMINAL: 0x00000017 (base_ratio=23)
cpu0: MSR_CONFIG_TDP_LEVEL_1: 0x00110118 (PKG_MIN_PWR_LVL1=0 PKG_MAX_PWR_LVL1=0 LVL1_RATIO=17 PKG_TDP_LVL1=280)
cpu0: MSR_CONFIG_TDP_LEVEL_2: 0x001f0208 (PKG_MIN_PWR_LVL2=0 PKG_MAX_PWR_LVL2=0 LVL2_RATIO=31 PKG_TDP_LVL2=520)
cpu0: MSR_CONFIG_TDP_CONTROL: 0x00000000 ( lock=0)
cpu0: MSR_TURBO_ACTIVATION_RATIO: 0x00000016 (MAX_NON_TURBO_RATIO=22 lock=0)
cpu0: cpufreq driver: intel_pstate
cpu0: cpufreq governor: performance
cpufreq intel_pstate no_turbo: 0
cpu0: MSR_MISC_PWR_MGMT: 0x000030c2 (ENable-EIST_Coordination ENable-EPB DISable-OOB)
cpu0: MSR_PM_ENABLE: 0x00000001 (HWP)
cpu0: MSR_HWP_CAPABILITIES: 0x01191d3c (high 60 guar 29 eff 25 low 1)
cpu0: MSR_HWP_REQUEST: 0x00003c3c (min 60 max 60 des 0 epp 0x0 window 0x0 pkg 0x0)
cpu0: MSR_HWP_REQUEST_PKG: 0x8000ff01 (min 1 max 255 des 0 epp 0x80 window 0x0)
cpu0: MSR_HWP_INTERRUPT: 0x00000005 (EN_Guaranteed_Perf_Change, Dis_Excursion_Min)
cpu0: MSR_HWP_STATUS: 0x00000004 (No-Guaranteed_Perf_Change, Excursion_Min)
cpu0: EPB: 6 (balanced)
cpu0: MSR_IA32_POWER_CTL: 0x00e4005f (C1E auto-promotion: ENabled)
cpu0: MSR_PKG_CST_CONFIG_CONTROL: 0x74008008 (UNdemote-C1, demote-C1, locked, pkg-cstate-limit=8 (unlimited))
/dev/cpu_dma_latency: 2000000000 usec (default)
current_driver: intel_idle
current_governor: menu
current_governor_ro: menu
cpu0: POLL: CPUIDLE CORE POLL IDLE
cpu0: C1E: MWAIT 0x01
cpu0: C6: MWAIT 0x20
cpu0: C10: MWAIT 0x60
cpu0: MSR_PKGC3_IRTL: 0x00000000 (NOTvalid, 0 ns)
cpu0: MSR_PKGC6_IRTL: 0x00000000 (NOTvalid, 0 ns)
cpu0: MSR_PKGC7_IRTL: 0x00000000 (NOTvalid, 0 ns)
cpu0: MSR_PKGC8_IRTL: 0x00000000 (NOTvalid, 0 ns)
cpu0: MSR_PKGC9_IRTL: 0x00000000 (NOTvalid, 0 ns)
cpu0: MSR_PKGC10_IRTL: 0x00000000 (NOTvalid, 0 ns)
Uncore Frequency package0 die0: 400 - 3400 MHz (400 - 3400 MHz) 3400 MHz
RAPL: 5825 sec. Joule Counter Range, at 45 Watts
cpu0: MSR_RAPL_POWER_UNIT: 0x000a0e03 (0.125000 Watts, 0.000061 Joules, 0.000977 sec.)
cpu0: MSR_PKG_POWER_INFO: 0x12000000000168 (45 W TDP, RAPL 0 - 0 W, 0.017578 sec.)
cpu0: MSR_PKG_POWER_LIMIT: 0x428230001e81e0 (UNlocked)
cpu0: PKG Limit #1: ENabled (60.000 Watts, 32.000000 sec, clamp DISabled)
cpu0: PKG Limit #2: ENabled (70.000 Watts, 0.002441* sec, clamp DISabled)
cpu0: MSR_VR_CURRENT_CONFIG: 0x000006c8
cpu0: PKG Limit #4: 217.000000 Watts (UNlocked)
cpu0: MSR_DRAM_POWER_LIMIT: 0x00000000 (UNlocked)
cpu0: DRAM Limit: DISabled (0.000 Watts, 0.000977 sec, clamp DISabled)
cpu0: MSR_PP0_POLICY: 0
cpu0: MSR_PP0_POWER_LIMIT: 0x00000000 (UNlocked)
cpu0: Cores Limit: DISabled (0.000 Watts, 0.000977 sec, clamp DISabled)
cpu0: MSR_PP1_POLICY: 0
cpu0: MSR_PP1_POWER_LIMIT: 0x00000000 (UNlocked)
cpu0: GFX Limit: DISabled (0.000 Watts, 0.000977 sec, clamp DISabled)
cpu0: MSR_IA32_TEMPERATURE_TARGET: 0x806e0000 (110 C) (110 default - 0 offset)
cpu0: MSR_IA32_PACKAGE_THERM_STATUS: 0x88460800 (40 C)
cpu0: MSR_IA32_PACKAGE_THERM_INTERRUPT: 0x02000003 (110 C, 110 C)
cpu0: MSR_MISC_FEATURE_CONTROL: 0x00000000 (L2-Prefetch L2-Prefetch-pair L1-Prefetch L1-IP-Prefetch)
Avg_MHz Busy%   Bzy_MHz TSC_MHz IPC     IRQ     SMI     POLL    C1E     C6      C10     POLL%   C1E%    C6%     C10%    CPU%c1  CPU%c6  CPU%c7  CoreTmp CoreThr PkgTmp  Totl%C0 Any%C0  GFX%C0  CPUGFX% Pkg%pc2 Pkg%pc3 Pkg%pc6 Pkg%pc7 Pkg%pc8      Pkg%pc9 Pk%pc10 CPU%LPI SYS%LPI PkgWatt CorWatt GFXWatt RAMWatt PKG_%   RAM_%   UncMHz  Die%c6
3       0.10    2699    3072    0.44    1774    0       0       31      85      1751    0.00    0.02    0.06    99.82   0.37    61.78   36.82   38      4302    40      11.64   6.76    0.00    0.00    87.62   0.00    0.00    0.00    0.000.00     0.00    0.00    0.00    5.29    0.81    0.00    0.00    0.00    0.00    3400    86.89
3       0.10    2734    3072    0.45    1752    0       0       17      230     1646    0.00    0.01    0.18    99.72   0.01    62.03   36.89   38      4302    40      9.46    6.28    0.00    0.00    88.07   0.00    0.00    0.00    0.000.00     0.00    0.00    0.00    5.24    0.76    0.00    0.00    0.00    0.00    3400    90.46
^C6     0.20    3012    3072    0.61    206     0       0       2       3       256     0.00    0.00    0.03    99.80   0.01    61.81   36.96   38      4302    40      12.84   7.85    0.00    0.00    86.34   0.00    0.00    0.00    0.000.00     0.00    0.00    0.00    5.31    0.86    0.00    0.00    0.00    0.00    3400    67.94