swap memory space and swapping in OS

Swapping is a simple memory/process management technique used by the operating system(os) to increase the utilization of the processor by moving some blocked process from the main memory to the secondary memory(hard disk);thus forming a queue of temporarily suspended process and the execution continues with the newly arrived process.After performing the swapping process,the operating system has two options in selecting a process for execution :

*Operating System can admit newly created process (OR) *operating system can activate suspended process from the swap memory.

what is swapping in operating system

Conclusion : If you have ever used any Linux based operating system then at the time of installation …Did you see an options/warning for the need of swap memory space?? If you have enough primary memory(RAM) e.g greater than 2GB then you may need not any swapping memory space for desktop users(I am using Ubuntu 10.04 LTS and total RAM is 4GB so I am not feeling any trouble without swap memory space) and some times using swap memory may slow down your computer performance.

Credit : Operating Systems…by William Stallings

Join the Conversation

27 Comments

Leave a comment

Your email address will not be published. Required fields are marked *