Framework 16 CPU Performance against older machine

Which Linux distro are you using? Lubuntu

Which release version? 24.04.1

Which kernel are you using? Linux 6.8.0-48-generic

Which BIOS version are you using? 03.02

Which Framework Laptop 16 model are you using? AMD Ryzen™ 7040 Series


I’ve been running Ubuntu on a Dell XPS 15 since around 2019. I am a developer and I spend a lot of time running test suites (jest, phpunit, etc…)

Since switching to the framework I’ve noticed that test suites which used to run on my old machine in 2-3 minutes take upwards of 5 minutes. I’ve also noticed that when running local machines via docker the response time is greatly increased over my last machine.

I know enough about tweaking my distro and settings but I’m at a lost as to how to proceed currently. I’ve investigated (and installed) performance profiles daemon according to the ubuntu battery guide and set it to performance mode.

When running my test suites CPU utilization for all cores jumps to 90-100% but the tests just run so darn slow.

Does anyone have any suggestions or guides I can look to to tweak my system to improve performance?

I use this machine daily for my job and it’s becoming a time sink that frustrates me daily since I can’t get my tools to work as expected.

My old machine for comparison runs an Intel i9-9980HK @ 2.4 GHZ, the max CPU is lower than the frameworks (5000 compared to 6228).

One thing I’m seeing when I run lscpu is that the framework has a CPU(s) scaling MHz anywhere between 25% and 70% whereas my XPS doesn’t display any scaling. I’m wondering if this is governing the cpu usage in some way and explaining the slowness I’m seeing but I can’t figure out how to remove or adjust that percentage.

Thanks!

Take a look at these for possible causes:

May it be something with the ssd? Test suites may be bound to disk IO.

Which BIOS version are you using? 03.02
May be try the 03.03 it is the last stable.

(juste some idea…)