Lecture 3 Flashcards

1
Q

Page Fault

A

page is not currently loaded into a physical address space

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

What detects page faults?

A

MMU

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

What does the exception handling for page faults?

A

OS-kernel level applications

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

How does OS handle page fault?

A

Tries to make page accessible and map it to physical memory. If page cant be accessed process is terminated and an illegal memory access error thrown.

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

Name the three types of page faults.

A

compulsory faults, capacity faults, and policy faults.

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

What is the most common type of page fault?

A

Compulsory fault

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

Compulsory fault

A

Required page is not in main memory

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

How to avoid a compulsory page fault?

A

Pre-fetching

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

Pre-fetching

A

Frequently-used pages are loaded into cache

memory accessible by the page table.

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

Capacity faults

A

Main memory is full and pages must be swapped out for the required page to be swapped in (page replacement algorithm).

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

Policy fault

A

Page is prematurely swapped out of main memory because of the replacement policy (algorithm).

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

What carries out the scheduling of page resources?

A

page replacement policy (an algorithm run by the memory management unit)

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

Fully associative memory mapping

A

Any page in virtual memory can be translated to any frame in physical excluding frames dedicated to kernel level applications.

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

Page Table Base Register (PTBR)

A

tells the MMU whether the page is already in memory or not.

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

Translation Lookaside Buffer (TLB)

A

special memory cache for storing frequently used

pages.

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

When trying to load a page, not in main memory where does the MMU look for the page?

A

First in TLB then in secondary storage.