Difference between Simultaneous and Hierarchical Access Memory Organisations
In the Computer System Design, Memory organisation is primarily divided into two main types on the basis of the manner in which CPU tries to access different levels of Memory.
These two types include Simultaneous Access Memory Organisation and Hierarchical Access Memory Organisation. Let us understand the difference between the two from the following table:
Difference between Simultaneous and Hierarchical Access Memory Organisations:
Simultaneous Access Memory Organisation | Hierarchical Access Memory Organisation | In this organisation, CPU is directly connected to all the levels of Memory. | In this organisation, CPU is always directly connected to L1 i.e. Level-1 Memory only. |
---|---|
CPU accesses the data from all levels of Memory simultaneously. | CPU always accesses the data from Level-1 Memory. |
For any “miss” encountered in L1 memory, CPU can directly access data from higher memory levels (i.e. L2, L3, …..Ln). |
For any “miss” encountered in L1 memory, CPU cannot directly access data from higher memory levels(i.e. L2, L3, …..Ln). First the desired data will be transferred from higher memory levels to L1 memory. Only then it can be accessed by the CPU. |
If H1 and H2 are the Hit Ratios and T1 and T2 are the access time of L1 and L2 memory levels respectively then the Average Memory Access Time can be calculated as: |
If H1 and H2 are the Hit Ratios and T1 and T2 are the access time of L1 and L2 memory levels respectively then the Average Memory Access Time can be calculated as: |
NOTE:
- By default the memory structure of Computer Systems is designed with Hierarchical Access Memory Organisation.It is so because in this type of memory organisation the average access time is reduced due to locality of references.
- Simultaneous access Memory organisation is used for the implementation of Write Through Cache.
- In both types of memory organisation, the Hit Ratio of last memory level is always 1.
Recommended Posts:
- Difference between Random Access Memory (RAM) and Content Addressable Memory (CAM)
- Difference between Uniform Memory Access (UMA) and Non-uniform Memory Access (NUMA)
- Difference between Random Access Memory (RAM) and Hard Disk Drive (HDD)
- Random Access Memory (RAM) and Read Only Memory (ROM)
- Different Types of RAM (Random Access Memory )
- Direct memory access with DMA controller 8257/8237
- Difference between Virtual memory and Cache memory
- Difference between Byte Addressable Memory and Word Addressable Memory
- Difference between Memory based and Register based Addressing Modes
- Introduction to memory and memory units
- access command in linux with examples
- How to access elements of a Square Matrix
- Carrier Sense Multiple Access (CSMA)
- Controlled Access Protocols in Computer Network
- HTTP headers | Access-Control-Allow-Credentials
If you like GeeksforGeeks and would like to contribute, you can also write an article using contribute.geeksforgeeks.org or mail your article to contribute@geeksforgeeks.org. See your article appearing on the GeeksforGeeks main page and help other Geeks.
Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.