Memory Hierarchy Gate Notes 38
Memory Hierarchy Gate Notes 38
-EXAM PREP
Memory Hierarchy
The memory hierarchy design primarily consists of several storage devices in a
computer system. The majority of computers came with extra storage to allow them to
run faster than the main memory. The memory unit is used for storing programs and
data. It fulfils the need for the storage of information.
The memory hierarchy is important part fo GATE CS syllabus. The additional storage
with main memory capacity enhances the performance of the general-purpose
computers and makes them efficient. Only those programs and data the processor
needs reside in the main memory. Information can be transferred from auxiliary memory
to main memory when needed.
Registers
The register is usually a static RAM or SRAM in the computer's processor that holds the
data word, normally 64 or 128 bits. The essential register is the program counter
register, which is found in all processors. In addition, a status word register and an
accumulator are used by the majority of CPUs. A status word register is used for
decision-making, and an accumulator is used to store data like a calculator is used to
store numbers. Computers with complex instruction sets typically have many registers
for receiving main memory, whereas RISC-based computers have fewer registers.
Cache Memory
Small, fast storage memory is used to improve average access time. Therefore, we can
say that cache is a very high-speed memory that rapidly increases processing speed by
https://byjusexamprep.com
CPU cannot proceed to execute it and must wait. The latency is, thus, the time the CPU
waits to obtain the data.
• The latency of the main memory directly influences the efficiency of the CPU.
Auxiliary Memory
Magnetic Disks
All disks rotate together at high speed. Bits are stored in the magnetized surface in
spots along concentric circles called tracks. The tracks are commonly divided into
sections called sectors.
Magnetic Tapes
Secondary
Level Name Registers Cache Memory Main Memory
memory
Bandwidth
(20,000-1,00,000) (5,000-10,000) (1,000-5,000) (20-150)
(MB/s)
In the memory hierarchy, the access time is the time delay between data availability and
requests to read or write because the access time increases as we move from the top to
the bottom of the memory hierarchy.