What exactly does zram do and should I get rid of my swap?

0
2
Asked By CuriousCat42 On

Hey everyone! I'm pretty new to all this, but I've been using zram on my old Debian potato laptop, and it seems to be doing wonders for performance. I'm currently using zram with 50% of my RAM. Can someone explain in really simple terms what zram does for my computer? Also, is it a good idea to delete my swap partition or file now that I have zram? Thanks!

2 Answers

Answered By GamerDude23 On

Think of zram as a way for your system to juggle memory better. It lets you keep more stuff active without crashing, because it compresses information on the fly. You could delete your swap if you're confident, but I'd suggest keeping it until you're sure zram is doing the trick for you.

Answered By TechWizard99 On

Zram is like creating a virtual memory area in your RAM itself, which helps speed up things by compressing the data. This means that instead of waiting for slow disk swap to kick in, your system can use this fast compressed memory. As for your swap partition, you might not need it as much now, but keeping it around can be a safety net in case you run out of RAM.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.