{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

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

Info icon This 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
Image of page 1

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

View Full Document Right 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
Image of page 2
Famous Picture of Food Memory Hierarchy Cache Main Memory Disk Storage Cost Latency Access
Image of page 3

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

View Full Document Right 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.
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.
Image of page 5

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

View Full Document Right 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
Image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern