49
submitted 2 days ago* (last edited 2 days ago) by Dariusmiles2123@sh.itjust.works to c/linux@lemmy.ml

Hi everyone!

My daily driver is a Surface Go 1 running Fedora with 8GB of ram and 128GB of storage. It is always hooked up to a Philips 273B screen via USB-C.

Most of the time, it is really fast and a perfect tiny Linux and Gnome machine easily hookable to a big screen for when you're not travelling.

However, sometimes, after installing updates but maybe not always, it is slow as hell. Sometimes, detaching the Surface from the big screen and hooking it again, solves the issue, but not always. It is a behavior I already had when I was using Ubuntu and I've had on Fedora since version 36.

Here are some useful printscreens from HTOP and the ressource management system:

#high cpu usage

#low cpu usage

I thought that maybe installing the Surface kernel would stop the issue, but it didn't..

Sometimes it's annoying enough to make me just want to use my wife's MacBook Pro 2012 running Fedora as a daily driver but the form factor is less practical.

Thanks in advance for any help!

Edit: it happens on startup, even after days of inactivity

you are viewing a single comment's thread
view the rest of the comments
[-] atzanteol@sh.itjust.works 1 points 2 days ago

How so, given that we immediately re-enable the same swap device right after so that it’s only off for a very brief moment? Let go :)

$ free -m
              total        used        free      shared  buff/cache   available
Mem:           64141       17213       24010        1984       30297       46927
Swap:          20479           0       20479

See that buff/cache column? That's memory being used by the system for caching. Files you you open and access get cached into memory as do inodes, filesystem objects, etc. If you run a "find / -type f" twice in a row the second one will be significantly faster because the first run cached a lot of objects into memory.

By starving the system of memory all that will be flushed and you get more disk access doing things you're actually trying to do. Whereas things sitting in swap are there because they aren't currently needed.

By turning off swap and then back on again you're just forcing the system to drop all that cache which it will then attempt to reclaim space for and push things back out to swap.

I don't know what benefit you think you'll gain in the process.

this post was submitted on 17 Jan 2026
49 points (98.0% liked)

Linux

57274 readers
1257 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

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS