SlideShare a Scribd company logo
MEMORY HIERARCHY OF
DIGITAL COMPUTER SYSTEM
COLLEGE OF INNOVATIVE MANAGEMENT & SCIENCE
LUCKY VERMA
BCA (SEMESTER 1ST)
MEMORY HIERARCHY
THE MEMORY UNIT IS AN ESSENTIAL COMPONENT IN ANY
DIGITAL COMPUTER SINCE IT IS NEEDED FOR STORING
PROGRAMS AND DATA
 NOT ALL ACCUMULATED INFORMATION IS NEEDED BY
THE CPU AT THE SAME TIME
THEREFORE, IT IS MORE ECONOMICAL TO USE LOW-COST
STORAGE DEVICES TO SERVE AS A BACKUP FOR STORING
THE INFORMATION THAT IS NOT CURRENTLY USED BY
CPU
MAIN MEMORY
 MOST OF THE MAIN MEMORY IN A GENERAL PURPOSE COMPUTER IS MADE
UP OF RAM INTEGRATED CIRCUITS CHIPS, BUT A PORTION OF THE MEMORY
MAY BE CONSTRUCTED WITH ROM CHIPS
 RAM– RANDOM ACCESS MEMORY
 INTEGRATED RAM ARE AVAILABLE IN TWO POSSIBLE
OPERATING MODES, STATIC AND DYNAMIC
 ROM– READ ONLY MEMORY
RAM
 A RAM CHIP IS BETTER SUITED FOR COMMUNICATION WITH THE CPU IF IT HAS
ONE OR MORE CONTROL INPUTS THAT SELECT THE CHIP WHEN NEEDED
READ/WRITE MEMORY, THAT INITIALLY DOESN’T CONTAIN ANY DATA
 THE COMPUTING SYSTEM THAT IT IS USED IN USUALLY STORES DATA AT
VARIOUS LOCATIONS TO RETRIEVE IT LATTER FROM THESE LOCATIONS
 ITS DATA PINS ARE BIDIRECTIONAL (DATA CAN FLOW INTO OR OUT OF THE CHIP
VIA THESE PINS), AS OPPOSITE TO THOSE OF ROM THAT ARE OUTPUT ONLY
IT LOSES ITS DATA ONCE THE POWER IS REMOVED, SO IT IS A VOLATILE MEMORY
 IT HAS A DIRECTIONAL SELECT SIGNAL R/W’; WHEN R/W’=1, THE CHIP OUTPUTS
DATA TO THE REST OF THE CIRCUIT; WHEN R/W’ = 0 IT INPUTS DATA FROM THE
REST OF THE CIRCUIT
RANDOM-ACCESS MEMORY TYPES
STATIC RAM (SRAM)
EACH CELL STORES BIT WITH A SIX-TRANSISTOR (DIODE) CIRCUIT.
RETAINS VALUE INDEFINITELY, AS LONG AS IT IS KEPT POWERED.
RELATIVELY INSENSITIVE TO DISTURBANCES SUCH AS ELECTRICAL NOISE.
FASTER AND MORE EXPENSIVE THAN DRAM.
DYNAMIC RAM (DRAM)
EACH CELL STORES BIT WITH A CAPACITOR AND TRANSISTOR.
VALUE MUST BE REFRESHED EVERY 10-100 MS.
SENSITIVE TO DISTURBANCES.
SLOWER AND CHEAPER THAN SRAM.
ROM
ROM
ROM IS USED FOR STORING PROGRAMS THAT ARE PERMENTLY RESIDENT IN THE
COMPUTER AND FOR TABLES OF CONSTANTS THAT DO NOT CHANGE IN VALUE ONCE
THE PRODUCTION OF THE COMPUTER IS COMPLETED.
THE ROM PORTION OF MAIN MEMORY IS NEEDED FOR STORING AN INITIAL PROGRAM
CALLED BOOTSTRAP LOADER, WITCH IS TO START THE COMPUTER SOFTWARE
OPERATING WHEN POWER IS TURNED OFF
ROM TYPES
 MASKED ROM –
 PROGRAMMED WITH ITS DATA WHEN THE CHIP IS FABRICATED
 PROM –
 PROGRAMMABLE ROM, BY THE USER USING A STANDARD PROM PROGRAMMER, BY
