Lecture 3 Flashcards

1
Q

Why do we need virtual memory?

A

Programs can be large. With rams limit, only a few programs would completely fit in it, limiting the amount of multiprocessing that can be done. 80:20 Rule 80% of the code is used 20% of the time. You don’t need the entire program to be in the memory. Virtual Memory allows the operating system to have multiple processes in the Ram, whose total memory usage would normally exceed the physical limit.

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

How does virtual memory work?

A

Each process is allocated its own address space known as virtual address space.

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

How much memory does each virtual address space have?

A

4kB

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

What is the name of physical memory blocks?

A

Frames

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