Linux - How the Swapper works?

How the Swapper works?

Moving the information from fast access memory and slow access memory and vice versa is known as swapping. The physical RAM is divided into chunks of memory known as pages. A page of memory is copied to the preconfigured space on the hard disk, for the purpose of freeing up that page of memory.

To perform swapping, the commands swapon and swapoff are used in linux/unix. The swapon is to enable the swapping and the swapoff is to disable swapping.
Linux - What is the difference between Swapping and Paging?
What is the difference between Swapping and Paging? - Swapping performs the whole process to transfer to the disk, where as paging.......
Linux - What is Expansion swap?
What is Expansion swap? - Expansion swap is a part of hard disk.........
Linux - What is Fork swap?
What is Fork swap? - For creation of child process, fork() system call is invoked......
Post your comment