Week 3 Flashcards
What is LRU/LFU?
Least Recently/Frequently Used - The most recently requested page is replaced
What is FIFO?
First In First Out - The element that has been inside the frame the longest is replaced
What is Belady’s Anomaly?
An occurence where some page replacement algiorithms have an increasing number of hard faults/page faults as the number of frames increases.
What is single-processing?
one process in memory at any time. It is easy to implement - it either fits or it doesn’t.
What is multi-processing?
multiple processes in memory at the same time.
What is swapping?
allows computer rapidly “swap” its CPU between the process by loading and unloading them into/from memory.
What is a process table?
contains entries called Process Control Blocks. It contains data such as process state and process ID, program counter, memory address of the Page Table, resources in-used/needed, etc.
What is cache memory?
is small and stores only active pages. It is searched first for page number. If not found, search then goes to the page table in conventional memory.