The Wayback Machine - https://web.archive.org/web/20240913183550/https://www.geeksforgeeks.org/difference-between-simultaneous-and-hierarchical-access-memory-organisations/
Open In App

Difference between Simultaneous and Hierarchical Access Memory Organisations

Last Updated : 19 Dec, 2018
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow
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:
Figure – Simultaneous Access Memory Organisation
Figure – Hierarchical Access Memory Organisation

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:    T=(H1*T1)+((1-H1)*H2*T2  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:    T=(H1*T1)+((1-H1)*H2*(T1+T2)
NOTE:
  1. 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.
  2. Simultaneous access Memory organisation is used for the implementation of Write Through Cache.
  3. In both types of memory organisation, the Hit Ratio of last memory level is always 1.


Similar Reads

Difference between Uniform Memory Access (UMA) and Non-uniform Memory Access (NUMA)
Multiprocessors can be categorized into three shared-memory model which are: Uniform Memory Access (UMA)Non-uniform Memory Access (NUMA)Cache-only Memory Access (COMA) Uniform Memory Access (UMA): In UMA, where Single memory controller is used. Uniform Memory Access is slower than non-uniform Memory Access. In Uniform Memory Access, bandwidth is re
4 min read
Difference between Random Access Memory (RAM) and Content Addressable Memory (CAM)
Random Access Memory (RAM) is used to read and write. It is the part of primary memory and used in order to store running applications (programs) and program's data for performing operation. It is mainly of two types: Dynamic RAM (or DRAM) and Static RAM (or SRAM). RAM is made up of small memory cells that are arranged in a grid pattern. Each cell
4 min read
Random Access Memory (RAM) and Read Only Memory (ROM)
Memory is a fundamental component of computing systems, essential for performing various tasks efficiently. It plays a crucial role in how computers operate, influencing speed, performance, and data management. In the realm of computer memory, two primary types stand out: Random Access Memory (RAM) and Read-Only Memory (ROM). Understanding the diff
8 min read
Difference between Virtual memory and Cache memory
Cache Memory: Cache memory increases the accessing speed of CPU. It is not a technique but a memory unit i.e a storage device. In cache memory, recently used data is copied. Whenever the program is ready to be executed, it is fetched from main memory and then copied to the cache memory. But, if its copy is already present in the cache memory then t
2 min read
Difference between Byte Addressable Memory and Word Addressable Memory
Memory is a storage component in the Computer used to store application programs. The Memory Chip is divided into equal parts called as "CELLS" . Each Cell is uniquely identified by a binary number called as "ADDRESS" . For example, the Memory Chip configuration is represented as '64 K x 8' as shown in the figure below. The following information ca
3 min read
Difference between Random Access Memory (RAM) and Hard Disk Drive (HDD)
A person novice to computers often is in confusion between Random Access Memory (RAM) and Hard Disk Drive (HDD). The data on which CPU needs to work out is stored temporarily in RAM. The disadvantage of RAM is, it's volatile and data is lost once the computer is turned off or shut down at failure. On the other hand, HDD is not volatile and used to
6 min read
Difference between Hierarchical and Relational data model
1. Hierarchical Data Model : Hierarchical data model is the oldest type of data model. It was developed by IBM in 1968. It organizes data in a tree-like structure. Hierarchical model consists of the following : It contains nodes that are connected by branches. Topmost node is called the root node. If there are multiple nodes that appear at the top
3 min read
Difference Between Hierarchical, Network and Relational Data Model
In order to define the connections, organization, and structure of data in a database management system (DBMS), data models are essential. The effectiveness of a database's ability to store, retrieve, and alter data is greatly influenced by the choice of data model. The Hierarchical, Network, and Relational models are some of the oldest types of da
6 min read
Direct memory access with DMA controller 8257/8237
Suppose any device which is connected to input-output port wants to transfer data to memory, first of all it will send input-output port address and control signal, input-output read to input-output port, then it will send memory address and memory write signal to memory where data has to be transferred. In normal input-output technique the process
3 min read
Direct Memory Access (DMA) Controller in Computer Architecture
DMA Controller is a hardware device that allows I/O devices to directly access memory with less participation of the processor. DMA controller needs the same old circuits of an interface to communicate with the CPU and Input/Output devices. What is a DMA Controller?Direct Memory Access uses hardware for accessing the memory, that hardware is called
5 min read
Ferro-electric Random Access Memory
Ferro-electric Random Access Memory (FRAM) is a type of Random Access Memory, which uses a ferro-electric capacitor to achieve it's non-volatility (content is not lost when power is turned off).The di-electric constant of a ferroelectric material usually has a high value. The most widely used ferroelectric material is PZT (Lead Zirconate Titanate).
2 min read
Magnetic Random Access Memory (M-RAM)
MRAM stands for magnetoresistive random access memory and is a non-volatile type of RAM. Magnetic state refers to the electrical resistance of a metal when it is placed in a magnetic field. The MRAM uses magnetic states and magnetisation direction in a ferromagnetic material(a material which is highly susceptible to magnetization to store data bits
4 min read
Memory Access Methods
These are 4 types of memory access methods: 1. Sequential Access:- In this method, the memory is accessed in a specific linear sequential manner, like accessing in a single Linked List. The access time depends on the location of the data. Applications of this sequential memory access are magnetic tapes, magnetic disk and optical memories. 2. Random
2 min read
Different Types of RAM (Random Access Memory )
In the computer world, memory plays an important component in determining the performance and efficiency of a system. In between various types of memory, Random Access Memory (RAM) stands out as a necessary component that enables computers to process and store data temporarily. In this article, we will explore the world of RAM, exploring its defini
8 min read
Difference between Memory based and Register based Addressing Modes
Prerequisite - Addressing Modes Addressing modes are the operations field specifies the operations which need to be performed. The operation must be executed on some data which is already stored in computer registers or in the memory. The way of choosing operands during program execution is dependent on addressing modes of instruction. "The address
4 min read
Difference between Memory and Storage
Memory: Memories are made up of registers. Memory refers to the location of short-term data. Each register in the memory is one storage location. Storage location is also called as memory location. Memory locations are identified using Address. The total number of bit a memory can store is its capacity. Memory is a vital component of a computer sys
4 min read
Difference between Memory Mapped IO and IO Mapped IO with reference to 8085 microprocessor
Introduction : In a microprocessor system, there are two methods of interfacing input/output (I/O) devices: memory-mapped I/O and I/O mapped I/O. In memory-mapped I/O, input/output devices are mapped to the memory address space of the microprocessor. This means that the I/O devices are treated like memory locations and can be accessed using the sam
4 min read
Difference between Cache Coherence and Memory Consistency
1. Cache coherence :Cache coherence in computer architecture refers to the consistency of shared resource data that is stored in multiple local caches. When clients in a system maintain caches of a shared memory resource, problems with incoherent data can arise, which is especially true for CPUs in a multiprocessing system.In a shared memory multip
2 min read
Difference Between Contiguous and Non-Contiguous Memory Allocation
Memory management is one of the fundamentals of operating systems that has implications for its performances and use of resources. These are discussed below: Contiguous and non-contiguous allocation of memory Allocation of memory may take either of the following forms: This article enables you to know the difference between the two, how memory is a
5 min read
Difference Between Register and Memory
Registers and memory are essential for the operation of a computer, each having its own advantages. Registers offer the CPU quick access to data it must process, thus ensuring fast operation. Memory, on the other hand, provides storage space needed for large amounts of data and instructions during program execution. Although registers are small and
5 min read
Difference Between Efficiency and Speedup in Cache Memory
To understand the operation of cache memory, one has to familiarize the concepts of efficiency as well as speedup in computer architecture. These two metrics are sometimes considered synonyms but in fact they have different applications and let a system analyst come across different picture of the system’s efficiency. Effectiveness is the ability o
6 min read
Difference between Cache Memory and Register
In the context of a computer’s architecture, two terms that may be familiar are the cache memory and the register, however, few people may not know the differences and functions of each of the two components. Both of them are important to the CPU but they have different roles and are used in different manner. In this article, we will look at some i
5 min read
Difference between Primary and Secondary Memory
Primary Memory(RAM) is a type of memory where the computer stores it's actively using data, it's very fast but loses power while Secondary Memory(eg: SSD, HDD) can hold our files and programs for long term and our data is safe but less fast than primary. In this article, we are going to discuss the difference between primary and secondary memory in
4 min read
Difference between Seek Time and Disk Access Time in Disk Scheduling
Seek Time: A disk is divided into many circular tracks. Seek Time is defined as the time required by the read/write head to move from one track to another. Example, Consider the following diagram, the read/write head is currently on track 1. Now, on the next read/write request, we may want to read data from Track 4, in this case, our read/write hea
3 min read
Difference between Transfer Time and Disk Access Time in Disk Scheduling
1. Transfer Time : Time required to transfer the required amount of data. It can be calculated by the given formula Transfer time, = Data to be transfer / transfer rate Data to be transfer is given in the question and transfer rate is sometimes given and sometimes it may not be given. It can be calculated by the given formula. Transfer Rate, = {(Nu
2 min read
Difference between Rotational Latency and Disk Access Time in Disk Scheduling
1. Rotational Latency : Rotational Latency is also known as Rotational time. The amount of time taken by the disk to rotate the track when the read/write head come to exact sector or we can also say that the time taken by the desired sector to come under the read/write head is called rotational latency. Rotational Latency is depends on the rotation
4 min read
Difference between Time Shared Bus, Crossbar Switch & Multiport Memory - Interconnection structure
Prerequisite : Detailed study about the Time Shared Bus, Crossbar Switch & Multiport Memory interconnection structure. Introduction :Interconnection structure can decide the overall system's performance in a multi-processor environment. The processors must be able to share a set of main memory modules & I/O devices in a multiprocessor syste
2 min read
Differences between Associative and Cache Memory
1. Associative Memory: The time required to find an object stored in memory can be significantly reduced if the stored data can be identified by the content of the data for its own use rather than by access. A memory unit accessed by a material is known as an associative memory or a content addressable memory (CAM). This type of memory is accessed
2 min read
Allocating kernel memory (buddy system and slab system)
Prerequisite - Buddy System Introduction: Allocating kernel memory is a critical task in operating system design, as the kernel needs to manage memory efficiently and effectively to ensure optimal system performance. Two common methods for allocating kernel memory are the buddy system and the slab system. The buddy system is a memory allocation alg
9 min read
Memory mapped I/O and Isolated I/O
As a CPU needs to communicate with the various memory and input-output devices (I/O) as we know data between the processor and these devices flow with the help of the system bus. There are three ways in which system bus can be allotted to them : Separate set of address, control and data bus to I/O and memory.Have common bus (data and address) for I
5 min read