Memory management

The main memory contains the program data

  1. Cache memory contains a copy of the main memory data
  2. Cache is faster but consumes more space and power. It is normally assumed to be much faster than main memory
  3. Registers contain working data only
  4. Multiple Cache memories contain a copy of the main memory data

Loads and stores to memory can be as important as floating point operations when we measure performance.