For whatever reason... CPU scaling in 20.04 is really weird and broken on my laptop.
In 19.10, I got pretty consistent performance. Testing with a parallel compile, I tend to get around 2.7 GHz per thread. With 20.04, I get this sometimes. Other times, the CPU's will stay around 1.2 GHz, other times at 2.2 GHz... and I had a prolonged stretch at 800 MHz. Setting the fans to run at full speed doesn't impact this issue one way or another.
Changing the CPU governor doesn't seem to make things any better or worse. Powersave and Performance seem to give the same results. I've confirmed that the changes to the CPU governor are reflected under /sys. Ie,
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
powersave
powersave
powersave
powersave
powersave
powersave
powersave
powersave
powersave
powersave
powersave
powersave
20.0.4 feels pretty sluggish on my laptop due to this. Possibly there's a change somewhere causing 20.04 to be less aggressive with the CPU clocks, but even so it seems odd to peg the CPU well below its rated speeds with the fans at full speed.
I tried booting back to my original 19.10 installation, the performance is definitely much better there.
I tried a custom kernel under 19.10 and 20.04 (same config), and that didn't seem impact either Kubuntu version, which makes me think it's not (necessarily) a kernel level change.
Relevant laptop specs:
Oryx Pro 5
i7 8750
In 19.10, I got pretty consistent performance. Testing with a parallel compile, I tend to get around 2.7 GHz per thread. With 20.04, I get this sometimes. Other times, the CPU's will stay around 1.2 GHz, other times at 2.2 GHz... and I had a prolonged stretch at 800 MHz. Setting the fans to run at full speed doesn't impact this issue one way or another.
Changing the CPU governor doesn't seem to make things any better or worse. Powersave and Performance seem to give the same results. I've confirmed that the changes to the CPU governor are reflected under /sys. Ie,
cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
powersave
powersave
powersave
powersave
powersave
powersave
powersave
powersave
powersave
powersave
powersave
powersave
20.0.4 feels pretty sluggish on my laptop due to this. Possibly there's a change somewhere causing 20.04 to be less aggressive with the CPU clocks, but even so it seems odd to peg the CPU well below its rated speeds with the fans at full speed.
I tried booting back to my original 19.10 installation, the performance is definitely much better there.
I tried a custom kernel under 19.10 and 20.04 (same config), and that didn't seem impact either Kubuntu version, which makes me think it's not (necessarily) a kernel level change.
Relevant laptop specs:
Oryx Pro 5
i7 8750
Comment