News for hackers. Stuff that matters.
Re:Almost Always Add Swap Space by LargoLasskhyfv on Friday July 19, 2019 @12:54PM (#20480337)
Swap is good. If it is in RAM. Just use zram. Like so:

https://github.com/armbian/build/blob/master/packages/bsp/co...

zramctl output from a tiny NanoPiNeo2 with 1GB Ram, running from a 64GB Sandisk SDXC card:

NAME ALGORITHM DISKSIZE DATA COMPR TOTAL STREAMS MOUNTPOINT

/dev/zram1 lzo 496.7M 4K 76B 12K 4 [SWAP]

/dev/zram0 zstd 50M 2.5M 449K 832K 4 var/log

Edit: Formatting (useless)

There are no comments on this comment yet.