SlideShare uma empresa Scribd logo
1 de 14
024
Memory Interleaving


Memory interleaving is the technique
used to increase the throughput. The
core idea is to split the memory system
into independent banks, which can
answer read or write requests
independents in parallel.
4 Way interleaved
Memory
Low order interleaving


Usually , this is done by interleaving the
address space, Consecutive cells in the
address space are assigned to different
memory banks. An example of four-way
interleaved memory , and the mapping of
consecutive data cells it is shown in previous
slide.
There are two-address format for memory interleaving the
address space.

Low order interleaving
Low order interleaving spreads contiguous memory
location across the modules horizontally. This implies
that the low order bits of the memory address are used
to indentify the memory module. High order bits are the
word addresses (displacement) within each module

High order interleaving
High order interleaving uses the high order bits as the
module address and the low order bits as the word
address within each module.
Where is it implemented


Memory interleaving implemented on
main memory , Which is slow as
compared to Cache. And Main memory
having less bandwidth.
Memory bandwidth


Memory bandwidth is the rate at which
data can be read and write into
a memory by a processor. Memory
bandwidth is usually expressed in units
of bytes/sec.
Interleaved Memory
organization






Various organization of the physical memory
are included in this section. In order to close
up the speed gap between Cache and main
memory. And interleaving technique is
represented allow pipelined access of the
parallel memory modules.
The memory design goal (interleaving goal) is
to broaden the effective memory bandwidth so
that more memory words can be accessed per
unit time.
The ultimate purpose is to match the memory
bandwidth with the bus bandwidth and with the
processor bandwidth.
Modules and addresses in
Main Memory









The main memory is built with multiple modules
(chips).
These memory modules are connected to a bus and
other resources(Processor, I/O) are also connected.
Memory module having memory addresses.
Each memory module return one word per cycle.
It is possible to present different addresses to
different memory modules.
So the Parallel access of multiple word can be done
concurrently (one cycle).
This called parallel access in term of pipelined
fashion.
Main memory is often block-accessed at
consecutive addresses.
 Block access is needed for fetching a
sequence of instructions or for accessing a
linearly ordered data structure.
 Each block access may correspond to the
size of a cache block.
 Therefore it is desirable to design the
memory to facilitate the block access of
contiguous words.

The Address Space for Low–
Order Interleaving









When a memory is N–way interleaved, we always find
that N = 2K.
This is due to the structure of the memory address.
For K = 1, we have 2–way interleaving.
For K = 2, we have 4–way interleaving.
For K = 3, we have 8–way interleaving.
For K = 4, we have 16–way interleaving.
For each scheme, the K bits(lower bits) of the address
select the Module.
structure is as follows. Each address is a 6–bit
unsigned binary number.
A Main memory formed with m= 2^a memory
modules.
 Each containing w=2^b words of memory
cells.


a and b bits in Low order interleaving
a bits are used to identify the memory module. And the higher
order b bits are the word addresses(displacement) within each
module.

a and b bits in High order interleaving
a bits are as the module address and the low order b bits are the
word address in each module.
High order interleaving cannot support block access of
contiguous location .
Low order interleaving support the block access in pipelined
fashion .
Low order interleaving
High order interleaving

Mais conteúdo relacionado

Mais procurados

Cache memory
Cache memoryCache memory
Cache memoryAnuj Modi
 
Cache replacement policies,cache miss,writingtechniques
Cache replacement policies,cache miss,writingtechniquesCache replacement policies,cache miss,writingtechniques
Cache replacement policies,cache miss,writingtechniquesSnehalataAgasti
 
Computer architecture memory system
Computer architecture memory systemComputer architecture memory system
Computer architecture memory systemMazin Alwaaly
 
Memory management
Memory managementMemory management
Memory managementcpjcollege
 
Memory Management in OS
Memory Management in OSMemory Management in OS
Memory Management in OSvampugani
 
Computer architecture virtual memory
Computer architecture virtual memoryComputer architecture virtual memory
Computer architecture virtual memoryMazin Alwaaly
 
Cache memory ppt
Cache memory ppt  Cache memory ppt
Cache memory ppt Arpita Naik
 
Production System in AI
Production System in AIProduction System in AI
Production System in AIBharat Bhushan
 
Multiprocessor architecture
Multiprocessor architectureMultiprocessor architecture
Multiprocessor architectureArpan Baishya
 

Mais procurados (20)

Cache memory
Cache memoryCache memory
Cache memory
 