BURNING SOME SPECIAL TYPE OF FUSES. ONCE PROGRAMMED WILL NOT BE POSSIBLE TO
PROGRAM IT AGAIN
EPROM –
 ERASABLE ROM; THE CHIP CAN BE ERASED AND CHIP REPROGRAMMED;
PROGRAMMING PROCESS CONSISTS IN CHARGING SOME INTERNAL CAPACITORS; THE UV
LIGHT (METHOD OF ERASE) MAKES THOSE CAPACITORS TO LEAK THEIR CHARGE, THUS
RESETTING THE CHIP
EEPROM –
 ELECTRICALLY ERASABLE PROM; IT IS POSSIBLE TO MODIFY INDIVIDUAL LOCATIONS
AUXILIARY MEMORY
THE MAIN MEMORY CONSTRUCTION IS COSTLY. THEREFORE, IT HAS TO BE LIMITED
IN SIZE. THE MAIN MEMORY IS USED TO STORE ONLY THOSE INSTRUCTIONS AND
DATA WHICH ARE TO BE USED IMMEDIATELY. HOWEVER, A COMPUTER HAS TO STORE
A LARGE AMOUNT OF INFORMATION. THE BULK OF INFORMATION IS STORED IN THE
AUXILIARY MEMORY. THIS IS ALSO CALLED BACKING STORAGE OR SECONDARY
STORAGE. THEY INCLUDE HARD DISK, FLOPPY DISKS, CD-ROM, USB FLASH DRIVES,
ETC.
WHEN THE ELECTRICITY SUPPLY TO THE COMPUTER IS OFF, ALL DATA STORED IN
THE PRIMARY STORAGE IS DESTROYED. ON THE OTHER HAND, THIS IS NOT TRUE FOR
SECONDARY STORAGE. THE DATA STORED IN SECONDARY STORAGE CAN BE STORED
FOR THE DESIRED TIME
CACHE MEMORY
IF THE ACTIVE PORTIONS OF THE PROGRAM AND DATA ARE PLACED IN
A FAST SMALL MEMORY, THE AVERAGE MEMORY ACCESS TIME CAN BE
REDUCED,
THUS REDUCING THE TOTAL EXECUTION TIME OF THE PROGRAM
SUCH A FAST SMALL MEMORY IS REFERRED TO AS CACHE MEMORY
THE CACHE IS THE FASTEST COMPONENT IN THE MEMORY HIERARCHY
AND APPROACHES THE SPEED OF CPU COMPONENT
L1 ,L2 AND L3 CACHE
L1 CACHE (2KB - 64KB)-
 L1 CACHE (ALSO KNOWN AS PRIMARY CACHE OR LEVEL 1 CACHE) IS THE TOP
MOST CACHE IN THE HIERARCHY OF CACHE LEVELS OF A CPU. IT IS THE FASTEST
CACHE IN THE HIERARCHY. IT HAS A SMALLER SIZE AND A SMALLER DELAY (ZERO
WAIT- STATE) BECAUSE IT IS USUALLY BUILT IN TO THE CHIP. SRAM (STATIC
RANDOM ACCESS MEMORY) IS USED FOR THE IMPLEMENTATION OF L1.
 L2 CACHE (256KB - 512KB) •
 L2 CACHE (ALSO KNOWN AS SECONDARY CACHE OR LEVEL 2 CACHE) IS THE CACHE
THAT IS NEXT TO L1 IN THE CACHE HIERARCHY. L2 IS USUALLY ACCESSED ONLY IF
THE DATA LOOKING FOR IS NOT FOUND IN L1. L2 IS TYPICALLY IMPLEMENTED
USING A DRAM (DYNAMIC RANDOM ACCESS MEMORY). MOST TIMES, L2 IS
SOLDERED ON TO THE MOTHERBOARD VERY CLOSE TO THE CHIP (BUT NOT ON THE
CHIP ITSELF), BUT SOME PROCESSORS LIKE PENTIUM PRO DEVIATED FROM THIS
STANDARD
L3 CACHE (1MB -8MB)
 LEVEL 3 CACHE –
 WITH EACH CACHE MISS, IT PROCEEDS TO THE NEXT LEVEL CACHE. THIS IS
THE LARGEST AMONG THE ALL THE CACHE, EVEN THOUGH IT IS SLOWER, ITS STILL
FASTER THAN THE RAM.
VIRTUAL MEMORY
 VIRTUAL MEMORY IS IMAGINARY MEMORY
 IT GIVES YOU THE ILLUSION OF A MEMORY ARRANGEMENT THAT’S NOT
PHYSICALLY THERE.
THANK YOU !

More Related Content

What's hot

Memory system
Memory systemMemory system
Memory system
gourav kottawar
 
Computer Memory Types - Primary Memory - Secondary Memory
Computer Memory Types - Primary Memory - Secondary MemoryComputer Memory Types - Primary Memory - Secondary Memory
Computer Memory Types - Primary Memory - Secondary Memory
Soba Arjun
 
Memory hierarchy
Memory hierarchyMemory hierarchy
Memory hierarchy
Mahesh Kumar Attri
 
Computer Memory
 Computer Memory Computer Memory
Computer Memory
sumeshkumarsheoran
 
ROM(Read Only Memory )
ROM(Read Only Memory )ROM(Read Only Memory )
ROM(Read Only Memory )
rohitladdu
 
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
Joy Sarker
 
Digital design chap 5
Digital design   chap 5Digital design   chap 5
Digital design chap 5
Mohammad Bappy
 
EPROM, PROM & ROM
EPROM, PROM & ROMEPROM, PROM & ROM
EPROM, PROM & ROM
Abhilash Nair
 
Semiconductor memory
Semiconductor memorySemiconductor memory
Semiconductor memory
Then Murugeshwari
 
Computer memory
Computer memoryComputer memory
Computer memory
Jayapal Jp
 
Memory system of a compture
Memory system of a comptureMemory system of a compture
Memory system of a compture
Kawsar Hamid Sumon
 
Memory organisation ppt final presentation
Memory organisation ppt final presentationMemory organisation ppt final presentation
Memory organisation ppt final presentation
rockymani
 
Internal memory
Internal memoryInternal memory
Internal memory
Siddique Ibrahim
 
Ram and-rom-chips
Ram and-rom-chipsRam and-rom-chips
Ram and-rom-chips
Anuj Modi
 
Memory Hierarchy
Memory HierarchyMemory Hierarchy
Memory Hierarchy
Trinity Dwarka
 
Computer Memory
Computer MemoryComputer Memory
Computer Memory
Umair Iftikhar Natt
 
Cache memory presentation
Cache memory presentationCache memory presentation
Cache memory presentation
bravehearted1010
 
Basic information about Computer memory
Basic information about Computer memoryBasic information about Computer memory
Basic information about Computer memory
Ramesh Pant
 
Memory Hierarchy
Memory HierarchyMemory Hierarchy
Memory Hierarchy
chauhankapil
 

What's hot (20)

Memory system
Memory systemMemory system
Memory system
 
Computer Memory Types - Primary Memory - Secondary Memory
Computer Memory Types - Primary Memory - Secondary MemoryComputer Memory Types - Primary Memory - Secondary Memory
Computer Memory Types - Primary Memory - Secondary Memory
 
Memory hierarchy
Memory hierarchyMemory hierarchy
Memory hierarchy
 
Computer Memory
 Computer Memory Computer Memory
Computer Memory
 
ROM(Read Only Memory )
ROM(Read Only Memory )ROM(Read Only Memory )
ROM(Read Only Memory )
 
COMPUTER MEMORY : TYPES & FUNCTIONS
COMPUTER MEMORY : TYPES & FUNCTIONSCOMPUTER MEMORY : TYPES & FUNCTIONS
COMPUTER MEMORY : TYPES & FUNCTIONS
 
Computer memory
Computer memoryComputer memory
Computer memory
 
Digital design chap 5
Digital design   chap 5Digital design   chap 5
Digital design chap 5
 
EPROM, PROM & ROM
EPROM, PROM & ROMEPROM, PROM & ROM
EPROM, PROM & ROM
 
Semiconductor memory
Semiconductor memorySemiconductor memory
Semiconductor memory
 
Computer memory
Computer memoryComputer memory
Computer memory
 
Memory system of a compture
Memory system of a comptureMemory system of a compture
Memory system of a compture
 
Memory organisation ppt final presentation
Memory organisation ppt final presentationMemory organisation ppt final presentation
Memory organisation ppt final presentation
 
Internal memory
Internal memoryInternal memory
Internal memory
 
Ram and-rom-chips
Ram and-rom-chipsRam and-rom-chips
Ram and-rom-chips
 
Memory Hierarchy
Memory HierarchyMemory Hierarchy
Memory Hierarchy
 
Computer Memory
Computer MemoryComputer Memory
Computer Memory
 
Cache memory presentation
Cache memory presentationCache memory presentation
Cache memory presentation
 
Basic information about Computer memory
Basic information about Computer memoryBasic information about Computer memory
Basic information about Computer memory
 
Memory Hierarchy
Memory HierarchyMemory Hierarchy
Memory Hierarchy
 

Similar to Memory hierarchy of digital computer system

Internal memory
Internal memoryInternal memory
Internal memory
Riya Choudhary
 
2. the memory systems (module2)
2. the memory systems (module2)2. the memory systems (module2)
2. the memory systems (module2)
Ajit Saraf
 
Basic computer hardware terminology
Basic computer hardware terminologyBasic computer hardware terminology
Basic computer hardware terminology
Imtiyaz Husaini
 
Storage Devices
Storage DevicesStorage Devices
Storage Devices
Ashish KC
 
Ram and types of ram.Cache
Ram and types of ram.CacheRam and types of ram.Cache
Ram and types of ram.Cache
hamza mukhtiar
 
Memorydevices 110602031611-phpapp02
Memorydevices 110602031611-phpapp02Memorydevices 110602031611-phpapp02
Memorydevices 110602031611-phpapp02
Mechanical Design Engineering
 
COMPUTER MEMORY
COMPUTER MEMORYCOMPUTER MEMORY
COMPUTER MEMORY
Rajat More
 
MICROPROCESSOR,BASICS AND MEMORY CONCEPT
MICROPROCESSOR,BASICS AND MEMORY CONCEPTMICROPROCESSOR,BASICS AND MEMORY CONCEPT
MICROPROCESSOR,BASICS AND MEMORY CONCEPT
Lakshya Sharma
 
COMPUTER MEMORY BBA
COMPUTER MEMORY BBA COMPUTER MEMORY BBA
COMPUTER MEMORY BBA
MANAV KUMAR
 
301378156 design-of-sram-in-verilog
301378156 design-of-sram-in-verilog301378156 design-of-sram-in-verilog
301378156 design-of-sram-in-verilog
Srinivas Naidu
 
coa ppt.pptx
coa ppt.pptxcoa ppt.pptx
coa ppt.pptx
AESHAMEHTA13
 
TYPES OF MEMORIES AND STORAGE DEVICE AND COMPUTER
TYPES OF MEMORIES AND STORAGE DEVICE AND COMPUTER TYPES OF MEMORIES AND STORAGE DEVICE AND COMPUTER
TYPES OF MEMORIES AND STORAGE DEVICE AND COMPUTER
Rajat More
 
06. System unit of computer
06. System unit of computer06. System unit of computer
06. System unit of computer
TimesRide
 
Chapter5 the memory-system-jntuworld
Chapter5 the memory-system-jntuworldChapter5 the memory-system-jntuworld
Chapter5 the memory-system-jntuworld
Praveen Kumar
 
Memory & its types presentation1
Memory & its types presentation1Memory & its types presentation1
Memory & its types presentation1
JAI BAMORIYA
 
Memory types
Memory typesMemory types
Memory types
Vijay Kumar
 
Memory
MemoryMemory
What is Computer Memory.ppt
What is Computer Memory.pptWhat is Computer Memory.ppt
What is Computer Memory.ppt
Muhammad Naeem
 
Computer Memory Finder
Computer Memory FinderComputer Memory Finder
Computer Memory Finder
steve predle
 
memories.pptx
memories.pptxmemories.pptx
memories.pptx
Amulyagt1
 

Similar to Memory hierarchy of digital computer system (20)

Internal memory
Internal memoryInternal memory
Internal memory
 
2. the memory systems (module2)
2. the memory systems (module2)2. the memory systems (module2)
2. the memory systems (module2)
 
Basic computer hardware terminology
Basic computer hardware terminologyBasic computer hardware terminology
Basic computer hardware terminology
 
