DEV Community

Cover image for Turbocharge Your Linux: 8 Secrets to Unlock Blazing Speed and Performance! ️‍⚡️‍🔥

Turbocharge Your Linux: 8 Secrets to Unlock Blazing Speed and Performance! ️‍⚡️‍🔥

Best Codes on August 11, 2024

Ubuntu Unleashed, Part 2: Improve Speed and Performance on Ubuntu Welcome back to Ubuntu Unleashed! If you've been following along, you'...
Collapse
 
shricodev profile image
Shrijal Acharya

This article should not be limited to Ubuntu. I've done almost everything described here already on my Arch system. The only difference is that you need to change the command for the package manager. 🙂

Note: Only use preload if you have at least 8GB of RAM.

Collapse
 
best_codes profile image
Best Codes

Thanks for the feeback, Shrijal!

I've made a few edits to the post.

Preload does require a lot of RAM. I was not sure if I should include it, since the other tools were focused on things like optimizing RAM usage, but I did. I'll add a note like you suggested.

Collapse
 
shricodev profile image
Shrijal Acharya

Now, that is already much better. Hey, that’s so kind of you to mention my work. Keep growing, buddy! 😇

Thread Thread
 
best_codes profile image
Best Codes

Your work is awesome and deserves to be mentioned!

Thanks for the kind wishes. 🙂

Collapse
 
ddebajyati profile image
Debajyati Dey

Thanks for the insight!

Collapse
 
best_codes profile image
Best Codes

Is this addressing me or Shrijal?

I think Shrijal was quite insightful. 😁

Thread Thread
 
ddebajyati profile image
Debajyati Dey

Hmm... Both are insightful!

Thread Thread
 
best_codes profile image
Best Codes

😃

Collapse
 
alt_exist profile image
Alternate Existance

Cool, i use Manjaro, do you think it will work on my OS?

My device is pretty small, how do i find how much ram it has?

Collapse
 
shricodev profile image
Shrijal Acharya
cat /proc/meminfo | grep -i memtotal | awk '{print $2/1024/1024 " GB"}'
Enter fullscreen mode Exit fullscreen mode

You could use the above command to get the amount of RAM you have in GB. If you want to view it in KB, remove the pipe output to the awk command.

It is distro-independent, so you should be able to use this command in any other distros. If you want to view it in a TUI, you could use something like btop. 👀

Thread Thread
 
alt_exist profile image
Alternate Existance

Wow, thank you!

Collapse
 
best_codes profile image
Best Codes

I've never heard of Manjaro (My knowledge of Linux Distros is rather narrow).

Do you know what package manager it uses?

Thread Thread
 
shricodev profile image
Shrijal Acharya

Manjaro is based on arch, so it should be using the same old pacman. 👾

Thread Thread
 
best_codes profile image
Best Codes

Ah, got it.

Collapse
 
martinbaun profile image
Martin Baun

Great post to bookmark!

Collapse
 
best_codes profile image
Best Codes

Awesome, glad you enjoyed!

Collapse
 
robbenzo24 profile image
Rob Benzo

Nice, I like ZRAM

Collapse
 
best_codes profile image
Best Codes

Thanks Rob! I'm glad the post was useful.

Collapse
 
alt_exist profile image
Alternate Existance

Nice article, can't wait for the next

Collapse
 
best_codes profile image
Best Codes

Thank you!