I get the following output, as I expect:
**** Current PL values from 'turbostat'
cpu0: MSR_PKG_POWER_LIMIT: 0x4280c800dd8078 (UNlocked)
cpu0: PKG Limit #1: ENabled (15.000 Watts, 28.000000 sec, clamp ENabled)
cpu0: PKG Limit #2: ENabled (25.000 Watts, 0.002441* sec, clamp DISabled)
**** Setting PL1=25000000 and PL2=25000000 in /sys/class/powercap/intel-rapl/intel-rapl:0/constraint_*_power_limit_uw
**** PL1 and PL2 already enabled in MSR_PKG_POWER_LIMIT
**** New PL values from 'turbostat'
cpu0: MSR_PKG_POWER_LIMIT: 0x4280c800dd80c8 (UNlocked)
cpu0: PKG Limit #1: ENabled (25.000 Watts, 28.000000 sec, clamp ENabled)
cpu0: PKG Limit #2: ENabled (25.000 Watts, 0.002441* sec, clamp DISabled)
**** MCHBAR is 0xfed10001
**** Current value of PACKAGE_RAPL_LIMIT_0_0_0_MCHBAR_PCU = 0x004280c8:0x00dd8078
**** Setting PACKAGE_RAPL_LIMIT_0_0_0_MCHBAR_PCU = 0x80000000:0x00000000
But under stress, it won't actually stick to 25, it always goes back down to 15 shortly.
I even tried editing the PL time as referenced here: #9 (after a reboot) and that changes nothing either. If I set the power limit below it's normal limit of 15, however, it works perfectly fine. What is going on here?
I get the following output, as I expect:
**** Current PL values from 'turbostat'
cpu0: MSR_PKG_POWER_LIMIT: 0x4280c800dd8078 (UNlocked)
cpu0: PKG Limit #1: ENabled (15.000 Watts, 28.000000 sec, clamp ENabled)
cpu0: PKG Limit #2: ENabled (25.000 Watts, 0.002441* sec, clamp DISabled)
**** Setting PL1=25000000 and PL2=25000000 in /sys/class/powercap/intel-rapl/intel-rapl:0/constraint_*_power_limit_uw
**** PL1 and PL2 already enabled in MSR_PKG_POWER_LIMIT
**** New PL values from 'turbostat'
cpu0: MSR_PKG_POWER_LIMIT: 0x4280c800dd80c8 (UNlocked)
cpu0: PKG Limit #1: ENabled (25.000 Watts, 28.000000 sec, clamp ENabled)
cpu0: PKG Limit #2: ENabled (25.000 Watts, 0.002441* sec, clamp DISabled)
**** MCHBAR is 0xfed10001
**** Current value of PACKAGE_RAPL_LIMIT_0_0_0_MCHBAR_PCU = 0x004280c8:0x00dd8078
**** Setting PACKAGE_RAPL_LIMIT_0_0_0_MCHBAR_PCU = 0x80000000:0x00000000
But under stress, it won't actually stick to 25, it always goes back down to 15 shortly.
I even tried editing the PL time as referenced here: #9 (after a reboot) and that changes nothing either. If I set the power limit below it's normal limit of 15, however, it works perfectly fine. What is going on here?