Cache replacement policies,cache miss,writingtechniques
Cache replacement policies,cache miss,writingtechniquesCache replacement policies,cache miss,writingtechniques
Cache replacement policies,cache miss,writingtechniques
 
Disk structure
Disk structureDisk structure
Disk structure
 
Memory mapping
Memory mappingMemory mapping
Memory mapping
 
Computer architecture memory system
Computer architecture memory systemComputer architecture memory system
Computer architecture memory system
 
Cache memory
Cache memoryCache memory
Cache memory
 
Memory Organization
Memory OrganizationMemory Organization
Memory Organization
 
Cache memory
Cache memoryCache memory
Cache memory
 
Cache memory
Cache memoryCache memory
Cache memory
 
Cache memory
Cache memoryCache memory
Cache memory
 
Cache memory
Cache  memoryCache  memory
Cache memory
 
Memory management
Memory managementMemory management
Memory management
 
Memory management
Memory managementMemory management
Memory management
 
Memory Management in OS
Memory Management in OSMemory Management in OS
Memory Management in OS
 
Computer architecture virtual memory
Computer architecture virtual memoryComputer architecture virtual memory
Computer architecture virtual memory
 
Cache memory ppt
Cache memory ppt  Cache memory ppt
Cache memory ppt
 
Computer Organization
Computer OrganizationComputer Organization
Computer Organization
 
Cache memory
Cache memoryCache memory
Cache memory
 
Production System in AI
Production System in AIProduction System in AI
Production System in AI
 
Multiprocessor architecture
Multiprocessor architectureMultiprocessor architecture
Multiprocessor architecture
 

Semelhante a memory Interleaving and low order interleaving and high interleaving

Cache.pptx
Cache.pptxCache.pptx
Cache.pptxVCETCSE
 
IS 139 Lecture 7
IS 139 Lecture 7IS 139 Lecture 7
IS 139 Lecture 7wajanga
 
Memory Hierarchy Design, Basics, Cache Optimization, Address Translation
Memory Hierarchy Design, Basics, Cache Optimization, Address TranslationMemory Hierarchy Design, Basics, Cache Optimization, Address Translation
Memory Hierarchy Design, Basics, Cache Optimization, Address TranslationFarwa Ansari
 
coa-Unit5-ppt1 (1).pptx
coa-Unit5-ppt1 (1).pptxcoa-Unit5-ppt1 (1).pptx
coa-Unit5-ppt1 (1).pptxRuhul Amin
 
Lec 1 digital electroinics - memory array, write read operations
Lec 1   digital electroinics - memory array, write read operationsLec 1   digital electroinics - memory array, write read operations
Lec 1 digital electroinics - memory array, write read operationspriyankatabhane
 
Organisation of cache memory
Organisation  of cache memoryOrganisation  of cache memory
Organisation of cache memoryKomalBhat6
 
Interleaved memory
Interleaved memoryInterleaved memory
Interleaved memoryashishgy
 
lecture-2-3_Memory.pdf,describing memory
lecture-2-3_Memory.pdf,describing memorylecture-2-3_Memory.pdf,describing memory
lecture-2-3_Memory.pdf,describing memoryfloraaluoch3
 
CPU Caching Concepts
CPU Caching ConceptsCPU Caching Concepts
CPU Caching ConceptsAbhijit K Rao
 
Elements of cache design
Elements of cache designElements of cache design
Elements of cache designRohail Butt
 

Semelhante a memory Interleaving and low order interleaving and high interleaving (20)

Cache.pptx
Cache.pptxCache.pptx
Cache.pptx
 
IS 139 Lecture 7
IS 139 Lecture 7IS 139 Lecture 7
IS 139 Lecture 7
 
Lecture2
Lecture2Lecture2
Lecture2
 
Memory Hierarchy Design, Basics, Cache Optimization, Address Translation
Memory Hierarchy Design, Basics, Cache Optimization, Address TranslationMemory Hierarchy Design, Basics, Cache Optimization, Address Translation
Memory Hierarchy Design, Basics, Cache Optimization, Address Translation
 
coa-Unit5-ppt1 (1).pptx
coa-Unit5-ppt1 (1).pptxcoa-Unit5-ppt1 (1).pptx
coa-Unit5-ppt1 (1).pptx
 
Lec 1 digital electroinics - memory array, write read operations
Lec 1   digital electroinics - memory array, write read operationsLec 1   digital electroinics - memory array, write read operations
Lec 1 digital electroinics - memory array, write read operations
 
Unit 5-lecture-1
Unit 5-lecture-1Unit 5-lecture-1
Unit 5-lecture-1
 
