moecat

moecat

摸鱼大师

Enable Zram acceleration

Suitable for machines with low memory and slow disk speed
The speed increase is very noticeable in practice, much better than pure disk swap performance

apt install zram-tools
zramswap stop
nano /etc/default/zramswap

Modify and remove the # at the beginning of the line
ALGO=zstd
PERCENT=50
PRIORITY=100

zramswap start

The configuration of zram is now complete
It enables a high compression ratio for half of the memory, significantly faster than pure disk swap

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.