| Post Reply | RetroFed Forum Forum Index » linuxmemes |
| Author | Message | ||
|---|---|---|---|
|
potatoguy
mbin.potato-guy.space
potatoguy@mbin.potato-guy.space Joined: 2026-02-09 |
|
||
| 330 Original | |||
jimmux
programming.dev
jimmux@programming.devJoined: 2023-06-19 |
Is it possible to have both? I'm finding zram works well until it doesn't. |
||
| 23 | |||
|
potatoguy
mbin.potato-guy.space
potatoguy@mbin.potato-guy.space Joined: 2026-02-09 |
Is it possible to have both? I'm finding zram works well until it doesn't.
I got corrected some time ago about this, it seems it's possible, but not advisable. Like, if zram started, zswap will disable itself. If you want to test zswap, you could create a swap file, disable systemds zram service and put the zswap variables into the kernel variables, also checking if swappiness is at the normal values, instead of the tuned ones for zram. |
||
| 23 | |||
Avid Amoeba
lemmy.ca
avidamoeba@lemmy.caJoined: 2023-07-05 |
/swapfile |
||
| 59 | |||
muusemuuse
sh.itjust.works
muusemuuse@sh.itjust.worksJoined: 2025-06-25 |
I never could get a clear understanding of these. I just throw a partition on the nvme for swap as a failover. If it starts to fill, treat it like the countdown timer in uplink. |
||
| 25 | |||
|
starik
lemmy.zip
starik@lemmy.zip Joined: 2025-12-08 |
[deleted]
|
||
| 1 | |||
|
ElectroLisa
piefed.blahaj.zone
ElectroLisa@piefed.blahaj.zone Joined: 2025-06-07 |
|
||
| 35 | |||
|
barryamelton
lemmy.world
barryamelton@lemmy.world Joined: 2023-07-13 |
I never could get a clear understanding of these. I just throw a partition on the nvme for swap as a failover. If it starts to fill, treat it like the countdown timer in uplink.
upvote for uplink reference. |
||
| 8 | |||
bright_side_
piefed.world
bright_side_@piefed.worldJoined: 2025-09-03 |
[deleted]
magnets |
||
| 2 | |||
EmK
lemmy.ca
EmK@lemmy.caJoined: 2025-10-18 |
Just to be super nerdy, here's an amazingly well-written article on the subject from someone with a lot of credibility: https://chrisdown.name/2026/03/24/zswap-vs-zram-when-to-use-what.html tldr; prefer zswap |
||
| 32 | |||
quantumvoid0
programming.dev
quantumvoid0@programming.devJoined: 2026-05-04 |
Just to be super nerdy, here's an amazingly well-written article on the subject from someone with a lot of credibility: https://chrisdown.name/2026/03/24/zswap-vs-zram-when-to-use-what.html tldr; prefer zswap
i prefer ram |
||
| 5 | |||
|
SaharaMaleikuhm
feddit.org
SaharaMaleikuhm@feddit.org Joined: 2024-07-23 |
Just to be super nerdy, here's an amazingly well-written article on the subject from someone with a lot of credibility: https://chrisdown.name/2026/03/24/zswap-vs-zram-when-to-use-what.html tldr; prefer zswap
What a load of bull. Zram is so much more useful. That guy does not even know you can set up a fallback device for zram. |
||
| -8 | |||
Avid Amoeba
lemmy.ca
avidamoeba@lemmy.caJoined: 2023-07-05 |
sudo swapon /deeznuts is my favourite as it's a valid command
You have to fallocate /deeznuts first. |
||
| 7 | |||
|
gartheom
lemmy.world
gartheom@lemmy.world Joined: 2023-06-12 |
What a load of bull. Zram is so much more useful. That guy does not even know you can set up a fallback device for zram. Don't trust any fool with a blog. Probably written and "researched" with ChatGPT.
You should read the article. It has a section specifically on using a zram fallback device and how its performance compares to a similar zswap setup. |
||
| 9 | |||
|
crater2150
feddit.org
crater2150@feddit.org Joined: 2024-06-29 |
What a load of bull. Zram is so much more useful. That guy does not even know you can set up a fallback device for zram. Don't trust any fool with a blog. Probably written and "researched" with ChatGPT.
"That guy" works full time as a kernel developer on the Linux memory management. |
||
| 14 | |||
forestbeasts
pawb.social
forestbeasts@pawb.socialJoined: 2023-06-09 |
You have to fallocate /deeznuts first.
or dd(eeznuts) it! |
||
| 4 | |||
|
moonpiedumplings
programming.dev
moonpiedumplings@programming.dev Joined: 2023-08-10 |
Just to be super nerdy, here's an amazingly well-written article on the subject from someone with a lot of credibility: https://chrisdown.name/2026/03/24/zswap-vs-zram-when-to-use-what.html tldr; prefer zswap
In my testing, zram has much, much better compression than zswap. The points about LRU inversion, cgroups, and so on are valid, but at the end of the day, I don't really care. I was able to open as many firefox tabs as I wanted with zram, but I could not do so with zswap, and that's what matters to me. The author of a blogpost is a facebook engineer. Millions of ultra high performance Linux servers are a very different usecase than a single desktop. It's perfectly reasonable for a solution for one to not be appropriate for the other. |
||
| 14 | |||
DonutsRMeh
lemmy.world
DonutsRMeh@lemmy.worldJoined: 2025-03-13 |
Just switched to zswap on my cachyOS install and I can feel the difference. I had freezes where the system chugs when I have several processes running. Now, I don't get them anymore. Not gonna pretend that I understand everything about them fully, but I searched online and some folks recommended zswap and I went with it. |
||
| 4 | |||
|
RiderExMachina
lemmy.ml
RiderExMachina@lemmy.ml Joined: 2021-05-19 |
Can I make it z-any more obvious? |
||
| 2 | |||
|
mazzilius_marsti
lemmy.world
mazzilius_marsti@lemmy.world Joined: 2024-07-15 |
theres zswap? |
||
| 1 | |||
| Post Reply |
Back to top |