# CPU Performance Governor

**URL:** <https://community.frame.work/t/cpu-performance-governor/4028>\
**Category:** Framework Laptop 13\
**Created:** [August 2, 2021, 6:59pm UTC](https://community.frame.work/t/cpu-performance-governor/4028 "2021-08-02T18:59:15Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![mbernhard](https://avatars.discourse-cdn.com/v4/letter/m/b38774/32.png) [@mbernhard](https://community.frame.work/u/mbernhard)\
**Post date:** [August 2, 2021, 6:59pm UTC](https://community.frame.work/t/cpu-performance-governor/4028/1 "2021-08-02T18:59:15Z")

</div>

One thing I have noticed: in my install of Arch, the default CPU governor is power-save, which in my opinion is crazy aggressive. It caps core usages to half of the logical cores, and only allows turbo boosting in exceedingly short bursts, making things like multitasking effectively impossible (It’s so bad that even mouse movements are super choppy). Changing the governor to performance fixed the issue, but I thought I’d post about it in case others have issues too.

---

<div class="post-metadata">

**Author:** ![William\_Light](https://sea1.discourse-cdn.com/flex001/user_avatar/community.frame.work/william_light/32/1196_2.png) [@William\_Light](https://community.frame.work/u/William_Light)\
**Post date:** [August 2, 2021, 9:43pm UTC](https://community.frame.work/t/cpu-performance-governor/4028/2 "2021-08-02T21:43:11Z")

</div>

that’s really odd. what desktop environment are you using?

i leave my governor on powersave like 98% of the time i use my framework and i don’t notice any slowdowns at all. to the contrary, everything is quite smooth, even if i’m compiling code in the background.

---

<div class="post-metadata">

**Author:** ![mbernhard](https://avatars.discourse-cdn.com/v4/letter/m/b38774/32.png) [@mbernhard](https://community.frame.work/u/mbernhard)\
**Post date:** [August 2, 2021, 10:50pm UTC](https://community.frame.work/t/cpu-performance-governor/4028/3 "2021-08-02T22:50:01Z")

</div>

GNOME 40. Maybe it’s something else weird with my config?

---

<div class="post-metadata">

**Author:** ![William\_Light](https://sea1.discourse-cdn.com/flex001/user_avatar/community.frame.work/william_light/32/1196_2.png) [@William\_Light](https://community.frame.work/u/William_Light)\
**Post date:** [August 3, 2021, 2:08am UTC](https://community.frame.work/t/cpu-performance-governor/4028/4 "2021-08-03T02:08:58Z")

</div>

If you haven’t disabled PSR yet, definitely do that:

> [@Periodic stuttering on fresh gnome.40 wayland install on Arch Linux](http://community.frame.work/t/periodic-stuttering-on-fresh-gnome-40-wayland-install-on-arch-linux/3912):
>
> Hey there wave As the title states I’m getting stuttering that I don’t quite know how to diagnose. Not sure if it is caused by gnome 40, wayland, arch linux, or the framework. For the record, I’ve tried latest kernel and 5.12.15. Anyone else having stutters on wayland? It appears as mouse and keyboard lag every once in a while.

---

<div class="post-metadata">

**Author:** ![mbernhard](https://avatars.discourse-cdn.com/v4/letter/m/b38774/32.png) [@mbernhard](https://community.frame.work/u/mbernhard)\
**Post date:** [August 3, 2021, 2:22am UTC](https://community.frame.work/t/cpu-performance-governor/4028/5 "2021-08-03T02:22:08Z")

</div>

Just did. I’ll see if the setting it back to powersave works better this time.

---

<div class="post-metadata">

**Author:** ![Anthony\_Powell](https://sea1.discourse-cdn.com/flex001/user_avatar/community.frame.work/anthony_powell/32/1059_2.png) [@Anthony\_Powell](https://community.frame.work/u/Anthony_Powell)\
**Post date:** [August 3, 2021, 4:11am UTC](https://community.frame.work/t/cpu-performance-governor/4028/6 "2021-08-03T04:11:35Z")

</div>

I’m finding strange results in cpupower as well. It says that my frequency range is 400mhz-400mhz despite the governor I select and whenever I check frequency under load it maxes at 1.5ghz. Experiencing somewhat slower performance than I would expect but no UI stutters after PSR fix.

---

<div class="post-metadata">

**Author:** ![nrp](https://sea1.discourse-cdn.com/flex001/user_avatar/community.frame.work/nrp/32/352_2.png) [@nrp](https://community.frame.work/u/nrp)\
**Post date:** [August 3, 2021, 5:06am UTC](https://community.frame.work/t/cpu-performance-governor/4028/7 "2021-08-03T05:06:57Z")

</div>

That’s definitely strange. Just to confirm for folks at 400MHz, do Ubuntu 21.04 and Fedora 34 respins show normal performance? Is the issue specific to Arch?

---

<div class="post-metadata">

**Author:** ![Anthony\_Powell](https://sea1.discourse-cdn.com/flex001/user_avatar/community.frame.work/anthony_powell/32/1059_2.png) [@Anthony\_Powell](https://community.frame.work/u/Anthony_Powell)\
**Post date:** [August 3, 2021, 4:41pm UTC](https://community.frame.work/t/cpu-performance-governor/4028/8 "2021-08-03T16:41:23Z")

</div>

I’ll whip up a live usb after work and test it out, considering I haven’t seen any complaints on the other thread I’ll assume it is not a problem.

I may try and dig up a CPU benchmark and run it on ubuntu vs arch and see what’s up. Might also be good to test out the latest kernel and make sure that’s not the issue.

---

<div class="post-metadata">

**Author:** ![Anthony\_Powell](https://sea1.discourse-cdn.com/flex001/user_avatar/community.frame.work/anthony_powell/32/1059_2.png) [@Anthony\_Powell](https://community.frame.work/u/Anthony_Powell)\
**Post date:** [August 3, 2021, 7:23pm UTC](https://community.frame.work/t/cpu-performance-governor/4028/9 "2021-08-03T19:23:46Z")

</div>

Did some more investigation under arch.

`sudo pacman -S s-tui; s-tui`

displays a super nice monitor of core usage and temps if you scroll down with the arrow keys. I was stuck at 1.2ghz on all cores for sure, twitch was lagging on one display pretty badly and vscode was very slow to do any operations.

I installed [https://github.com/erpalma/throttled](https://github.com/erpalma/throttled) which describes a throttling issue affecting many modern intel bearing laptops under linux getting prematurely throttled.

According to the logs from `journalctl -u lenovo_fix.service` the service fails to start _but_ another look at `s-tui` after reboot shows clocks all the way up to 4.0ghz on cores and settling in the 2-3.5ghz range under load.

Everything definitely feels way snappier. @nrp perhaps the issues described [https://www.reddit.com/r/thinkpad/comments/870u0a/t480s\_linux\_throttling\_bug/](https://www.reddit.com/r/thinkpad/comments/870u0a/t480s_linux_throttling_bug/) and in the link above is something to be investigated by the team?

---

<div class="post-metadata">

**Author:** ![A\_L](https://avatars.discourse-cdn.com/v4/letter/a/9fc348/32.png) [@A\_L](https://community.frame.work/u/A_L)\
**Post date:** [August 4, 2021, 7:15am UTC](https://community.frame.work/t/cpu-performance-governor/4028/10 "2021-08-04T07:15:06Z")

</div>

On Linux Mint xfce 20.2, kernel 5.11, with default settings haven’t had any stuttering issues, but happy to run diagnostics/benchmarks and report if it can help isolate the issue

---

<div class="post-metadata">

**Author:** ![Enjewneer](https://sea1.discourse-cdn.com/flex001/user_avatar/community.frame.work/enjewneer/32/1666_2.png) [@Enjewneer](https://community.frame.work/u/Enjewneer)\
**Post date:** [August 16, 2021, 1:47pm UTC](https://community.frame.work/t/cpu-performance-governor/4028/11 "2021-08-16T13:47:47Z")

</div>

> [@Anthony\_Powell](#):
>
> I installed [GitHub - erpalma/throttled: Workaround for Intel throttling issues in Linux.](https://github.com/erpalma/throttled) which describes a throttling issue affecting many modern intel bearing laptops under linux getting prematurely throttled.
> 
> According to the logs from `journalctl -u lenovo_fix.service` the service fails to start _but_ another look at `s-tui` after reboot shows clocks all the way up to 4.0ghz on cores and settling in the 2-3.5ghz range under load.

I have experience with throttled using my current Thinkpad X1C6 (until my new Framework arrives). It made a significant difference in performance and stopped premature throttling on the laptop’s i7-8550u. I needed this for eGPU passthrough for VFIO.

According to the Arch wiki for the X1C6 [Lenovo ThinkPad X1 Carbon (Gen 6) - ArchWiki](https://wiki.archlinux.org/title/Lenovo_ThinkPad_X1_Carbon_(Gen_6)#Power_management/Throttling_issues), a fix has been implemented in thermald as well, but I can’t report as to that as I’ve not tried it.

---

<div class="post-metadata">

**Author:** ![Luke\_Graham](https://avatars.discourse-cdn.com/v4/letter/l/e274bd/32.png) [@Luke\_Graham](https://community.frame.work/u/Luke_Graham)\
**Post date:** [August 31, 2021, 3:16pm UTC](https://community.frame.work/t/cpu-performance-governor/4028/12 "2021-08-31T15:16:33Z")

</div>

Has anyone tried this to see if it possibly would fix this issue?

---

<div class="post-metadata">

**Author:** ![Alan\_Geleynse](https://sea1.discourse-cdn.com/flex001/user_avatar/community.frame.work/alan_geleynse/32/948_2.png) [@Alan\_Geleynse](https://community.frame.work/u/Alan_Geleynse)\
**Post date:** [September 3, 2021, 7:17pm UTC](https://community.frame.work/t/cpu-performance-governor/4028/13 "2021-09-03T19:17:39Z")

</div>

I am seeing throttling to 200 MHz across all cores.

Both powertop and /proc/cpuinfo are showing 200MHz.

I have been able to get better performance a few times, but now seem to be stuck. Even boot takes almost a minute to get to the drive unlock.

This is on Ubuntu 21.04 with everything up to date.

---

<div class="post-metadata">

**Author:** ![nrp](https://sea1.discourse-cdn.com/flex001/user_avatar/community.frame.work/nrp/32/352_2.png) [@nrp](https://community.frame.work/u/nrp)\
**Post date:** [September 3, 2021, 7:52pm UTC](https://community.frame.work/t/cpu-performance-governor/4028/14 "2021-09-03T19:52:03Z")

</div>

> [@Alan\_Geleynse](#):
>
> I have been able to get better performance a few times, but now seem to be stuck. Even boot takes almost a minute to get to the drive unlock.

Could you check if removing all Expansion Cards changes this behavior?

---

<div class="post-metadata">

**Author:** ![Alan\_Geleynse](https://sea1.discourse-cdn.com/flex001/user_avatar/community.frame.work/alan_geleynse/32/948_2.png) [@Alan\_Geleynse](https://community.frame.work/u/Alan_Geleynse)\
**Post date:** [September 3, 2021, 8:31pm UTC](https://community.frame.work/t/cpu-performance-governor/4028/15 "2021-09-03T20:31:17Z")

</div>

> [@nrp](#):
>
> Could you check if removing all Expansion Cards changes this behavior?

I booted with no expansion cards and it booted in seconds. Haven’t had any problems since with the cards inserted, so I am not sure which one it was. Will need to test further to verify.

---

<div class="post-metadata">

**Author:** ![nrp](https://sea1.discourse-cdn.com/flex001/user_avatar/community.frame.work/nrp/32/352_2.png) [@nrp](https://community.frame.work/u/nrp)\
**Post date:** [September 3, 2021, 9:39pm UTC](https://community.frame.work/t/cpu-performance-governor/4028/16 "2021-09-03T21:39:11Z")

</div>

> [@Alan\_Geleynse](#):
>
> Will need to test further to verify.

If you narrow it down to a card in a specific bay, could you try this: [An Expansion Card bay on my laptop does not function correctly](https://knowledgebase.frame.work/en_us/one-port-on-my-laptop-does-not-function-correctly-r1mqMnTet)

---

<div class="post-metadata">

**Author:** ![Alan\_Geleynse](https://sea1.discourse-cdn.com/flex001/user_avatar/community.frame.work/alan_geleynse/32/948_2.png) [@Alan\_Geleynse](https://community.frame.work/u/Alan_Geleynse)\
**Post date:** [September 8, 2021, 5:05pm UTC](https://community.frame.work/t/cpu-performance-governor/4028/17 "2021-09-08T17:05:05Z")

</div>

Following up on this, moving the RF sticker seems to have fixed the issue for me.

In my case, it looks like the edge of the sticker was right against the legs of the IC and causing problems. The other side of the sticker had detached and was floating. I adjusted them and made sure they were stuck and haven’t had any issues since.

 ![PXL_20210907_222358339](https://us1.discourse-cdn.com/flex001/uploads/framework3/original/2X/5/55914187431c553d2f9c2383b972ca8d0485f4fc.jpeg)

---

<div class="post-metadata">

**Author:** ![Luke\_Graham](https://avatars.discourse-cdn.com/v4/letter/l/e274bd/32.png) [@Luke\_Graham](https://community.frame.work/u/Luke_Graham)\
**Post date:** [September 20, 2021, 6:05pm UTC](https://community.frame.work/t/cpu-performance-governor/4028/18 "2021-09-20T18:05:44Z")

</div>

> [@Alan\_Geleynse](#):
>
> Following up on this, moving the RF sticker seems to have fixed the issue for me.
> 
> In my case, it looks like the edge of the sticker was right against the legs of the IC and causing problems. The other side of the sticker had detached and was floating. I adjusted them and made sure they were stuck and haven’t had any issues since.

Can anyone else confirm this?

---

<div class="post-metadata">

**Author:** ![Alan\_Geleynse](https://sea1.discourse-cdn.com/flex001/user_avatar/community.frame.work/alan_geleynse/32/948_2.png) [@Alan\_Geleynse](https://community.frame.work/u/Alan_Geleynse)\
**Post date:** [October 2, 2021, 7:13pm UTC](https://community.frame.work/t/cpu-performance-governor/4028/19 "2021-10-02T19:13:17Z")

</div>

After moving the sticker, I had no issues until today.

On a cold boot, it took minutes to start up and checking powertop showed everything stuck at 200MHz. Strangely not the same as the 400MHz I saw before.

Removing the micro-sd reader in the previously problematic slot immediately brought everything back to full speed.

Looking inside, the sticker did not appear to be shorting anything any longer, so I removed the sticker entirely for that slot. So far everything appears to be working well.

Here is what the sticker looked like while causing a problem.

 ![PXL_20211002_184033068](https://us1.discourse-cdn.com/flex001/uploads/framework3/original/2X/2/24cfaa4204dace00f6243190afc95685d553719f.jpeg)

---

<div class="post-metadata">

**Author:** ![Luke\_Graham](https://avatars.discourse-cdn.com/v4/letter/l/e274bd/32.png) [@Luke\_Graham](https://community.frame.work/u/Luke_Graham)\
**Post date:** [October 2, 2021, 10:21pm UTC](https://community.frame.work/t/cpu-performance-governor/4028/20 "2021-10-02T22:21:51Z")

</div>

Very interesting. By any chance what kernel are you using I’m currently on I believe 5.1.4 and don’t have the issue. Although I only got this yesterday haha.

[Next page](https://community.frame.work/t/cpu-performance-governor/4028.md?page=2)
