Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 2901

System and Network configuration • Re: How to enable zram writeback feature in Debian 12 Stable

$
0
0
I'd like to elaborate on my setup. I'm running Debian 12 Stable on a 2014 Lenovo netbook with a BTRFS filesystem. To improve performance on my system, which has a limited 2GiB of RAM, I've opted for ZRAM instead of a traditional swap partition. This has significantly boosted system responsiveness and stability, as I've found that using a HDD-based swap partition on such a low-memory system was a major bottleneck.

However, I'm curious about enabling ZRAM's WRITEBACK feature. If my RAM were to become completely full, even with compression, could WRITEBACK provide any additional benefits? If so, what specific configurations would be necessary?

To experiment with WRITEBACK, would I need to:
  • Create a swap file?
  • Create a swap partition?
  • Or perhaps a BTRFS subvolume would suffice as a WRITEBACK destination?
Thanks for any insights.

Statistics: Posted by lazulistar — 2024-12-28 16:07



Viewing all articles
Browse latest Browse all 2901

Trending Articles