Conversation
local possum discovers having a swapfile actually makes system work better

more at 11
2
0
0
@ada in this economy that is a very expensive way of handling things (i have 24gb of ram and have been meaning to upgrade but can't now)
1
0
0

@EeveeEuphoria @ada zram-swap is especially useful on low ram devices because there it won’t hit the disk as often

1
0
0
@charlotte @ada yeah but it takes ram to actually be able to use that lol
1
0
0

@EeveeEuphoria @ada kinda? it raccompresses memory pages that aren’t ractively used, meaning they take up less space in memory

1
0
0
@charlotte @EeveeEuphoria so the way zram swap works is that when your physical ram is nearly full (or swap if you ordered it wrong), it'll start evicting memory into the zram swap

in my own expereince, zram's ratios are about 2:1 so you can hoist a 48 GB zram swap file if you have 24 GB physical- before a smaller 16 GB-ish disk swap file. to end up with roughly 64 GB total

(zram being full would mean that physical ram is entirely zram, so it doesn't count)
1
0
0

@ada @EeveeEuphoria at least by default it will not go above 50% physical ram and have a very low priority value meaning linux uses it instead of disk swap

0
0
0