49
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 17 Jan 2026
49 points (98.0% liked)
Linux
57274 readers
1340 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 6 years ago
MODERATORS






It's all just speculations, both what you suggested and what others said.
You are on the right path with your screenshots but you might not be measuring the right thing.
So, you need a (paper) notebook to record objectively (not your biased feeling assuming a pattern that might not exist) when it happens and for how long. Only from then can you backtrack to WHAT causes it. Sure you can have some hypothesis (update related, screen attach/detach, BIOS, RAM, etc) but that should NOT lead to your data acquisition.
So you htop is nice but AFAICT it's just about CPU and memory, it's not about e.g. IO so consider instead
iotop, in particular if one process is some indexing (e.g. locatedb). Theoretically if it's not CPU/memory (which you are saying it's not the case) then it basically just leaves IO, that can be again indexing, some heavy process that is bottlenecked on disk access, but can also be a bug, e.g. BT pairing/unpairing that happens faster than you can notice.Think of this as a fun investigation that leads you to better understanding of your setup, good luck.
Yeah I guess you’re right, my last chance of solving the problem could be by creating a spreadsheet with as much data as possible on every occurrence..
I don’t think it would be a thrilling investigation though😅
What are IO and Iotop?
Input / Output.
Reading and writing to disk, network, etc.
iotopshows will show applications writing and reading from disk. It's going to likely be pretty sporadic.What may be happening, and what others are suggesting, is that you're running out of memory (8gig isn't that much these days). When that happens the system starts writing memory to disk so it can free more. That's what you see with the "swap" usage. You can see a bit more about your memory usage with
free -m:Using swap space isn't necessarily bad. But reading/writing to it frequently can be a performance killer. You can monitor that with a command called
vmstat:The columns to pay attention to there are under the
---swap--header.siis "Swap In" andsois "Swap Out. Those are reads/writes to and from swap space. Seeing a little activity there is fine. It is typically pretty spikey. But if you're seeing lots of numbers there then it could just indicate that you're running low on memory and the OS needs to move things to and from disk frequently. While it's moving things to and from the disk the application trying to use that memory has to wait.Thanks!