root@n100:~# ./setPL.sh 10 10 **** Current PL values from 'turbostat' cpu0: MSR_PKG_POWER_LIMIT: 0x4280c800dd8030 (UNlocked) cpu0: PKG Limit #1: ENabled (6.000 Watts, 28.000000 sec, clamp ENabled) cpu0: PKG Limit #2: ENabled (25.000 Watts, 0.002441* sec, clamp DISabled) **** Setting PL1=10000000 and PL2=10000000 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: 0x42805000dd8050 (UNlocked) cpu0: PKG Limit #1: ENabled (10.000 Watts, 28.000000 sec, clamp ENabled) cpu0: PKG Limit #2: ENabled (10.000 Watts, 0.002441* sec, clamp DISabled) **** MCHBAR is 0xfedc0001 **** Current value of PACKAGE_RAPL_LIMIT_0_0_0_MCHBAR_PCU = 0x00000000:0x00010000 **** Setting PACKAGE_RAPL_LIMIT_0_0_0_MCHBAR_PCU = 0x80000000:0x00000000 |
