Swap Partition Vs Zram

I have been setting up my systems without a swap partition and I’m wondering if I should be doing that? My pc’s have 32gb of ram. I just installed systemd-zram-service on one of them to see if it would work and it seems it does. Although I’m pretty sure I don’t need a swap partition, I am wondering if it’s better for the system to have it. Any info is greatly appreciated. Thanks.

Zram reduces the amount of of application memory for applications but it is much faster then disk swap. It all depends on what you are doing and your hardware needs

I appreciate that thank you. I’m just browsing and playing a game every now and then. I should have mentioned that, my bad. Thank you again.

Do you observe any difference between running with and without zram?

1 Like

32 Gb of RAM is more than enough for what your are doing with the system, it looks to me. It looks like you did never run out of RAM until now (PC significant slower, applications killed) so I would stay with that.

A simple solution is better than something more complicated.

1 Like

I never noticed anything different now that you mention it. I just kind of thought swap memory was intended to be part of the system but I made it this far without it so I’m going to go back to not having it. I just tried to get Hyprland going but its giving me a crash report and I’m not sure if its related to this. What @marel said is proving true because I made it more complicated and now I don’t know if this is related to Hyprland not being able to start. I don’t think it is and the backtrace says some stuff about lib64. I might make another post asking about that but I’m going to reinstall first and see what happens. Hat off to you both thank you.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.