Categories
Operating System

Allocation Of Frames

Frame When a page fault occurs, there is a free frame available to store a new page into a frame. While the page swap is taking place, a replacement can be selected, which is written to the disk as the user process continues to execute. The operating system allocates all its buffer and tablespace from […]

Categories
Operating System

Page Replacement Algorithm

Page Replacement Algorithm:- The page replacement is a mechanism that loads a page from disc to memory when a page of memory needs to be allocated. Page replacement can be described as follows: Find the location of the desired page on the disk. Find a free frame: If there is a free frame, use it. […]

Categories
Operating System

Demand Paging

Demand Paging A demand-paging system is similar to a paging system with swapping. Generally, Processes reside on secondary memory (which is usually a disk). When we want to execute a process, we swap it into memory. Rather than swapping the entire process into memory, it swaps the required page.  This can be done by a […]

Categories
Operating System

Virtual Memory

Virtual Memory Virtual memory in Operating System is a technique that allows the execution of processes that may not be completely in memory. The only part of the program needs to be in memory for execution. It means that Logical address space can be much larger than physical address space. Virtual memory allows processes to […]