Virtual Memory Part 1 Flashcards
Instructions must be in ________ memory to be executed
physical
What is program size limited to?
Physical memory size
Physical memory cannot support a lot of processes. Thus ________ suffers
multiprogramming
We desire to allow some portions of the address space to be ___-_______ _________
non-memory resident
Non-memory resident means not in ______ memory
physical
What is demand paging?
Loading program code/data pages into memory on demand
An item that could be a candidate for demand paging are _____ _______
shared libraries
Swapping is when the OS stashes ______ pages away to the _____ ______ backed by stable storage
memory, swap space
Virtual memory gives the application the illusion of an ________ amount of memory
infinite
_______ memory supports more processes concurrently
virtual
What are 2 related approaches to virtual memory?
Swapping and demand paging
In demand paging, a page is brought into memory only when ______
needed
What are 3 benefits of demand paging?
- Less I/O need
- Faster response (We only load needed pages)
- More processes admitted to the system
In demand paging, a process generates ______ (_____) addresses which are mapped to physical addresses using a ____ ____
logical, virtual, page table
In demand paging, if a requested ____ is not in memory, the _____ brings it from the hard disk
page, kernel
What is the swap space?
Storage space reserved for moving pages back and forth between storage and memory