SlideShare a Scribd company logo
MEMORY HIERARCHY
A SOLUTION FOR MODERN DAY COMPUTING
MEMORY:
“The Impression, Reminiscence and Souvenir of an
existence, is called Memory.”
Or
“The ability to collect and recollect data, is called
Memory.”
MOORE’S FIRST LAW:
“The number of transistors
per square inch on a dense
integrated circuit doubles
every two years.”
ROCK’S LAW (MOORE’S SECOND LAW):
“The cost of a semiconductor
chip fabrication plant doubles
every four years.”
THE PARADOX OF MEMORY:
The Ideal Memory:
Zero Access Time
Infinite Capacity
Zero Cost
Infinite Bandwidth
Realistic Memory:
Faster = Expensive
Bigger = Slower
Quality = Expensive
Higher Frequency =
More Ports = Expensive
MEMORY HIERARCHY:
At any given time, data is copied between only two
adjacent levels:
– Upper level: In the direct access to processor.
(Smaller, faster, uses more expensive technology)
– Lower level: In the indirect access to processor.
(Bigger, slower, uses less expensive technology)
IMPACT OF MEMORY HIERARCHY
For Computer Processing: If it worked for Cars:
•3,00,000 mph
•20,00,000 mpg
•4.19 Rupees per Car
•3,500x Performance
•90,000x Energy efficient
•60,000x Lower cost
LEVELS OF MEMORY HIERARCHY:
HIERARCHY MANAGEMENT:
Registers <-> Memory by compiler
Cache <-> Memory by the hardware (CPU)
Memory <-> Disks by the Hardware
(RAM) and OS
Virtual Memory by the Operating
System (OS) and
Program
PRIMARY MEMORY:
“The upper level volatile
memory, directly
accessed by processor, is
called Primary Memory.”
Example: Cache & RAM
SECONDARY MEMORY:
“The lower level non-
volatile memory, indirectly
accessed by processor, is
called Secondary Memory.”
Example: ROM & USB Flash
VIRTUAL MEMORY:
Virtual memory is a feature of an operating system
(OS) that allows a computer to compensate for
shortages of physical memory by temporarily
transferring pages of data from random
access memory (RAM) to disk storage. That Portion
of disk storage is referred as Virtual Memory or
Paging Files.
NEED FOR VIRTUAL MEMORY:
1. Before the development of the virtual memory
technique, programmers in the 1940s and
1950s had to manage directly two-level storage
such as main memory or RAM and secondary
memory in the form of hard disks or earlier,
magnetic drums.
2. Enlarge the address space, the set of addresses
a program can utilize.
3. Virtual memory might contain twice as many
addresses as main memory.
VIRTUAL MEMORY (PAGING)
Page table
Address Space
Page table
Address Space
Physical
Memory
WHAT IS OFFLINE MEMORY?
The term offline memory is referred to a secondary
storage medium that is non-volatile and whose data cannot
be accessed by the computer once removed. It must be
physically inserted into a system every time a users wants to access or edit
data. Offline storage can be any type of internal or external storage that
can easily be removed from the computer.
PORTABLE MEMORY
Any offline storage that is removable and needs to be
plugged in to read/write data and plugged out without
effecting any fundamentals of the machine, is called portable
memory.
Portable memory plays a vital role in the data transfer and
specially in making backups for privacy or security concerns.
Examples of portable memory are USB drive, SD Cards,
Floppy disks, Tape drives and CDs/DVDs or Blu-ray.

More Related Content

What's hot

Memory organization in computer architecture
Memory organization in computer architectureMemory organization in computer architecture
Memory organization in computer architecture
Faisal Hussain
 
Lecture 2 - Computer Hardware & Operating Systems
Lecture 2 - Computer Hardware & Operating SystemsLecture 2 - Computer Hardware & Operating Systems
Lecture 2 - Computer Hardware & Operating Systems
Jack Hyman
 
Modes Of Transfer in Input/Output Organization
Modes Of Transfer in Input/Output OrganizationModes Of Transfer in Input/Output Organization
Modes Of Transfer in Input/Output Organization
MOHIT AGARWAL
 
