370L28 - EECS/CS 370 Memory Systems Virtual Memory Lecture...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
EECS/CS 370 Memory Systems – Virtual Memory Lecture 28
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Seven lectures on memory 1. Introduction to the memory systems 2. Basic cache design 3. Exploring various cache organizations 4. Other cache management decisions 5. Finishing Caching and Virtual Storage 6. Virtual Memory 1. Making VM faster
Background image of page 2
Page replacement strategies Page table indirection enables a fully associative mapping between virtual and physical pages. How do we implement LRU? True LRU is expensive, but LRU is a heuristic anyway, so approximating LRU is fine Reference bit on page, cleared occasionally by operating system. Then pick any “unreferenced” page to evict.
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Performance of virtual memory We must access physical memory to access the page table to make the translation from a virtual address to a physical one Then we access physical memory again to get (or store) the data A load instruction performs at least 2 memory reads A store instruction performs at least 1 load and then a store.
Background image of page 4
Image of page 5
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 16

370L28 - EECS/CS 370 Memory Systems Virtual Memory Lecture...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online