My swap partition is not being used, I set the swappiness to 0 and fixed the UID in the config file to the UID of the swap partition but it's still at 0%.

  • 1
    How much RAM do you have? If you have a pretty high amount, the swap might not be used since swap is just RAM on disk space. Apr 3, 2018 at 23:57
  • If your swap is empty, that is good. You don't want it to be used while the same task could still be done with RAM alone, because that would just slow everything down. Also, what Terrance said. Swappiness 0 means off.
    – Byte Commander
    Apr 4, 2018 at 0:03
  • 2
    @Terrance Correction: vm.swappiness means swap is only used when absolutely needed when set to 0.
    – Thomas Ward
    Apr 4, 2018 at 0:15

1 Answer 1


SWAP space is used for RAM paging in cases where you may run out of available memory. If SWAP is active, but you are not using it, then it is likely that your resources are held in memory which has significantly faster read/write times than the SWAP space on a HDD.

To configre SWAP space, follow this guide

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .