Virtual Memory

By using cache, we can provide the illusion that we have fast main memory.

Virtual Memory

Virtual memory is used to increase the available address space that processes can use by providing them with the illusion of a large, private main memory that is actually implemented on slower memory hardware that is shared by multiple proceses.

  • Provides the ability to run programs larger than main memory.
  • Hides differences in machine configuration from processes.
Link to original

The cost is that we have to do a translation on each memory reference.