Professional Documents
Culture Documents
Virtual Memory
Virtual Memory
Virtual Memory
COMPUTER SCIENCE AND DATA PROCESSING DEPARTMENT OF MATHEMATICS IIT KHARAGPUR
OUTLINE
Why virtual memory? Basic issue. Demand paging. Virtual to physical address mapping. Page fault. Page replacement. Page table entries. References
1
VIRTUAL MEMORY
Extension of main memory. Secondary storage is used.
Multiprogramming environment.
Time sharing. Allow OS to share memory. Protect program from each other.
3
MOTIVATION
We use main memory as a cache of disk memory.
- address space of process can exceed physical memory size.
Provide protection.
- one process cant interfere with another.
ADDRESS MAPPING
PAGE TABLE
PAGE FAULT
PAGE REPLACEMENT
DISADVANTAGES
REFERENCES
Stallings W. Operating Systems: Internals and Design Principles (7th Edition). prentice hall, 2010.
Thank you