I've found most of the solution, and the issue wasn't MTRR or PAT. A nohugeiomap
kernel boot parameter solves the first warning outright. Changing the settings with cpupower
and x86_energy_perf_policy
solve the latter issue, but only temporarily. The new settings don't persist, and return to their defaults after I reboot. Is cpu-powersave
overriding them? How do I make them permanent?
Thus far, I've done:
echo 'nohugeiomap cpufreq.default_governor=schedutil energy_perf_bias=balance-performance' | sudo tee /etc/kernel/cmdline
sudo clr-boot-manager update
sudo cpupower set -b 4
sudo cpupower frequency-set -g schedutil
sudo x86_energy_perf_policy -c all -t 1 balance-performance
sudo systemctl daemon-reload