3 ms·
Swap is good. If it is in RAM. Just use zram. Like so: https://github.com/armbian/build/blob/master/packages/bsp/common/usr/lib/armbian/armbian-zram-config htt
by LargoLasskhyfv 7y ago
Swap is good. If it is in RAM. Just use zram. Like so:
https://github.com/armbian/build/blob/master/packages/bsp/common/usr/lib/armbian/armbian-zram-config 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)