What Is Swap Space How Is It Managed in Linux System?
Contents a Swap Space Is an Area of a Disk Which Can Be Used with the Linux Kernel Memory Management Subsystem. Swap Spaces Are Used to Supplement the System...
A swap space is an area of a disk which can be used with the Linux kernel memory management subsystem. Swap spaces are used to supplement the system RAM by holding inactive pages of memory. … The kernel will write the idle page to the swap area, and will reassign the RAM page to be used by another process.
How swap space is managed in Linux system?
There are two options when it comes to creating a swap space. You can create a swap partition or a swap file. Most Linux installations come preallocated with a swap partition. This is a dedicated block of memory on the hard disk utilized when the physical RAM is full.
Must Read
What is swap space in Linux?
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.