SlideShare a Scribd company logo
1 of 12
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

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 MemorySoba Arjun
 
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 & FUNCTIONSAngel Mary George
 
Computer memory
Computer memoryComputer memory
Computer memoryJoy Sarker
 
Computer memory
Computer memoryComputer memory
Computer memoryJayapal Jp
 
Memory organisation ppt final presentation
Memory organisation ppt final presentationMemory organisation ppt final presentation
Memory organisation ppt final presentationrockymani
 
Ram and-rom-chips
Ram and-rom-chipsRam and-rom-chips
Ram and-rom-chipsAnuj Modi
 
Basic information about Computer memory
Basic information about Computer memoryBasic information about Computer memory
Basic information about Computer memoryRamesh Pant
 

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

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 terminologyImtiyaz Husaini
 
Storage Devices
Storage DevicesStorage Devices
Storage DevicesAshish KC
 
Ram and types of ram.Cache
Ram and types of ram.CacheRam and types of ram.Cache
Ram and types of ram.Cachehamza mukhtiar
 
COMPUTER MEMORY
COMPUTER MEMORYCOMPUTER MEMORY
COMPUTER MEMORYRajat More
 
MICROPROCESSOR,BASICS AND MEMORY CONCEPT
MICROPROCESSOR,BASICS AND MEMORY CONCEPTMICROPROCESSOR,BASICS AND MEMORY CONCEPT
MICROPROCESSOR,BASICS AND MEMORY CONCEPTLakshya 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-verilogSrinivas Naidu
 
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 computerTimesRide
 
Chapter5 the memory-system-jntuworld
Chapter5 the memory-system-jntuworldChapter5 the memory-system-jntuworld
Chapter5 the memory-system-jntuworldPraveen Kumar
 
Memory & its types presentation1
Memory & its types presentation1Memory & its types presentation1
Memory & its types presentation1JAI BAMORIYA
 
What is Computer Memory.ppt
What is Computer Memory.pptWhat is Computer Memory.ppt
What is Computer Memory.pptMuhammad Naeem
 
Computer Memory Finder
Computer Memory FinderComputer Memory Finder
Computer Memory Findersteve predle
 
memories.pptx
memories.pptxmemories.pptx
memories.pptxAmulyagt1
 

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

Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentInMediaRes1
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 

Recently uploaded (20)

Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Alper Gobel In Media Res Media Component
Alper Gobel In Media Res Media ComponentAlper Gobel In Media Res Media Component
Alper Gobel In Media Res Media Component
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 

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.