Computer memory
Computer memoryComputer memory
Computer memory
arunavasava
 
Functional units
Functional unitsFunctional units
Functional units
Jeeva Nanthini
 
Cpu organisation
Cpu organisationCpu organisation
Cpu organisation
Er Sangita Vishwakarma
 
ROM (Read Only Memory)
ROM (Read Only Memory)ROM (Read Only Memory)
ROM (Read Only Memory)
JaneAlamAdnan
 
Computer Memory and it types RAM ROM AND CACHE MEMORIES
Computer Memory and it types RAM ROM AND CACHE MEMORIESComputer Memory and it types RAM ROM AND CACHE MEMORIES
Computer Memory and it types RAM ROM AND CACHE MEMORIES
AbuBakar710430
 
Memory system
Memory systemMemory system
Memory system
gourav kottawar
 
Instruction Execution Cycle
Instruction Execution CycleInstruction Execution Cycle
Instruction Execution Cycle
utsav_shah
 
Secondary memory
Secondary memorySecondary memory
Secondary memory
Rihab Rahman
 
Main memory of computer .ppt
Main memory of computer .pptMain memory of computer .ppt
Main memory of computer .ppt
BasraJaswinder
 
Input output interface
Input output interfaceInput output interface
Input output interface
Christ University
 
Io techniques & its types
Io techniques & its typesIo techniques & its types
Io techniques & its typesNehal Naik
 
Memory hierarchy
Memory hierarchyMemory hierarchy
Memory hierarchy
Anurag Verma
 
Memory unit
Memory unitMemory unit
Memory unit
Sajal Sirohi
 
How the cpu works
How the cpu worksHow the cpu works
How the cpu works
Jordan_Heeley
 

What's hot (20)

Memory organization in computer architecture
Memory organization in computer architectureMemory organization in computer architecture
Memory organization in computer architecture
 
Lecture 2 - Computer Hardware & Operating Systems
Lecture 2 - Computer Hardware & Operating SystemsLecture 2 - Computer Hardware & Operating Systems
Lecture 2 - Computer Hardware & Operating Systems
 
Modes Of Transfer in Input/Output Organization
Modes Of Transfer in Input/Output OrganizationModes Of Transfer in Input/Output Organization
Modes Of Transfer in Input/Output Organization
 
Computer memory
Computer memoryComputer memory
Computer memory
 
Functional units
Functional unitsFunctional units
Functional units
 
Cpu organisation
Cpu organisationCpu organisation
Cpu organisation
 
Instruction cycle
Instruction cycleInstruction cycle
Instruction cycle
 
ROM (Read Only Memory)
ROM (Read Only Memory)ROM (Read Only Memory)
ROM (Read Only Memory)
 
Computer Memory and it types RAM ROM AND CACHE MEMORIES
Computer Memory and it types RAM ROM AND CACHE MEMORIESComputer Memory and it types RAM ROM AND CACHE MEMORIES
Computer Memory and it types RAM ROM AND CACHE MEMORIES
 
Memory hierarchy
Memory hierarchyMemory hierarchy
Memory hierarchy
 
Cpu
CpuCpu
Cpu
 
Memory system
Memory systemMemory system
Memory system
 
Instruction Execution Cycle
Instruction Execution CycleInstruction Execution Cycle
Instruction Execution Cycle
 
Secondary memory
Secondary memorySecondary memory
Secondary memory
 
Main memory of computer .ppt
Main memory of computer .pptMain memory of computer .ppt
Main memory of computer .ppt
 
Input output interface
Input output interfaceInput output interface
Input output interface
 
Io techniques & its types
Io techniques & its typesIo techniques & its types
Io techniques & its types
 
Memory hierarchy
Memory hierarchyMemory hierarchy
Memory hierarchy
 
Memory unit
Memory unitMemory unit
Memory unit
 
How the cpu works
How the cpu worksHow the cpu works
How the cpu works
 

Similar to Memory hierarchy

Memory and storage
Memory and storageMemory and storage
Memory and storage
Tapan Khilar
 
