Since yesterday, my computer running Kubuntu has been freezing briefly every 3 to 4 seconds, causing constant lag spikes. I've updated the drivers, disabled SWAP, and switched everything to performance mode, but the issue persists. The only recent change I made was installing an optical drive, so I'm really puzzled about what could be causing this. Any advice would be greatly appreciated!
3 Answers
You might want to try some basic troubleshooting steps. Check the performance monitor with `htop` to see what’s consuming resources, use `journalctl -f` to track logs in real time, or run `sudo dmesg` to check for any error messages (look for red lines). Also, make sure the drive is plugged in correctly and try reconnecting it.
Was your optical drive a SATA one? Sometimes a faulty or improperly connected drive can cause the host controller to reset, leading to issues like your computer freezing. It might also impact other drives on the same controller. Double-check the connection and see if that helps!
Have you thought about unplugging the optical drive to see if that fixes the freezing? It could isolate the issue and let you know if that drive is the culprit.

Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures