this post was submitted on 05 Mar 2026
3 points (66.7% liked)

Linux

16524 readers
195 users here now

Welcome to c/linux!

Welcome to our thriving Linux community! Whether you're a seasoned Linux enthusiast or just starting your journey, we're excited to have you here. Explore, learn, and collaborate with like-minded individuals who share a passion for open-source software and the endless possibilities it offers. Together, let's dive into the world of Linux and embrace the power of freedom, customization, and innovation. Enjoy your stay and feel free to join the vibrant discussions that await you!

Rules:

  1. Stay on topic: Posts and discussions should be related to Linux, open source software, and related technologies.

  2. Be respectful: Treat fellow community members with respect and courtesy.

  3. Quality over quantity: Share informative and thought-provoking content.

  4. No spam or self-promotion: Avoid excessive self-promotion or spamming.

  5. No NSFW adult content

  6. Follow general lemmy guidelines.

founded 2 years ago
MODERATORS
 

cross-posted from: https://lemmy.eco.br/post/21348187

Olá galera, sou novo por aqui, muito prazer em fazer parte dessa comunidade. Bom eu tenho usado o void Linux na tentativa de dá uma sobrevida ao meu meu velho notebook com um i3 de 1º geração e 4GB de ram. Estou usando o niri windows manager porém mesmo só com o mínimo de coias instaladas ele fica na casa de 1gb de ram e tem bastante travamento.

Além de trocar o HDD por um SDD, o que mais posso fazer para otimizar o meu sistema ?

desde já agradeço a todos que comentarem.

you are viewing a single comment's thread
view the rest of the comments
[–] INeedMana@piefed.zip 1 points 1 day ago (1 children)

I don’t have a deep technical grasp of how things work or the ‘why’ behind them

I think it's not needed in general. You might need to go a bit deeper as your project is a bit of an edge case (4GB RAM for desktop) but I don't think you'll need to learn programming

since I’m currently testing Void glibc, it doesn’t use systemd

Ah, I'm not familiar with Void itself. In that case you want to observe outputs of dmesg and tail -f /var/log/messages to see what the system complains about when the crashes happen

I’m open to using older software. At least, I think that’s what you’re suggesting, right? 🙂

Not exactly. Maybe I've lost grasp with how things look like on X, I've switched to Wayland even before it was universal. My thought is: Wayland might have been developed and tested more on stronger machines. While X definitely remembers the times when 4GB was absurdly a lot. So it might work better with lower specs. But if other software has already moved on, it's probably better idea to make Wayland work

My English isn’t the best, so please excuse any misunderstandings.

It's all good, don't worry about it. Sometimes I wonder if there are more people speaking English as second language than native speakers. I'm not a native speaker either

is there a tutorial or a website where I can learn how to properly use musl-based distros? Even though they aren’t as widely used, I believe software built on this library can be more performant

I haven't heard of any such place. In general Arch wiki is pretty good, even if you don't use that distro

I'm not convinced with musl being more performant. I'm not saying it isn't, just that I'm not convinced.
musl definitely has gotten recognition because of the size of Alpine docker image. Because in containers' world, smaller image means less data to send on update, less data to store in Registry, etc. But I've heard second-hand that some people using containers in production started to switch from Alpine to IIRC debian-slim (glibc) because of performance, while still having a small image. And image size does not really matter in your case, you are not running containers here. But all of that is anecdotal, not hard facts.
And in your case, musl might actually be a downside. AFAIU musl statically links everything. So that means that every program you run will have inside the same blocks of code, instead of re-using them via shared libraries. So statically linked binaries will be bigger, and when OS runs a program it has to load it whole into RAM.
Also, if using musl on desktop is less frequent in general, it might be harder to find solutions for problems with it


At home I have an old single board computer with 1GB of RAM. I'm not running a desktop on it but it serves a purpose in my network and works without an issue. So I think a desktop on 4GB should be doable, you just need to find which pieces of software to use.

With older CPU I expect you might run into problems with things like video decoding etc. So not that catastrophic level of failures. Unless the problem is that binaries from packages expect some CPU extensions that you don't have.
With small RAM you might be getting into problems with actually running the stuff. And that has to be mitigated if that's what's happening.
Hence, you need to start observing system logs (dmesg and /var/log/messages) what is going on when the crashes happen and start from there

[–] AndreProtasio@lemmy.eco.br 2 points 1 day ago

​Hi! While researching and using Gemini AI, I realized that the installation script I used didn't set up the zram properly. So, I created a swap file and configured the zram myself. Right now, I'm running a test: I'm compiling a Rust TUI app, watching a YouTube video in Firefox, streaming web radio via mpv to a Bluetooth speaker, and keeping the terminal open with 'bottom' to monitor everything. RAM usage peaked at 50%, with 50% swap usage. Even though the CPU usage is high, I'm really happy with the results. Thanks for the comments and the help! 😊