Memory hierarchy.pdf
Memory hierarchy.pdfMemory hierarchy.pdf
Memory hierarchy.pdf
ISHAN194169
 
Computer Introduction-Lecture02
Computer Introduction-Lecture02Computer Introduction-Lecture02
Computer Introduction-Lecture02
Dr. Mazin Mohamed alkathiri
 
lecture_5_computer_memory.pptx
lecture_5_computer_memory.pptxlecture_5_computer_memory.pptx
lecture_5_computer_memory.pptx
MrHlo1
 
Basicarchitecturememory
BasicarchitecturememoryBasicarchitecturememory
BasicarchitecturememoryAditya Narang
 
Computer Memory
Computer MemoryComputer Memory
Computer Memory
Md. Rafid Abrar Miah
 
What is Computer Memory.ppt
What is Computer Memory.pptWhat is Computer Memory.ppt
What is Computer Memory.ppt
Muhammad Naeem
 
Understanding And Managing Memory
Understanding And Managing MemoryUnderstanding And Managing Memory
Understanding And Managing Memoryisma ishak
 
Virtual Memory vs Cache Memory
Virtual Memory vs Cache MemoryVirtual Memory vs Cache Memory
Virtual Memory vs Cache MemoryAshik Iqbal
 
Computer memory presentation
Computer memory presentationComputer memory presentation
Computer memory presentation
aaravSingh41
 
TYPES OF COMPUTER MEMORIES
TYPES OF COMPUTER MEMORIESTYPES OF COMPUTER MEMORIES
TYPES OF COMPUTER MEMORIES
Shahbaz Baloch
 
Memory and its type
Memory and its typeMemory and its type
Memory and its type
Raju Sheoran
 
Lecture 02 hardware
Lecture 02 hardwareLecture 02 hardware
COMPUTER MEMORY : TYPES & FUNCTIONS
COMPUTER MEMORY : TYPES & FUNCTIONSCOMPUTER MEMORY : TYPES & FUNCTIONS
COMPUTER MEMORY : TYPES & FUNCTIONS
Angel Mary George
 
Computer MEMORY
Computer MEMORYComputer MEMORY
Computer MEMORY
Swarnima Tiwari
 
Primary and secondary storage devices
Primary and secondary storage devicesPrimary and secondary storage devices
Primary and secondary storage devicesPichano Kikon
 
overview of physical storage media
overview of physical storage mediaoverview of physical storage media
overview of physical storage media
Aisu
 
Classification of memory hierarchy in system unit
Classification of memory hierarchy in system unitClassification of memory hierarchy in system unit
Classification of memory hierarchy in system unit
Deepjyoti Talukdar
 
Soumenu Patra Presentation_Types of Memory.pdf
Soumenu Patra Presentation_Types of Memory.pdfSoumenu Patra Presentation_Types of Memory.pdf
Soumenu Patra Presentation_Types of Memory.pdf
SoumenduPatra3
 

Similar to Memory hierarchy (20)

Memory and storage
Memory and storageMemory and storage
Memory and storage
 
Memory hierarchy.pdf
Memory hierarchy.pdfMemory hierarchy.pdf
Memory hierarchy.pdf
 
Computer Introduction-Lecture02
Computer Introduction-Lecture02Computer Introduction-Lecture02
Computer Introduction-Lecture02
 
lecture_5_computer_memory.pptx
lecture_5_computer_memory.pptxlecture_5_computer_memory.pptx
lecture_5_computer_memory.pptx
 
Basicarchitecturememory
BasicarchitecturememoryBasicarchitecturememory
Basicarchitecturememory
 
Computer Memory
Computer MemoryComputer Memory
Computer Memory
 
What is Computer Memory.ppt
What is Computer Memory.pptWhat is Computer Memory.ppt
What is Computer Memory.ppt
 
Understanding And Managing Memory
Understanding And Managing MemoryUnderstanding And Managing Memory
Understanding And Managing Memory
 
Virtual Memory vs Cache Memory
Virtual Memory vs Cache MemoryVirtual Memory vs Cache Memory
Virtual Memory vs Cache Memory
 
Computer memory presentation
Computer memory presentationComputer memory presentation
Computer memory presentation
 
TYPES OF COMPUTER MEMORIES
TYPES OF COMPUTER MEMORIESTYPES OF COMPUTER MEMORIES
TYPES OF COMPUTER MEMORIES
 
Memory and its type
Memory and its typeMemory and its type
Memory and its type
 
Lecture 02 hardware
Lecture 02 hardwareLecture 02 hardware
Lecture 02 hardware
 
Computer Memory
Computer MemoryComputer Memory
Computer Memory
 
COMPUTER MEMORY : TYPES & FUNCTIONS
COMPUTER MEMORY : TYPES & FUNCTIONSCOMPUTER MEMORY : TYPES & FUNCTIONS
COMPUTER MEMORY : TYPES & FUNCTIONS
 
Computer MEMORY
Computer MEMORYComputer MEMORY
Computer MEMORY
 
Primary and secondary storage devices
Primary and secondary storage devicesPrimary and secondary storage devices
Primary and secondary storage devices
 
overview of physical storage media
overview of physical storage mediaoverview of physical storage media
overview of physical storage media
 
Classification of memory hierarchy in system unit
Classification of memory hierarchy in system unitClassification of memory hierarchy in system unit
Classification of memory hierarchy in system unit
 
Soumenu Patra Presentation_Types of Memory.pdf
Soumenu Patra Presentation_Types of Memory.pdfSoumenu Patra Presentation_Types of Memory.pdf
Soumenu Patra Presentation_Types of Memory.pdf
 

More from Abu-ul-Haris

Communication presentation
Communication presentationCommunication presentation
Communication presentation
Abu-ul-Haris
 
Misaq lakhno
Misaq lakhnoMisaq lakhno
Misaq lakhno
Abu-ul-Haris
 
Lab no 7
Lab no 7Lab no 7
Lab no 7
Abu-ul-Haris
 
Lab no 6
Lab no 6Lab no 6
Lab no 6
Abu-ul-Haris
 
Lab no 5
Lab no 5Lab no 5
Lab no 5
Abu-ul-Haris
 
Lab no 4
Lab no 4Lab no 4
Lab no 4
Abu-ul-Haris
 
Lab no 3 haris
Lab no 3 harisLab no 3 haris
Lab no 3 haris
Abu-ul-Haris
 
Lab no 2 haris
Lab no 2 harisLab no 2 haris
Lab no 2 haris
Abu-ul-Haris
 
Lab no 1
Lab no 1Lab no 1
Lab no 1
Abu-ul-Haris
 
Lab no 4
Lab no 4Lab no 4
Lab no 4
Abu-ul-Haris
 

More from Abu-ul-Haris (10)

Communication presentation
Communication presentationCommunication presentation
Communication presentation
 
Misaq lakhno
Misaq lakhnoMisaq lakhno
Misaq lakhno
 
Lab no 7
Lab no 7Lab no 7
Lab no 7
 
Lab no 6
Lab no 6Lab no 6
Lab no 6
 
Lab no 5
Lab no 5Lab no 5
Lab no 5
 
Lab no 4
Lab no 4Lab no 4
Lab no 4
 
Lab no 3 haris
Lab no 3 harisLab no 3 haris
Lab no 3 haris
 
Lab no 2 haris
Lab no 2 harisLab no 2 haris
Lab no 2 haris
 
Lab no 1
Lab no 1Lab no 1
Lab no 1
 
Lab no 4
Lab no 4Lab no 4
Lab no 4
 

Recently uploaded

H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
Kamal Acharya
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
ViniHema
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
Kamal Acharya
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Teleport Manpower Consultant
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
Intella Parts
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
LIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptLIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.ppt
ssuser9bd3ba
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
FluxPrime1
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
gdsczhcet
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation & Control
 
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSETECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
DuvanRamosGarzon1
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
VENKATESHvenky89705
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 

Recently uploaded (20)

H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
 
