Ask a question »

Linux - disable paging

April 2015


[Linux] disable Paging




Intro


Disable paging on Linux



Under Linux, swap (pagefile) is used if your RAM is unsufficient (if the RAM is really running out) . But once the RAM is free, the swap is still active.
  • If for any reason you want to disable the use the command (as root):
    • swapoff -a
    • This may take a few moments.
  • To activate swap again use the following command:
    • swapon -a

Notes


If you wish to have more information about paging or virtual memory, please refer to these links:
For unlimited offline reading, you can download this article for free in PDF format:
Linux-disable-paging.pdf

See also

In the same category

Published by jak58.
This document entitled « Linux - disable paging » from Kioskea (en.kioskea.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.