Storage Devices
Storage DevicesStorage Devices
Storage Devices
 
Ram and types of ram.Cache
Ram and types of ram.CacheRam and types of ram.Cache
Ram and types of ram.Cache
 
Memorydevices 110602031611-phpapp02
Memorydevices 110602031611-phpapp02Memorydevices 110602031611-phpapp02
Memorydevices 110602031611-phpapp02
 
COMPUTER MEMORY
COMPUTER MEMORYCOMPUTER MEMORY
COMPUTER MEMORY
 
MICROPROCESSOR,BASICS AND MEMORY CONCEPT
MICROPROCESSOR,BASICS AND MEMORY CONCEPTMICROPROCESSOR,BASICS AND MEMORY CONCEPT
MICROPROCESSOR,BASICS AND MEMORY CONCEPT
 
COMPUTER MEMORY BBA
COMPUTER MEMORY BBA COMPUTER MEMORY BBA
COMPUTER MEMORY BBA
 
301378156 design-of-sram-in-verilog
301378156 design-of-sram-in-verilog301378156 design-of-sram-in-verilog
301378156 design-of-sram-in-verilog
 
coa ppt.pptx
coa ppt.pptxcoa ppt.pptx
coa ppt.pptx
 
TYPES OF MEMORIES AND STORAGE DEVICE AND COMPUTER
TYPES OF MEMORIES AND STORAGE DEVICE AND COMPUTER TYPES OF MEMORIES AND STORAGE DEVICE AND COMPUTER
TYPES OF MEMORIES AND STORAGE DEVICE AND COMPUTER
 
06. System unit of computer
06. System unit of computer06. System unit of computer
06. System unit of computer
 
Chapter5 the memory-system-jntuworld
Chapter5 the memory-system-jntuworldChapter5 the memory-system-jntuworld
Chapter5 the memory-system-jntuworld
 
Memory & its types presentation1
Memory & its types presentation1Memory & its types presentation1
Memory & its types presentation1
 
Memory types
Memory typesMemory types
Memory types
 
Memory
MemoryMemory
Memory
 
What is Computer Memory.ppt
What is Computer Memory.pptWhat is Computer Memory.ppt
What is Computer Memory.ppt
 
Computer Memory Finder
Computer Memory FinderComputer Memory Finder
Computer Memory Finder
 
memories.pptx
memories.pptxmemories.pptx
memories.pptx
 

Recently uploaded

Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
Nicholas Montgomery
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
Diana Rendina
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
iammrhaywood
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
Dr. Mulla Adam Ali
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
TechSoup
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
GeorgeMilliken2
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Fajar Baskoro
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
Celine George
 
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptxBeyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
EduSkills OECD
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
Nguyen Thanh Tu Collection
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
Jyoti Chand
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
RAHUL
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
Academy of Science of South Africa
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
Celine George
 

Recently uploaded (20)

Film vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movieFilm vocab for eal 3 students: Australia the movie
Film vocab for eal 3 students: Australia the movie
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
Reimagining Your Library Space: How to Increase the Vibes in Your Library No ...
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
 
Hindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdfHindi varnamala | hindi alphabet PPT.pdf
Hindi varnamala | hindi alphabet PPT.pdf
 
Walmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdfWalmart Business+ and Spark Good for Nonprofits.pdf
Walmart Business+ and Spark Good for Nonprofits.pdf
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
 
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptxBeyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
 
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptxChapter 4 - Islamic Financial Institutions in Malaysia.pptx
Chapter 4 - Islamic Financial Institutions in Malaysia.pptx
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
 
Wound healing PPT
Wound healing PPTWound healing PPT
Wound healing PPT
 
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UPLAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
LAND USE LAND COVER AND NDVI OF MIRZAPUR DISTRICT, UP
 
South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)South African Journal of Science: Writing with integrity workshop (2024)
South African Journal of Science: Writing with integrity workshop (2024)
 
How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17How to Fix the Import Error in the Odoo 17
How to Fix the Import Error in the Odoo 17
 

