Virtual Memory Flashcards

1
Q

Virtual Memory

A

The separation of logical and physical memory using separate addresses so that only one part of the program needs to be in memory for execution. Allows address spaces to be shared by multiple processes and shared during fork(), which speeds process creation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Page Fault

A

The result of a first time reference to a specific page that traps the OS and is either aborted due to invalid reference or an unallocated page.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Demand Paging

A

System where pages are only brought into memory when needed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Lazy Swapper

A

Never swaps a page into memory unless the page is needed.

When p = 0, no page faults; if p = 1, every reference is a fault.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Pure Demand Paging

A

A paging system where a process starts with no pages in memory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Copy on Write (COW)

A

Allows both parent and child processes to initially share the same pages in memory.
The page is only copied when one of the processes modifies the shared page.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Copy on Write (COW)

A

Allows both parent and child processes to initially share the same pages in memory
If either process modifies a shared page, only then is the page copied

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Modify Bit (dirty bit)

A

Used to reduce overhead of page transfers by allowing only modified pages to be written to the disk.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Fixed Page Allocation

A

Allocate pages according to size of the processes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Global Replacement

A

When a process selects a replacement frame from all frames.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Local Replacement

A

When a process selects a replacement from it’s own set of allocated frames.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Thrashing

A

A process is busy swapping pages in and out and not performing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Memory Mapped File

A

Allows file input/output to be treated as routine memory access by mapping a disk block to a page

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

I/O Interlock

A

Pages must sometimes lock into memory.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly