I'm experiencing lagging on my linux laptop.
For example, sometimes, when I switch tabs by clicking in the browser, the click doesn't get registered for around 5 seconds and then the webpage itself loads 5 more seconds. Sometimes when I type in my text editor the symbols and the edits appear some 2 seconds later. Please help me figure out why that is.
I am running an arch-based distro on a 2014 MacBook Pro, with lxqt/i3 (which I consider to be pretty lightweight - no overhead there), I tested this behavior in my main Firefox with a lot of extensions and on a clean install of Firefox - same lagging persists. I am also running power-profiles-deamon and switched to the balanced profile (didn't help too). I am also monitoring cpu frequency with bpytop - it is all over the place (800MHz-2.0GHz-3.1GHz), but the CPU load is always around 10-20% and the temps are around 60-70C. I have a fan manager daemon running and the fan spins under heavy load.
I am on a WiFi connection right now, and can't test the browser behavior with a wired connection (but I'm sure the editor has nothing to do with connection speed).
I would like to know, how to make the laptop perform these tasks faster (at a higher clock speed, possibly with a higher load and at the expense of battery life which I don't care about). My boot clock is 3.4GHz.