Differentiate between local allocation and global allocation

Differentiate between local allocation and global allocation of frames in the context of demand paging.

Solution

A local PRA is one is which a victim page is chosen among the pages of the same process that requires a new frame. That is the number of frames for each process is fixed. So LRU for a local policy means the page least recently used by this process

A global policy is one in which the choice of victim is made among all pages of all processes. A new process has no pages and, even if we didn\'t restrict the frame needed to a local one for the first page loaded, the process would remain with only one page. Perhaps wait until a process has been running a while before restricting it to existing frames or give the process an initial allocation of frames based on the size of the executable.

Differentiate between local allocation and global allocation of frames in the context of demand paging.SolutionA local PRA is one is which a victim page is chos

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site