Social Sciences, asked by ahirwarr7631, 1 year ago

Explain about demand paged memory management scheme in detail

Answers

Answered by crazybitch
0
In computer operating systems, demand paging (as opposed to anticipatory paging) is a method of virtual memory management. In a system that uses demand paging, the operating system copies a disk page into physical memory only if an attempt is made to access it and that page is not already in memory (i.e., if a page fault occurs). It follows that a process begins execution with none of its pages in physical memory, and many page faults will occur until most of a process'sworking set of pages is located in physical memory. This is an example of a lazy loadingtechnique.

It's advantages
Demand paging, as opposed to loading all pages immediately:

Only loads pages that are demanded by the executing process.As there is more space in main memory, more processes can be loaded, reducing the context switching time, which utilizes large amounts of resources.Less loading latency occurs at program startup, as less information is accessed from secondary storage and less information is brought into main memory.As main memory is expensive compared to secondary memory, this technique helps significantly reduce the bill of material (BOM) cost in smart phones for example. Symbian OS had this feature.
Similar questions