CS-3310 - 07 Virtualization - Memory

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/16

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

17 Terms

1
New cards

Why is memory virtualization difficult?

Guest OS believes it controls physical memory.

2
New cards

What is the guest's “physical” memory called?

Guest physical memory.

3
New cards

What is the machine's actual memory called?

Host physical memory.

4
New cards

What is the purpose of shadow page tables?

Map guest virtual -> host physical addresses.

5
New cards

When must shadow page tables be updated?

Whenever guest OS updates its own tables.

6
New cards

What is a guest-induced page fault?

Page fault generated by the guest OS.

7
New cards

What is a hypervisor-induced page fault?

Fault triggered to maintain shadow consistency.

8
New cards

Why are page faults expensive in VMs?

require VM exits and hypervisor work.

9
New cards

What is overcommitment?

Hypervisor allocates more VM memory than physically exists.

10
New cards

What is deduplication?

Sharing identical memory pages among VMs.

11
New cards

What is ballooning?

Hypervisor reclaiming memory via a balloon driver inside the VM.

12
New cards

How does ballooning reduce VM memory?

Inflated balloon forces guest to free pages.

13
New cards

What hardware assists memory virtualization?

Nested page tables (SLAT / EPT).

14
New cards

What do EPT/SLAT add?

Hardware mapping of guest physical -> host physical.

15
New cards

What is guest virtual → host physical translation via EPT?

Hardware walks guest tables, then nested tables.

16
New cards

Why do EPT/SLAT improve performance?

Reduce VM exits during address translation.

17
New cards

What are the three levels of memory addressing with virtualization?

Guest virtual, guest physical, host physical.