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

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

$
0
0
I think my concerns are fully resolved now.
Great. You could now mark the first post as [Solved]!

The technique seems fine on all scales.

Code:

$  doas /sbin/swaponNAME       TYPE       SIZE   USED PRIO/dev/zram0 partition 25.2G 158.5M  100$  free -g               total        used        free      shared  buff/cache   availableMem:             251          89          73          58         149         162Swap:             25           0          25$  free               total        used        free      shared  buff/cache   availableMem:       264090800    93690824    76553076    61201032   156897640   170399976Swap:       26409076      162304    26246772
This result should lay to rest the question of how much ram is needed to forego any swap. Always provide swap, and zram works fine as a substitute for partition or file based swap. Imagine the conversation that leads to swapping out this 158MB! Somebody was yelling! Actually a few weeks ago it did hit <1GB free while ‘available’ (can be freed) was consumed by ~200GB of 'buff/cache' and ‘shared’ was high too.

Statistics: Posted by CwF — 2025-01-04 16:42 — Replies 6 — Views 357



Viewing all articles
Browse latest Browse all 3567

Trending Articles