Virtual Memory Flashcards

1
Q

What does the definition “Page” mean?

A

A fixed-size block of words of real memory. Typically 4 KB in size for 64-bit operating systems.

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

What does the definition “World” mean?

A

Any type that is size of a pointer. This corresponds to the width of the CPU’s registers. In Rust, usize and isize are word-length types.

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

What does the definition “Page fault” mean?

A

An error raised by the CPU when a valid memory address is requested that is not currently in physical RAM. This signals to the OS that at least one page must be swapped back into memory.

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

What does the definition “Swapping” mean?

A

Migrating a page of memory stored temporarily on disk from main memory upon request.

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

What does the definition “Virtual memory” mean?

A

The program’s view of its memory. All data accessible to a program is provided in its address space by the OS.

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

What does the definition “Real memory” mean?

A

The operating system’s view of the physical memory available on the system. In many technical texts, real memory is defined independently from physical memory, which becomes much more of an electrical engineering term.

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

What does the definition “Page table” mean?

A

The data structure maintained by the OS to manage translating from virtual to real memory.

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

What does the definition “Segment” mean?

A

A block within virtual memory. Virtual memory is divided into blocks to minimize the space required to translate between virtual and physical addresses.

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

What does the definition “Segmentation fault” mean?

A

An error raised by the CPU when an illegal memory address is requested.

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

What does the definition “MMU” mean?

A

A component of the CPU that manages memory address translation. Maintains a cache of recently translated addresses (called the TLB), which stands for the translation lookaside buffer, although that terminology has fallen from fashion

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