Memory Interleaving is less or More an Abstraction technique. Though its a bit different from Abstraction. It is a Technique which divides memory into a number of ..
2. Basic Concept for Interleaving
Main memory
Divide
Sections
2Asstt. Prof. vani Malagar
3. Definition of Interleaving
• Interleaving is technique for compensating the
slow speed of DRAM .
3Asstt. Prof. vani Malagar
4. Advantages of Interleaving Memory
• Increases the Bandwidth
• Improves Performance
Processor
Transfer
Same Point
Time
Amount of Data
4Asstt. Prof. vani Malagar
5. What it Does???
• System Memory Divide into two ways :
2-way Interleaving 4-Way Interleaving
5Asstt. Prof. vani Malagar
6. Analyze with Example
(2-Way Interleaving Memory )
• Consider eating a Plate of Food with a Fork
Ist case : 2 Way Interleaving
Divide food into 2 –plates
Eating with Both Hands using 2 Forks
Eating =Processor
Fork = Memory
6Asstt. Prof. vani Malagar
11. Practically Implement
0 4 8 12 16
1 5 9 13 17
2 6 10 14 18
3 7 11 15 19
We have consecutive Addresses & 4- Interleaved Modules
USE SEQUENTIAL OR PIPELINED MANNER
11Asstt. Prof. vani Malagar
MODULE 0
MODULE 1
MODULE 2
MODULE 3
12. Examples
• Consider a main memory with m=2 ^a Memory
Modules with w=2^b words.
What will be the total number of words in all
modules ?
a=2
B=2
Therefore w=2^ (a+b) =2^(2+2)= 16 words
Also a==b
12Asstt. Prof. vani Malagar