Welcome to Questionaries, where you can ask questions and receive answers from other members of the community.

Let us know at info@questionaries.org

What is the difference between Swapping and Paging in unix?

7 like 0 dislike
Hello
What is the difference between Swapping and Paging in unix?
please reply me. i am waiting for your reply.
Thanx
asked 1 year ago by sr_webmaster (21,000 points)

1 Answer

1 like 0 dislike
 
Best answer
Swapping: Whole process is moved from the swap device to the main memory for execution. Process size must be less than or equal to the available main memory. It is easier to implementation and overhead to the system. Swapping systems does not handle the memory more flexibly as compared to the paging systems.
Paging:
Only the required memory pages are moved to main memory from the swap device for execution. Process size does not matter. Gives the concept of the virtual memory.
It provides greater flexibility in mapping the virtual address space into the physical memory of the machine. Allows more number of processes to fit in the main memory simultaneously. Allows the greater process size than the available physical memory. Demand paging systems handle the memory more flexibly.
answered 1 year ago by eagles11 (179,830 points)

Related questions

4 like 0 dislike
3 answers
6 like 0 dislike
1 answer
2 like 0 dislike
1 answer
4 like 0 dislike
0 answers