TL;DR: Xeon E5-2630 does not reach even the TDP, turbo boosts the clock only when idle, reduces when under load and stays cool as cucumber, despite removing all limits except for the built-in thermal ones.
I am trying to squeeze maximum power from an older Xeon processor (Intel Xeon CPU E5-2630 v3 @ 2.40GHz, Haswell architecture). The processor has 8 cores, is hyperthreaded and has a TDP of 85W, and should be able to boost to 3.2Ghz: https://ark.intel.com/content/www/us/en/ark/products/83356/intel-xeon-processor-e52630-v3-20m-cache-2-40-ghz.html
I have Ubuntu 22.04 installed, and governor has been set to "performance". Before that (with default governor "ondemand"), the processor kinda behaved as expected: 1.2 GHz when idle, and then ramped to 2.6 GHz when under load. After setting the governor to "performance" the following curious thing started to happen (I am using a plethora of tools to observe these parameters, but all give the same result - I mostly rely on s-tui and turbostat)
- When processor is (almost) idle, all cores run at 3.2 Ghz. turbostat reports PkgWatt of 20-25W (I run kvm with nearly idle windows VM at the same time,when observing that), and the temperature of all cores is 35-40 degrees C.
- When I stress the processor using s-tui (or some other tool), the processor frequency drops to 2.6 GHz, and the temperatures of all cores raise to 48-52 degrees C. All tools report full load on all cores. Turbostat PkgWatt increases to 48-52 Watts.
Now, understanding the TDP of the processor is 85W TDP, this does not make any sense! Reading the RAPL docs https://01.org/blogs/2014/running-average-power-limit-%E2%80%93-rapl, the processor should boost at least to TDP, if not over.
Of course, the thermal throttling can limit that, but all cores are way cooler than the limit, so that is probably not the issue?
Examining further, I tried to adjust the RAPL limits using powercap-set intel-rapl and I raised the power_limit_uw to 250000000 (250W) for both long and short term constraints, and also set very long times. The limit before that was 75W, so not even that was reached under load! The change was accepted, and now rapl-info reports the following:
name: package-0
enabled: 1
max_energy_range_uj: 262143328850
Constraint 0
name: long_term
power_limit_uw: 250000000
time_window_us: 2046820352
max_power_uw: 85000000
Constraint 1
name: short_term
power_limit_uw: 250000000
time_window_us: 2046820352
max_power_uw: 170000000
Subzone 0
name: dram
enabled: 0
max_energy_range_uj: 65712999613
Constraint 0
name: long_term
power_limit_uw: 0
time_window_us: 976
max_power_uw: 19500000
However, there is no change in processor behavior. Any ideas why or what to do to force processor to boost to 3.2Ghz and stay there under load? I have a lot of headroom with cooling so this really surprised me in a negative way.
EDIT. The possibilites that 1) perhaps only single core can boost or 2) that my thermal budget is exhausted are IMHO pretty remote, as 1) when idle, many cores are boosted to 3.2Ghz, my thermal budget stays way below even the stated TDP and the temperature of cores are low. I am attaching images of s-tui under load and idle.

