echo "30" > /proc/sys/vm/swappiness Tendency to swap. 0 means swap as a last resort, 100 is swap as soon as possible.
echo "0" > /proc/sys/vm/page-cluster
page-cluster controls the number of pages which are written to swap in a single attempt. The swap I/O size.
echo "1" > /proc/sys/vm/laptop_mode Laptop mode is used to minimize the time that the hard disk needs to be spun up, to conserve battery power on laptops.