Memory hierarchy of digital computer system

  • 1. MEMORY HIERARCHY OF DIGITAL COMPUTER SYSTEM COLLEGE OF INNOVATIVE MANAGEMENT & SCIENCE LUCKY VERMA BCA (SEMESTER 1ST)
  • 2. MEMORY HIERARCHY THE MEMORY UNIT IS AN ESSENTIAL COMPONENT IN ANY DIGITAL COMPUTER SINCE IT IS NEEDED FOR STORING PROGRAMS AND DATA  NOT ALL ACCUMULATED INFORMATION IS NEEDED BY THE CPU AT THE SAME TIME THEREFORE, IT IS MORE ECONOMICAL TO USE LOW-COST STORAGE DEVICES TO SERVE AS A BACKUP FOR STORING THE INFORMATION THAT IS NOT CURRENTLY USED BY CPU
  • 3. MAIN MEMORY  MOST OF THE MAIN MEMORY IN A GENERAL PURPOSE COMPUTER IS MADE UP OF RAM INTEGRATED CIRCUITS CHIPS, BUT A PORTION OF THE MEMORY MAY BE CONSTRUCTED WITH ROM CHIPS  RAM– RANDOM ACCESS MEMORY  INTEGRATED RAM ARE AVAILABLE IN TWO POSSIBLE OPERATING MODES, STATIC AND DYNAMIC  ROM– READ ONLY MEMORY
  • 4. RAM  A RAM CHIP IS BETTER SUITED FOR COMMUNICATION WITH THE CPU IF IT HAS ONE OR MORE CONTROL INPUTS THAT SELECT THE CHIP WHEN NEEDED READ/WRITE MEMORY, THAT INITIALLY DOESN’T CONTAIN ANY DATA  THE COMPUTING SYSTEM THAT IT IS USED IN USUALLY STORES DATA AT VARIOUS LOCATIONS TO RETRIEVE IT LATTER FROM THESE LOCATIONS  ITS DATA PINS ARE BIDIRECTIONAL (DATA CAN FLOW INTO OR OUT OF THE CHIP VIA THESE PINS), AS OPPOSITE TO THOSE OF ROM THAT ARE OUTPUT ONLY IT LOSES ITS DATA ONCE THE POWER IS REMOVED, SO IT IS A VOLATILE MEMORY  IT HAS A DIRECTIONAL SELECT SIGNAL R/W’; WHEN R/W’=1, THE CHIP OUTPUTS DATA TO THE REST OF THE CIRCUIT; WHEN R/W’ = 0 IT INPUTS DATA FROM THE REST OF THE CIRCUIT
  • 5. RANDOM-ACCESS MEMORY TYPES STATIC RAM (SRAM) EACH CELL STORES BIT WITH A SIX-TRANSISTOR (DIODE) CIRCUIT. RETAINS VALUE INDEFINITELY, AS LONG AS IT IS KEPT POWERED. RELATIVELY INSENSITIVE TO DISTURBANCES SUCH AS ELECTRICAL NOISE. FASTER AND MORE EXPENSIVE THAN DRAM. DYNAMIC RAM (DRAM) EACH CELL STORES BIT WITH A CAPACITOR AND TRANSISTOR. VALUE MUST BE REFRESHED EVERY 10-100 MS. SENSITIVE TO DISTURBANCES. SLOWER AND CHEAPER THAN SRAM.
  • 6. ROM ROM ROM IS USED FOR STORING PROGRAMS THAT ARE PERMENTLY RESIDENT IN THE COMPUTER AND FOR TABLES OF CONSTANTS THAT DO NOT CHANGE IN VALUE ONCE THE PRODUCTION OF THE COMPUTER IS COMPLETED. THE ROM PORTION OF MAIN MEMORY IS NEEDED FOR STORING AN INITIAL PROGRAM CALLED BOOTSTRAP LOADER, WITCH IS TO START THE COMPUTER SOFTWARE OPERATING WHEN POWER IS TURNED OFF
  • 7. ROM TYPES  MASKED ROM –  PROGRAMMED WITH ITS DATA WHEN THE CHIP IS FABRICATED  PROM –  PROGRAMMABLE ROM, BY THE USER USING A STANDARD PROM PROGRAMMER, BY BURNING SOME SPECIAL TYPE OF FUSES. ONCE PROGRAMMED WILL NOT BE POSSIBLE TO PROGRAM IT AGAIN EPROM –  ERASABLE ROM; THE CHIP CAN BE ERASED AND CHIP REPROGRAMMED; PROGRAMMING PROCESS CONSISTS IN CHARGING SOME INTERNAL CAPACITORS; THE UV LIGHT (METHOD OF ERASE) MAKES THOSE CAPACITORS TO LEAK THEIR CHARGE, THUS RESETTING THE CHIP EEPROM –  ELECTRICALLY ERASABLE PROM; IT IS POSSIBLE TO MODIFY INDIVIDUAL LOCATIONS
  • 8. AUXILIARY MEMORY THE MAIN MEMORY CONSTRUCTION IS COSTLY. THEREFORE, IT HAS TO BE LIMITED IN SIZE. THE MAIN MEMORY IS USED TO STORE ONLY THOSE INSTRUCTIONS AND DATA WHICH ARE TO BE USED IMMEDIATELY. HOWEVER, A COMPUTER HAS TO STORE A LARGE AMOUNT OF INFORMATION. THE BULK OF INFORMATION IS STORED IN THE AUXILIARY MEMORY. THIS IS ALSO CALLED BACKING STORAGE OR SECONDARY STORAGE. THEY INCLUDE HARD DISK, FLOPPY DISKS, CD-ROM, USB FLASH DRIVES, ETC. WHEN THE ELECTRICITY SUPPLY TO THE COMPUTER IS OFF, ALL DATA STORED IN THE PRIMARY STORAGE IS DESTROYED. ON THE OTHER HAND, THIS IS NOT TRUE FOR SECONDARY STORAGE. THE DATA STORED IN SECONDARY STORAGE CAN BE STORED FOR THE DESIRED TIME
  • 9. CACHE MEMORY IF THE ACTIVE PORTIONS OF THE PROGRAM AND DATA ARE PLACED IN A FAST SMALL MEMORY, THE AVERAGE MEMORY ACCESS TIME CAN BE REDUCED, THUS REDUCING THE TOTAL EXECUTION TIME OF THE PROGRAM SUCH A FAST SMALL MEMORY IS REFERRED TO AS CACHE MEMORY THE CACHE IS THE FASTEST COMPONENT IN THE MEMORY HIERARCHY AND APPROACHES THE SPEED OF CPU COMPONENT
  • 10. L1 ,L2 AND L3 CACHE L1 CACHE (2KB - 64KB)-  L1 CACHE (ALSO KNOWN AS PRIMARY CACHE OR LEVEL 1 CACHE) IS THE TOP MOST CACHE IN THE HIERARCHY OF CACHE LEVELS OF A CPU. IT IS THE FASTEST CACHE IN THE HIERARCHY. IT HAS A SMALLER SIZE AND A SMALLER DELAY (ZERO WAIT- STATE) BECAUSE IT IS USUALLY BUILT IN TO THE CHIP. SRAM (STATIC RANDOM ACCESS MEMORY) IS USED FOR THE IMPLEMENTATION OF L1.  L2 CACHE (256KB - 512KB) •  L2 CACHE (ALSO KNOWN AS SECONDARY CACHE OR LEVEL 2 CACHE) IS THE CACHE THAT IS NEXT TO L1 IN THE CACHE HIERARCHY. L2 IS USUALLY ACCESSED ONLY IF THE DATA LOOKING FOR IS NOT FOUND IN L1. L2 IS TYPICALLY IMPLEMENTED USING A DRAM (DYNAMIC RANDOM ACCESS MEMORY). MOST TIMES, L2 IS SOLDERED ON TO THE MOTHERBOARD VERY CLOSE TO THE CHIP (BUT NOT ON THE CHIP ITSELF), BUT SOME PROCESSORS LIKE PENTIUM PRO DEVIATED FROM THIS STANDARD
  • 11. L3 CACHE (1MB -8MB)  LEVEL 3 CACHE –  WITH EACH CACHE MISS, IT PROCEEDS TO THE NEXT LEVEL CACHE. THIS IS THE LARGEST AMONG THE ALL THE CACHE, EVEN THOUGH IT IS SLOWER, ITS STILL FASTER THAN THE RAM. VIRTUAL MEMORY  VIRTUAL MEMORY IS IMAGINARY MEMORY  IT GIVES YOU THE ILLUSION OF A MEMORY ARRANGEMENT THAT’S NOT PHYSICALLY THERE.