3 ms·
First I've heard of either. How would I set these up?
by nerdponx 10y ago
First I've heard of either. How would I set these up?
- mxvzr 10y agoYou can setup zram like this. Typically you'll want to make a service for it since it needs to run on every boot. # modprobe zram num_devices=1 # echo 1G > /sys/block/zram0/disksize # mkswap zram0 /dev/zram0 -L zram0 # swapon -p 100 /dev/zram0 Official documentation here: https://www.kernel.org/doc/Documentation/blockdev/zram.txt https://www.kernel.org/doc/Documentation/blockdev/zram.txt