21 - Swapping Mechanisms

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/19

encourage image

There's no tags or description

Looks like no tags are added yet.

20 Terms

1
New cards

Memory hierarchy

mechanisms require an additional level in the _ _

2
New cards

Hard Disk Drive

in modern systems, this role is usually served by a _ _ _

3
New cards

Register, Cache, Main Memory, Mass Storage

memory hierarchy in modern systems (top to down)

4
New cards

Manually manage

easier for programmers – no need to _ _ the memory used by a process

5
New cards

Swap Space, Multiple Concurrently Running Process

_ _ allows the OS to support the illusion of a large virtual memory for _ _ _ _ since early systems don’t have enough main memory

6
New cards

Swap Space

reserve some space on the disk for moving pages back and forth

7
New cards

Page Sized Unit

OS need to remember to the swap space in _ _ _

8
New cards

Present Bit

add some machinery higher up in the system in order to support swapping pages to and from the disk

9
New cards

Present, Physical

when the hardware looks in the PTE, it may find that the page is not _ in _ memory

10
New cards

Present

meaning of 1, page is _ in physical memory

11
New cards

Disk

meaning of 0, the page is not in memory but rather on _

12
New cards

Page Replacement Policy

the process of picking a page to kick out or replace

13
New cards

Page Fault

accessing page that is not in physical memory

14
New cards

Memory

if a page is not present and has been swapped out to disk, the OS need to swap the page into _ in order to service the page fault

15
New cards

PTE

is used for data such as the PFN of the page for a disk address

16
New cards

Soon be faulted in page

the OS must find a physical frame for the _ _ _ _ _ to reside within, page fault control flow – software

17
New cards

Replacement Algorithm

if there is no such page, waiting for the _ _ to run and kick some pages out of memory, page fault control flow - software

18
New cards

Full, Make room

OS waits until memory is entirely _ and only then replaces a page to _ _ for some other page

19
New cards

Low Watermark Page

there are fewer than _ _ _available, a background thread that is responsible for freeing memory runs, swap Daemon, page Daemon

20
New cards

High Watermark pages

the thread evicts pages until there are _ _ _ available, swap Daemon, page Daemon