How to Create Swap File, Adjust Swappiness Value & Delete Swap file in Ubuntu Linux
In this video, I have shown how to create a swap file, adjust swappiness value, and delete a swap file in one video.
Swap space in Linux is used when the amount of physical memory (RAM) is full. If the system needs more memory resources and the RAM is full, inactive pages in memory are moved to the swap space. … Swap space is located on hard drives, which have a slower access time than physical memory.
How to choose count in creating a swap file:
for 4GB: 4*1024=4096
1024*4096=4194304
for 2GB: 2*1024=2048
1024*2048=2097152
similar way to choose your swap file size.
Choosing Swap File Memory Size:
https://opensource.com/article/18/9/swap-space-linux-systems
https://itsfoss.com/swap-size/
Our other videos:
How to update Linux ubuntu kernel:
Changing Ubuntu Dock:
Kill Process/End Tas in Linux:
Installing Google Chrome in Linux:
#createswapfile
#adjustswappinessvalue
#deleteswapfile
#linuxswapping
#swapfile
ipv4