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

PPTX
Memory Hierarchy
PDF
Computer organization memory
PPTX
Memory hierarchy
PPTX
Computer architecture memory system
PPTX
Memory organization (Computer architecture)
PPTX
memory hierarchy
PPTX
Memory organization
PPT
Memory Organization
Memory Hierarchy
Computer organization memory
Memory hierarchy
Computer architecture memory system
Memory organization (Computer architecture)
memory hierarchy
Memory organization
Memory Organization

What's hot (20)

PDF
Unit IV Memory and I/O Organization
PPTX
Memory organisation
PPTX
Memory organization in computer architecture
PPTX
Memory management
PPTX
Memory Hierarchy
PPTX
Storage management in operating system
PPTX
Cache memory ppt
PPT
Memory management
PPTX
Main memory of computer .ppt
PPS
Cache memory
PDF
RAM (Random Access Memory)
PPTX
Memory Organization
PDF
Processor Organization and Architecture
PPTX
Computer Organisation & Architecture (chapter 1)
PPT
Internal memory
PPTX
Direct memory access
PPT
Memory allocation (4)
PPTX
Memory Reference Instructions
PPTX
Virtual Memory
PPTX
Memory - RAM and its types
Unit IV Memory and I/O Organization
Memory organisation
Memory organization in computer architecture
Memory management
Memory Hierarchy
Storage management in operating system
Cache memory ppt
Memory management
Main memory of computer .ppt
Cache memory
RAM (Random Access Memory)
Memory Organization
Processor Organization and Architecture
Computer Organisation & Architecture (chapter 1)
Internal memory
Direct memory access
Memory allocation (4)
Memory Reference Instructions
Virtual Memory
Memory - RAM and its types
Ad

Similar to Memory hierarchy (20)

PPT
Memory and storage
DOCX
Memory managment
PDF
Introduction to memory management
PPT
PPTX
Power point presentation on memory of computer
PDF
Memory hierarchy.pdf
PDF
Memory
PPTX
Computer architecture bca 2nd semes.pptx
PPTX
Computer memory
PDF
Detail explanation of memory organization
PPTX
FALLSEM2024-25_BCSE205L_TH_VL2024250108124_2024-09-30_Reference-Material-IV.pptx
PPTX
computer architecture memory system organization
PPT
Hardware Memory
PDF
Memory devices
PDF
memory management ppt .pdf
PPTX
COMPUTER MEMORY -overview,types and.pptx
DOCX
COMPUTER MEMORY
PDF
Computer Memory
PPTX
Computer memory
PPT
Chapter 09 - Virtual Memory.ppt
Memory and storage
Memory managment
Introduction to memory management
Power point presentation on memory of computer
Memory hierarchy.pdf
Memory
Computer architecture bca 2nd semes.pptx
Computer memory
Detail explanation of memory organization
FALLSEM2024-25_BCSE205L_TH_VL2024250108124_2024-09-30_Reference-Material-IV.pptx
computer architecture memory system organization
Hardware Memory
Memory devices
memory management ppt .pdf
COMPUTER MEMORY -overview,types and.pptx
COMPUTER MEMORY
Computer Memory
Computer memory
Chapter 09 - Virtual Memory.ppt
Ad

More from Abu-ul-Haris (10)

PPTX
Communication presentation
PDF
Misaq lakhno
PDF
Lab no 7
PDF
Lab no 6
PDF
Lab no 5
DOCX
Lab no 4
PDF
Lab no 3 haris
DOCX
Lab no 2 haris
DOCX
Lab no 1
DOCX
Lab no 4
Communication presentation
Misaq lakhno
Lab no 7
Lab no 6
Lab no 5
Lab no 4
Lab no 3 haris
Lab no 2 haris
Lab no 1
Lab no 4

Recently uploaded (20)

PPTX
web development for engineering and engineering
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PPTX
Construction Project Organization Group 2.pptx
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PPTX
Sustainable Sites - Green Building Construction
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
additive manufacturing of ss316l using mig welding
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PDF
Well-logging-methods_new................
PPTX
Geodesy 1.pptx...............................................
web development for engineering and engineering
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Construction Project Organization Group 2.pptx
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
Sustainable Sites - Green Building Construction
R24 SURVEYING LAB MANUAL for civil enggi
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
additive manufacturing of ss316l using mig welding
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Well-logging-methods_new................
Geodesy 1.pptx...............................................

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.