SWAPPINESS

visualizza il valore corrente

# sysctl vm.swappiness

imposta il suo valore
# sysctl vm.swappiness=10

Estensione Swap (LVM2 Logical Volume)

Disable swapping for the associated logical volume:
# swapoff -v /dev/VolGroup00/LogVol01

Resize the LVM2 logical volume by 2 GB:
# lvresize /dev/VolGroup00/LogVol01 -L +2G

Format the new swap space:
# mkswap /dev/VolGroup00/LogVol01

Enable the extended logical volume:
# swapon -v /dev/VolGroup00/LogVol01