Wednesday, March 23, 2022

Red Hat sluggish, CPU MHz wont increase with system load

Doesn't matter which CPU governor I use the CPU freq wont drop to idle (800mhz) and wont increase to max power. This problem not seen with Debian based systems on same laptop.

This is the CPU frequency under load:

#cat /proc/cpuinfo | grep MHz
cpu MHz : 1094.404
cpu MHz : 1094.400
CPU Governor is set to performance which should quickly scale to max MHz frequency (but isn't)

#cat /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor
performance
performance

#lscpu | grep MHz
CPU MHz: 1094.055
CPU max MHz: 2800.0000
CPU min MHz: 800.0000

The fix for me was this command :

#tuned-adm profile desktop

After this the CPU frequency immediately started to go up and down with system load like normal.  The previous profile (default) was "throughput-performance" which for whatever reason wasn't working well.

Friday, March 11, 2022

Firefox hide "title bar" in Linux / Ubuntu

Chrome and browsers based on Chromium have a compact layout where the normal application top title bar is hidden. However Firefox by default shows this (useless) title bar. To disable this and have a more compact layout do this

- In firefox right click in a blank space where tabs go
- Pick customize toolbar
- In the bottom left uncheck the box "Title bar"
//]]>