Memory and cache CPU Memory I/O 10: Memory and cache The Memory Hierarchy Registers Primary cache Secondary cache Main memory Magnetic disk ~2ns ~4-5ns ~30ns ~220ns+ >1ms…