InterviewSolution
Saved Bookmarks
| 1. |
What are the two concepts of swapping in the context of OS? How does swapping help in better memory management? |
|
Answer» Swapping has been subdivided into two concepts: Swap-in and Swap-out.
Processes can be copied from the main memory to a BACKING store and then copied back at regular intervals determined by the operating system. Swapping allows more processes to execute at the same time than memory allows. Swapping allows the CPU to do numerous jobs at the same time. As a result, procedures don't have to wait very long to be executed. It aids the CPU's ABILITY to manage several tasks in a SINGLE main memory. It facilitates the creation and use of VIRTUAL memory. |
|