How Do You Create A Memory Hierarchy And What Are The Features Of Memory Hierarchy?
Maintaining a complex structure becomes easier if a hierarchy is maintained and every part performs its job efficiently.
A hierarchy is therefore required for the proper functioning of a computer system as well. While designing a computer system, different parts including memory devices and a processor are involved.
To use the system’s memory efficiently, it is crucial to use a memory hierarchy. With memory hierarchy, you can divide the memory into different levels as per the performance rate of the device.
Each component of a system performs a particular task and therefore, memory levels should be assigned in a way to reduce the access time. It should be designed as per the behaviour of your program.
Designing a memory hierarchy involves a lot of parameters and is a bit tricky task. Therefore, we have come up with this guide to explain to you how to create a memory hierarchy.
Also, check out why you need it.
Parts Of Memory Hierarchy
In computer architecture, the memory hierarchy design comprises multiple storage devices. Most systems are built with extra storage to ensure the smooth operation of the system beyond its main memory capacity.
The memory hierarchy comprises two types of memory. They are:
- Primary or Internal Memory
- Secondary or External Memory
Primary Memory
Primary or internal memory is directly accessed by the computer’s processor. This memory will have components like cache, CPU registers and the main memory of the system.
Secondary Memory
Secondary or external memory is indirectly accessed by the computer’s processor via the input/output module. This memory will have components like a magnetic disk, magnetic tape and an optical disk.
Learn More...
Comments
Post a Comment