
22 Apr
2013
22 Apr
'13
6:28 a.m.
On 22/04/13 13:58, Craig Sanders wrote:
On Mon, Apr 22, 2013 at 01:22:39PM +1000, Craig Sanders wrote:
i've taken to using zram as my primary swap device in recent months - it's essentially a compressed ramdisk block device, and it's a lot faster than swapping to SSD or mechanical disk. I also have a lower-priority swap partition on SSD.
like tmpfs, zram doesn't actually use any RAM unless there's data swapped to it. so you can allocate, e.g., 4GB out of 8GB RAM to zram without worrying about wasting memory. craig hi
suggest changing the priority of the memory system to use a swap space with this commend in your boot sequence /sbin/sysctl vm.swappiness=05 Steve