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

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

View Full Document Right Arrow Icon
EECS/CS 370 Memory Systems – Virtual Memory Lecture 27
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 1. Virtual Memory 1. Making VM faster
Background image of page 2
Famous Picture of Food Memory Hierarchy Cache Main Memory Disk Storage Cost Latency Access
Background image of page 3

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

View Full DocumentRight Arrow Icon
The problem(s) DRAM is too expensive to buy gigabytes Yet we want our programs to work even if they require more storage than we bought. We also don’t want a program that works on a machine with 128 megabytes to stop working if we try to run it on a machine with only 64 megabytes of memory. We run more than one program on the machine.
Background image of page 4
Solution 1: User control Leave the problem to the programmer Assume the programmer knows the exact configuration of the machine. { ,s}he must either make sure the program fits in memory, or break the program up into pieces that do fit which load each other off the disk when necessary Not a bad solution in some domains Playstation 2, cell phones, etc.
Background image of page 5

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

View Full DocumentRight Arrow Icon
Solution 2: overlays A little automation to help the programmer build the application in overlays Two pieces of code/data may be overlayed iff They are not active at the same time They are placed in the same memory region Managing overlays is performed by the compiler
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/13/2010 for the course CSE 245 taught by Professor Dawan during the Spring '10 term at Punjab Engineering College.

Page1 / 21

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

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

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