Organisation of cache memory
Organisation  of cache memoryOrganisation  of cache memory
Organisation of cache memory
 
Interleaved memory
Interleaved memoryInterleaved memory
Interleaved memory
 
Cache memory
Cache memoryCache memory
Cache memory
 
Cache memory
Cache memoryCache memory
Cache memory
 
Rahman
RahmanRahman
Rahman
 
Cache memory
Cache memoryCache memory
Cache memory
 
Cache Memory
Cache MemoryCache Memory
Cache Memory
 
COA notes
COA notesCOA notes
COA notes
 
Ch 4 95
Ch 4 95Ch 4 95
Ch 4 95
 
04 Cache Memory
04  Cache  Memory04  Cache  Memory
04 Cache Memory
 
lecture-2-3_Memory.pdf,describing memory
lecture-2-3_Memory.pdf,describing memorylecture-2-3_Memory.pdf,describing memory
lecture-2-3_Memory.pdf,describing memory
 
CPU Caching Concepts
CPU Caching ConceptsCPU Caching Concepts
CPU Caching Concepts
 
Elements of cache design
Elements of cache designElements of cache design
Elements of cache design
 

Último

Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfOverkill Security
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistandanishmna97
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native ApplicationsWSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Victor Rentea
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDropbox
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024The Digital Insurer
 

Último (20)

Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Cyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdfCyberprint. Dark Pink Apt Group [EN].pdf
Cyberprint. Dark Pink Apt Group [EN].pdf
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 

memory Interleaving and low order interleaving and high interleaving

  • 1. 024
  • 2. Memory Interleaving  Memory interleaving is the technique used to increase the throughput. The core idea is to split the memory system into independent banks, which can answer read or write requests independents in parallel.
  • 3. 4 Way interleaved Memory Low order interleaving
  • 4.  Usually , this is done by interleaving the address space, Consecutive cells in the address space are assigned to different memory banks. An example of four-way interleaved memory , and the mapping of consecutive data cells it is shown in previous slide.
  • 5. There are two-address format for memory interleaving the address space. Low order interleaving Low order interleaving spreads contiguous memory location across the modules horizontally. This implies that the low order bits of the memory address are used to indentify the memory module. High order bits are the word addresses (displacement) within each module High order interleaving High order interleaving uses the high order bits as the module address and the low order bits as the word address within each module.
  • 6. Where is it implemented  Memory interleaving implemented on main memory , Which is slow as compared to Cache. And Main memory having less bandwidth.
  • 7. Memory bandwidth  Memory bandwidth is the rate at which data can be read and write into a memory by a processor. Memory bandwidth is usually expressed in units of bytes/sec.
  • 8. Interleaved Memory organization    Various organization of the physical memory are included in this section. In order to close up the speed gap between Cache and main memory. And interleaving technique is represented allow pipelined access of the parallel memory modules. The memory design goal (interleaving goal) is to broaden the effective memory bandwidth so that more memory words can be accessed per unit time. The ultimate purpose is to match the memory bandwidth with the bus bandwidth and with the processor bandwidth.
  • 9. Modules and addresses in Main Memory        The main memory is built with multiple modules (chips). These memory modules are connected to a bus and other resources(Processor, I/O) are also connected. Memory module having memory addresses. Each memory module return one word per cycle. It is possible to present different addresses to different memory modules. So the Parallel access of multiple word can be done concurrently (one cycle). This called parallel access in term of pipelined fashion.
  • 10. Main memory is often block-accessed at consecutive addresses.  Block access is needed for fetching a sequence of instructions or for accessing a linearly ordered data structure.  Each block access may correspond to the size of a cache block.  Therefore it is desirable to design the memory to facilitate the block access of contiguous words. 
  • 11. The Address Space for Low– Order Interleaving        When a memory is N–way interleaved, we always find that N = 2K. This is due to the structure of the memory address. For K = 1, we have 2–way interleaving. For K = 2, we have 4–way interleaving. For K = 3, we have 8–way interleaving. For K = 4, we have 16–way interleaving. For each scheme, the K bits(lower bits) of the address select the Module. structure is as follows. Each address is a 6–bit unsigned binary number.
  • 12. A Main memory formed with m= 2^a memory modules.  Each containing w=2^b words of memory cells.  a and b bits in Low order interleaving a bits are used to identify the memory module. And the higher order b bits are the word addresses(displacement) within each module. a and b bits in High order interleaving a bits are as the module address and the low order b bits are the word address in each module. High order interleaving cannot support block access of contiguous location . Low order interleaving support the block access in pipelined fashion .