More on Paging and swaping
Hi, 28th May 2001 11:12 hrs chennai
Both paging and swapping needs adequate disk space to temporarily hold the memory blocks on disk.These files are I/O intensive so they have to considered when balancing I/O.
One more difference between Paging and swapping is not all the o/s supports both.Swaping is done almost by all o/s. whereas NT supports only paging.
Paging :Is used when process needs a page (Block) of memory that is no longer in Real memory but in Virtual memory.The block must be paged in from the disk and the block that it replaces has also to written back to disk.
Swapping :Is simillar to paging except that they memory space of the entire process is removed from memory.If there are too many process running swapping may increase to an unacceptable level.