Automobile Management System Project Report.pdf
Automobile Management System Project Report.pdfAutomobile Management System Project Report.pdf
Automobile Management System Project Report.pdf
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
 
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdfTop 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
Top 10 Oil and Gas Projects in Saudi Arabia 2024.pdf
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
LIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.pptLIGA(E)11111111111111111111111111111111111111111.ppt
LIGA(E)11111111111111111111111111111111111111111.ppt
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
Water Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdfWater Industry Process Automation and Control Monthly - May 2024.pdf
Water Industry Process Automation and Control Monthly - May 2024.pdf
 
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSETECHNICAL TRAINING MANUAL   GENERAL FAMILIARIZATION COURSE
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSE
 
road safety engineering r s e unit 3.pdf
road safety engineering  r s e unit 3.pdfroad safety engineering  r s e unit 3.pdf
road safety engineering r s e unit 3.pdf
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 

Memory hierarchy

  • 1. MEMORY HIERARCHY A SOLUTION FOR MODERN DAY COMPUTING
  • 2. MEMORY: “The Impression, Reminiscence and Souvenir of an existence, is called Memory.” Or “The ability to collect and recollect data, is called Memory.”
  • 3. MOORE’S FIRST LAW: “The number of transistors per square inch on a dense integrated circuit doubles every two years.”
  • 4. ROCK’S LAW (MOORE’S SECOND LAW): “The cost of a semiconductor chip fabrication plant doubles every four years.”
  • 5. THE PARADOX OF MEMORY: The Ideal Memory: Zero Access Time Infinite Capacity Zero Cost Infinite Bandwidth Realistic Memory: Faster = Expensive Bigger = Slower Quality = Expensive Higher Frequency = More Ports = Expensive
  • 6. MEMORY HIERARCHY: At any given time, data is copied between only two adjacent levels: – Upper level: In the direct access to processor. (Smaller, faster, uses more expensive technology) – Lower level: In the indirect access to processor. (Bigger, slower, uses less expensive technology)
  • 7. IMPACT OF MEMORY HIERARCHY For Computer Processing: If it worked for Cars: •3,00,000 mph •20,00,000 mpg •4.19 Rupees per Car •3,500x Performance •90,000x Energy efficient •60,000x Lower cost
  • 8. LEVELS OF MEMORY HIERARCHY:
  • 9. HIERARCHY MANAGEMENT: Registers <-> Memory by compiler Cache <-> Memory by the hardware (CPU) Memory <-> Disks by the Hardware (RAM) and OS Virtual Memory by the Operating System (OS) and Program
  • 10. PRIMARY MEMORY: “The upper level volatile memory, directly accessed by processor, is called Primary Memory.” Example: Cache & RAM SECONDARY MEMORY: “The lower level non- volatile memory, indirectly accessed by processor, is called Secondary Memory.” Example: ROM & USB Flash
  • 11. VIRTUAL MEMORY: Virtual memory is a feature of an operating system (OS) that allows a computer to compensate for shortages of physical memory by temporarily transferring pages of data from random access memory (RAM) to disk storage. That Portion of disk storage is referred as Virtual Memory or Paging Files.
  • 12. NEED FOR VIRTUAL MEMORY: 1. Before the development of the virtual memory technique, programmers in the 1940s and 1950s had to manage directly two-level storage such as main memory or RAM and secondary memory in the form of hard disks or earlier, magnetic drums. 2. Enlarge the address space, the set of addresses a program can utilize. 3. Virtual memory might contain twice as many addresses as main memory.
  • 13. VIRTUAL MEMORY (PAGING) Page table Address Space Page table Address Space Physical Memory
  • 14. WHAT IS OFFLINE MEMORY? The term offline memory is referred to a secondary storage medium that is non-volatile and whose data cannot be accessed by the computer once removed. It must be physically inserted into a system every time a users wants to access or edit data. Offline storage can be any type of internal or external storage that can easily be removed from the computer.
  • 15. PORTABLE MEMORY Any offline storage that is removable and needs to be plugged in to read/write data and plugged out without effecting any fundamentals of the machine, is called portable memory. Portable memory plays a vital role in the data transfer and specially in making backups for privacy or security concerns. Examples of portable memory are USB drive, SD Cards, Floppy disks, Tape drives and CDs/DVDs or Blu-ray.