This shows you the differences between two versions of the page.
linux:swap_as_file [2021/08/17 11:29] admin created |
linux:swap_as_file [2021/08/17 11:31] (current) admin |
||
---|---|---|---|
Line 134: | Line 134: | ||
Now you have everything in place. Your swap file will be used even after you reboot your Linux system. | Now you have everything in place. Your swap file will be used even after you reboot your Linux system. | ||
- | ==== Adjust swappiness ==== | + | ===== Adjust swappiness ===== |
The swappiness parameters determines how often the swap space should be used. The swappiness value ranges from 0 to 100. Higher value means the swap space will be used more frequently. | The swappiness parameters determines how often the swap space should be used. The swappiness value ranges from 0 to 100. Higher value means the swap space will be used more frequently. | ||
Line 158: | Line 158: | ||
</code> | </code> | ||
- | ==== Resizing swap space on Linux ==== | + | ===== Resizing swap space on Linux ===== |
There are a couple of ways you can resize the swap space on Linux. But before you see that, you should learn a few things around it. | There are a couple of ways you can resize the swap space on Linux. But before you see that, you should learn a few things around it. |