Posts

Showing posts with the label computer architecture

Computer Memory Hierarchy - A Key Part of Computer Architecture

Computer memory hierarchy is a system of organizing memory in a computer system so that the fastest memory is used for the most frequently accessed data. This improves the overall performance of the system by reducing the average time it takes to access data. The memory hierarchy is typically divided into four levels: CPU registers: CPU registers are the fastest memory in the system. They are located inside the CPU and are used to store data and instructions that are currently being executed. Cache memory:   Cache memory (also known as SRAM or static RAM) is a small amount of high-speed memory that is located near the CPU. It stores frequently accessed data and instructions from main memory, so that the CPU can access them more quickly. Main memory: Main memory (also known as DRAM or dynamic RAM) is the primary memory in the system. It is used to store data and instructions that are currently being used by the CPU or that are waiting to be used. Secondary memory: Secondary memor