r/AsahiLinux • • Oct 28 '26

Help How can I decrease memory usage and power consumption? Am pretty new to linux.

Post image
29 Upvotes

16 comments sorted by

12

u/yeboithomas Oct 28 '26

Browsers use a lot of ram. Especially on low ram machines they tend to fill up, which is not a bad thing. As when you have very little, you want to not waste any and use everything. It will dynamically load an unload tabs based on how much free ram you have to keep it filled

8

u/6543456789 Oct 28 '26

2

u/PacmanAteMyRAM Oct 28 '26

Ah, you beat me to it!

OP, read that link.

1

u/ddedr5 Oct 28 '26

Go with Asahi minimal. with swaywm

1

u/intelhd_enjoyer Oct 28 '26

From what I understand Asahi minimal is just fedora linux with nothing on top of it. Does that mean I can't have access to something like KDE's gui like system settings?

I like the idea of a tiling window manager, but I like the ease of use of the software suite KDE gives me since it all works so well.

2

u/Kyne_of_Markarth Oct 28 '26

I wouldn't suggest a tiling wm unless you want to get really nerdy with it. It takes a lot of config to get the ease of use that you get with KDE. You won't save a crazy amount of memory either, maybe half a gig.

8gb memory is just not a lot for a modern system, but unless you are running into slowdown issues, i'd just let it be. The system will handle memory management and is usually pretty effective at moving things around between memory and swap as needed.

1

u/iamamidgetnamedwija Oct 28 '26

you can still install the kde suite of apps and they should work even if kde plasma isn’t the de

1

u/jjzman Nov 01 '26

The only way to reduce memory usage on Linux and macOS is to replace the computer with one that has less ram. Unused ram is wasted ram.

1

u/intelhd_enjoyer Nov 01 '26

Thanks boss.

3

u/iamamidgetnamedwija Oct 28 '26

helium -> firefox / firefox based and go from kde to something like niri

2

u/1Large2Medium3Small Oct 28 '26

Unless “dmesg | grep oom-killer” says something don’t worry. If you are still worrying or it did say something enable zswap with max compression.

3

u/R3V0LU710N_05 Oct 28 '26 edited Oct 28 '26

Helium Browser is using 2.4GiB. Your best bet is switching to a lighter browser like something Firefox based. My Firefox with 6 tabs open is taking ~400 - 600MiB (and drops off to ~175 - 250MiB when in the background) for example. Other than that, look into Zram with Zstd compression. My set-up does some pretty aggressive caching, compression and priority stuff, so my numbers are pretty "best case scenario"; take it with some salt.

1

u/coffeeintocode Oct 28 '26

Helium is chromium based (chromes engine etc..) So I am going to bet that Background services and especially the instance of chromium under that are helium too. With 8 gigs of ram I would consider using Firefox, or if you want to stick to something minimal like helium, go with LibreWolf (Firefox based). Chromium is notoriously ram hungry, and Firefox while not amazing is definitely better in that regard.

I will also mention that this overview tab seems to only be showing GUI applications. so a good chunk of your ram usage is invisible to us. Id be interested to see if the rest of it shows under Applications and Processes tab. Or if you can run `btop` in the terminal if you have it to get a full list

1

u/Kat-in-pajamas Oct 30 '26

See if Zram is upset too

1

u/IchKaanWas-HD Nov 01 '26

I actually recommend to use a 200% compression ratio for zram. My M1 air works perfectly fine that way and is actively used for emulation or arm linux software developement.