|
||||||||||||||||
|
||||||||||||||||
DetailWhen a page has to be loaded and all existing pages in RAM are currently in use, one of the existing pages must be swapped with the requested new page. The paging system must determine the page to swap by choosing one based on an algorithm that determines the best choice: the page least likely to be needed within a short time. Most operating systems use LRU: least recently used. The theory behind LRU is that the least recently used page is the most likely one not to be needed shortly. This algorithm is most often correct but not always: e.g. a sequential process moves forward through memory and never again accesses the most recently used page. The need to reference RAM at a particular address arises from two main sources:
Virtual memory systems work most efficiently when the ratio of the working set to the total number of pages that can be stored in RAM is low enough to minimize the number of page faults. A misbehaving program or one that works with huge arrays that cross many pages will sometimes require a working set that is too large to be efficiently managed by the page system resulting in constant page faults that drastically slow down the system. This condition is referred to as thrashing: a page is swapped out and then accessed causing frequent faults.
See also
de:Paging et:Lehekülgede saalimine fr:Pagination (informatique) it:Paging ja:ページング方式 pl:Stronicowanie pamięci pt:Memória paginada sk:Stránkovanie
Sites |
Searched sites for "Paging" |
|
No sites found. |
Sorry, no matching site records were found. |
Want your site listed here?
|
|||||||||||
|
Submit
your site |
|
Relevant quality search results and fast easy navigation throughout the
different sections of the site, make Americola.com |