Advantages of Demand Paging
So in the Demand Paging technique, there are some benefits that provide efficiency of the operating system.
- Efficient use of physical memory: Query paging allows for more efficient use because only the necessary pages are loaded into memory at any given time.
- Support for larger programs: Programs can be larger than the physical memory available on the system because only the necessary pages will be loaded into memory.
- Faster program start: Because only part of a program is initially loaded into memory, programs can start faster than if the entire program were loaded at once.
- Reduce memory usage: Query paging can help reduce the amount of memory a program needs, which can improve system performance by reducing the amount of disk I/O required.
What is Demand Paging in Operating System?
The concept of query navigation in the operating system. This concept says that we should not load any pages into the main memory until we need them, or keep all pages in secondary memory until we need them.