SlideShare a Scribd company logo
3
Most read
5
Most read
9
Most read
CACHE MEMORY
PRESENTED BY:
2014-UETR-CS-25
Cache memory
WHAT WE NEED?
ļ‚® What we would prefer in our Computer Memory:
ļ‚­ Fast
ļ‚­ Large
ļ‚­ Cheap
However,
Very Fast memory = Very expensive memory
Since we need large capacity ( today multi-
gigabyte memories) we need to build a system that
is the best compromise to keep the total $$
reasonable.
WHY WE NEED CACHE MEMORY?
Due to increasing the size of main memory day by
day the system’s speed make reduce .
So, Mr. Maurice Wilkes developed a memory
(which is communicating between processor and
main memory) in 1970’s.
A cache used by (CPU) of a computer to reduce
the average time to access data from the main
memory.
Cache memory
TYPES OF CACHE MEMORY
Most modern desktop and server CPUs have at
least three independent caches:
An instruction cache:
To speed up executable instruction fetch.
A data cache:
To speed up data fetch and store data.
A translation look side buffer (TLB):
To speed up virtual-to-physical address
translation for both executable instructions and
data.
ORGANIZATION OF CACHE
The data cache is usually organized as a hierarchy
of more cache levels (L1, L2, etc.; see also multi-
level caches below)
TRANSFORMATION OF CACHE
Data is transferred between memory and cache in
blocks of fixed size, called cache lines. When a
cache line is copied from memory into the cache, a
cache entry is created. The cache entry will include
the copied data as well as the requested memory
location (now called a tag).
Note:
Cache memory width is equal to the data bus
width.
Cache memory
Cache memory
Cache memory

More Related Content

PDF
Hard disk drive
Awais Alam
Ā 
PPT
Instruction Level Parallelism and Superscalar Processors
Syed Zaid Irshad
Ā 
PPT
File Management in Operating Systems
vampugani
Ā 
PPT
Network administration and Management
Bry Cunal
Ā 
PPTX
ROM (Read Only Memory)
JaneAlamAdnan
Ā 
PPT
Computer memory
nikunjandy
Ā 
PPTX
IO and file systems
EktaVaswani2
Ā 
PPTX
Buses in a computer
chrispaul8676
Ā 
Hard disk drive
Awais Alam
Ā 
Instruction Level Parallelism and Superscalar Processors
Syed Zaid Irshad
Ā 
File Management in Operating Systems
vampugani
Ā 
Network administration and Management
Bry Cunal
Ā 
ROM (Read Only Memory)
JaneAlamAdnan
Ā 
Computer memory
nikunjandy
Ā 
IO and file systems
EktaVaswani2
Ā 
Buses in a computer
chrispaul8676
Ā 

What's hot (20)

PPTX
RAID - (Redundant Array of Inexpensive Disks or Drives, or Redundant Array of...
Jason Augustine
Ā 
PPS
RAID
Mukesh Tekwani
Ā 
PPT
Internal memory
Siddique Ibrahim
Ā 
PPTX
Computer Organisation & Architecture (chapter 1)
Subhasis Dash
Ā 
PPTX
Presentation on computer ram
Salim Hosen
Ā 
PPTX
Register organization, stack
Asif Iqbal
Ā 
PPTX
Computer architecture memory system
Mazin Alwaaly
Ā 
PPTX
Cache memory ppt
Arpita Naik
Ā 
PPTX
Disk formatting
Dan Louie Bernardino
Ā 
PPTX
Hard Disk Drive
Rohan Awale
Ā 
PPTX
Input output in computer Orgranization and architecture
vikram patel
Ā 
PPTX
Superscalar Processor
Manash Kumar Mondal
Ā 
PPTX
Memory organization
Dhaval Bagal
Ā 
PPT
Memory management ppt coa
Bharti Khemani
Ā 
PPT
Set model and page fault.44
myrajendra
Ā 
PPTX
Computer organization
ishapadhy
Ā 
PPTX
Overview of physical storage media
Srinath Sri
Ā 
PPTX
Tensor Processing Unit (TPU)
Antonios Katsarakis
Ā 
PPTX
Cache memory
Jay Prajapati
Ā 
PPTX
Memory organization (Computer architecture)
Sandesh Jonchhe
Ā 
RAID - (Redundant Array of Inexpensive Disks or Drives, or Redundant Array of...
Jason Augustine
Ā 
Internal memory
Siddique Ibrahim
Ā 
Computer Organisation & Architecture (chapter 1)
Subhasis Dash
Ā 
Presentation on computer ram
Salim Hosen
Ā 
Register organization, stack
Asif Iqbal
Ā 
Computer architecture memory system
Mazin Alwaaly
Ā 
Cache memory ppt
Arpita Naik
Ā 
Disk formatting
Dan Louie Bernardino
Ā 
Hard Disk Drive
Rohan Awale
Ā 
Input output in computer Orgranization and architecture
vikram patel
Ā 
Superscalar Processor
Manash Kumar Mondal
Ā 
Memory organization
Dhaval Bagal
Ā 
Memory management ppt coa
Bharti Khemani
Ā 
Set model and page fault.44
myrajendra
Ā 
Computer organization
ishapadhy
Ā 
Overview of physical storage media
Srinath Sri
Ā 
Tensor Processing Unit (TPU)
Antonios Katsarakis
Ā 
Cache memory
Jay Prajapati
Ā 
Memory organization (Computer architecture)
Sandesh Jonchhe
Ā 
Ad

Viewers also liked (14)

PPTX
Varnish caching technique
Pankaj Chauhan
Ā 
PPT
Lec37
Nikhil Chilwant
Ā 
PPT
Dynamic programming 2
Roy Thomas
Ā 
PPTX
Inline functions & macros
Anand Kumar
Ā 
PPTX
Routing and routing algorithms
Bhatt Aadil
Ā 
PPT
Network Layer
Rutwik Jadhav
Ā 
PPTX
Routing algorithm
Bushra M
Ā 
PPTX
Inline function
Tech_MX
Ā 
PPT
Routing algorithm network layer
sambhenilesh
Ā 
PPT
Routing
Amit Pandey
Ā 
PPT
Network Layer
Ghaffar Khan
Ā 
PDF
Memory organization
Dr. Abhineet Anand
Ā 
PPT
Routing algorithm
farimoin
Ā 
PPT
Cache memory presentation
bravehearted1010
Ā 
Varnish caching technique
Pankaj Chauhan
Ā 
Dynamic programming 2
Roy Thomas
Ā 
Inline functions & macros
Anand Kumar
Ā 
Routing and routing algorithms
Bhatt Aadil
Ā 
Network Layer
Rutwik Jadhav
Ā 
Routing algorithm
Bushra M
Ā 
Inline function
Tech_MX
Ā 
Routing algorithm network layer
sambhenilesh
Ā 
Routing
Amit Pandey
Ā 
Network Layer
Ghaffar Khan
Ā 
Memory organization
Dr. Abhineet Anand
Ā 
Routing algorithm
farimoin
Ā 
Cache memory presentation
bravehearted1010
Ā 
Ad

Similar to Cache memory (20)

PPTX
Cache Memory- JMD.pptx
JulianaMeiDuldulao
Ā 
PPTX
High_Performance_ComputingforComputers.pptx
JPrince9
Ā 
PPTX
lecture_11.pptx
yewid98102
Ā 
PPSX
Coa presentation3
rickypatel151
Ā 
PPTX
System Unit
Reina Mae Salido
Ā 
PPT
Cache memory and cache
VISHAL DONGA
Ā 
PPTX
Mini-Training: To cache or not to cache
Betclic Everest Group Tech Team
Ā 
PPT
Massively Parallel Architectures
Jason Hearne-McGuiness
Ā 
PPTX
Basic computer architecture
prashantmishra420
Ā 
PPTX
UNIT II INTELLIGENT STORAGE SYSTEMS AND RAID.pptx
Dss
Ā 
PPTX
Intel 8th generation and 7th gen microprocessor full details especially for t...
Chessin Chacko
Ā 
PPTX
ICT-Lecture_4(CPU, Registers,BUSES).pptx
muhammadanus20
Ā 
PPTX
Study of various factors affecting performance of multi core processors
ateeq ateeq
Ā 
PPT
cache Computer architecture and Org.ppt
ssuser127433
Ā 
PDF
Linux Internals - Interview essentials 3.0
Emertxe Information Technologies Pvt Ltd
Ā 
PDF
How many total bits are required for a direct-mapped cache with 2048 .pdf
Eye2eyeopticians10
Ā 
PPTX
hierarchical memory technology.pptx
2105986
Ā 
PPTX
Cache Memory.pptx
ssusere16bd9
Ā 
PPTX
cache.pptx
ssuser22c406
Ā 
PDF
CH01.pdf
ImranKhan880955
Ā 
Cache Memory- JMD.pptx
JulianaMeiDuldulao
Ā 
High_Performance_ComputingforComputers.pptx
JPrince9
Ā 
lecture_11.pptx
yewid98102
Ā 
Coa presentation3
rickypatel151
Ā 
System Unit
Reina Mae Salido
Ā 
Cache memory and cache
VISHAL DONGA
Ā 
Mini-Training: To cache or not to cache
Betclic Everest Group Tech Team
Ā 
Massively Parallel Architectures
Jason Hearne-McGuiness
Ā 
Basic computer architecture
prashantmishra420
Ā 
UNIT II INTELLIGENT STORAGE SYSTEMS AND RAID.pptx
Dss
Ā 
Intel 8th generation and 7th gen microprocessor full details especially for t...
Chessin Chacko
Ā 
ICT-Lecture_4(CPU, Registers,BUSES).pptx
muhammadanus20
Ā 
Study of various factors affecting performance of multi core processors
ateeq ateeq
Ā 
cache Computer architecture and Org.ppt
ssuser127433
Ā 
Linux Internals - Interview essentials 3.0
Emertxe Information Technologies Pvt Ltd
Ā 
How many total bits are required for a direct-mapped cache with 2048 .pdf
Eye2eyeopticians10
Ā 
hierarchical memory technology.pptx
2105986
Ā 
Cache Memory.pptx
ssusere16bd9
Ā 
cache.pptx
ssuser22c406
Ā 
CH01.pdf
ImranKhan880955
Ā 

More from maamir farooq (20)

DOCX
Ooad lab1
maamir farooq
Ā 
PPT
Lesson 03
maamir farooq
Ā 
PPT
Lesson 02
maamir farooq
Ā 
PDF
Php client libray
maamir farooq
Ā 
PDF
Swiftmailer
maamir farooq
Ā 
PDF
Lect15
maamir farooq
Ā 
PDF
Lec 7
maamir farooq
Ā 
PPTX
Lec 6
maamir farooq
Ā 
PDF
Lec 5
maamir farooq
Ā 
PDF
J query 1.7 cheat sheet
maamir farooq
Ā 
PDF
Assignment
maamir farooq
Ā 
PDF
Java script summary
maamir farooq
Ā 
PDF
Lec 3
maamir farooq
Ā 
PDF
Lec 2
maamir farooq
Ā 
PPTX
Lec 1
maamir farooq
Ā 
PPTX
Css summary
maamir farooq
Ā 
DOCX
Manual of image processing lab
maamir farooq
Ā 
PDF
Session management
maamir farooq
Ā 
PDF
Data management
maamir farooq
Ā 
PPTX
Content provider
maamir farooq
Ā 
Ooad lab1
maamir farooq
Ā 
Lesson 03
maamir farooq
Ā 
Lesson 02
maamir farooq
Ā 
Php client libray
maamir farooq
Ā 
Swiftmailer
maamir farooq
Ā 
Lect15
maamir farooq
Ā 
Lec 7
maamir farooq
Ā 
Lec 6
maamir farooq
Ā 
Lec 5
maamir farooq
Ā 
J query 1.7 cheat sheet
maamir farooq
Ā 
Assignment
maamir farooq
Ā 
Java script summary
maamir farooq
Ā 
Lec 3
maamir farooq
Ā 
Lec 2
maamir farooq
Ā 
Lec 1
maamir farooq
Ā 
Css summary
maamir farooq
Ā 
Manual of image processing lab
maamir farooq
Ā 
Session management
maamir farooq
Ā 
Data management
maamir farooq
Ā 
Content provider
maamir farooq
Ā 

Recently uploaded (20)

PPTX
How to Apply for a Job From Odoo 18 Website
Celine George
Ā 
PDF
Module 2: Public Health History [Tutorial Slides]
JonathanHallett4
Ā 
PDF
Biological Classification Class 11th NCERT CBSE NEET.pdf
NehaRohtagi1
Ā 
PPTX
Virus sequence retrieval from NCBI database
yamunaK13
Ā 
DOCX
Modul Ajar Deep Learning Bahasa Inggris Kelas 11 Terbaru 2025
wahyurestu63
Ā 
PPTX
An introduction to Dialogue writing.pptx
drsiddhantnagine
Ā 
PPTX
PROTIEN ENERGY MALNUTRITION: NURSING MANAGEMENT.pptx
PRADEEP ABOTHU
Ā 
PPTX
Artificial Intelligence in Gastroentrology: Advancements and Future Presprec...
AyanHossain
Ā 
PPTX
Kanban Cards _ Mass Action in Odoo 18.2 - Odoo Slides
Celine George
Ā 
PPTX
Information Texts_Infographic on Forgetting Curve.pptx
Tata Sevilla
Ā 
PDF
Review of Related Literature & Studies.pdf
Thelma Villaflores
Ā 
DOCX
pgdei-UNIT -V Neurological Disorders & developmental disabilities
JELLA VISHNU DURGA PRASAD
Ā 
PPTX
BASICS IN COMPUTER APPLICATIONS - UNIT I
suganthim28
Ā 
PPTX
Artificial-Intelligence-in-Drug-Discovery by R D Jawarkar.pptx
Rahul Jawarkar
Ā 
PPTX
HEALTH CARE DELIVERY SYSTEM - UNIT 2 - GNM 3RD YEAR.pptx
Priyanshu Anand
Ā 
DOCX
Unit 5: Speech-language and swallowing disorders
JELLA VISHNU DURGA PRASAD
Ā 
PDF
BƀI Tįŗ¬P TEST Bį»” TRỢ THEO TỪNG CHỦ ĐỀ CỦA TỪNG UNIT KƈM BƀI Tįŗ¬P NGHE - TIįŗ¾NG A...
Nguyen Thanh Tu Collection
Ā 
PPTX
Dakar Framework Education For All- 2000(Act)
santoshmohalik1
Ā 
DOCX
SAROCES Action-Plan FOR ARAL PROGRAM IN DEPED
Levenmartlacuna1
Ā 
PPTX
CDH. pptx
AneetaSharma15
Ā 
How to Apply for a Job From Odoo 18 Website
Celine George
Ā 
Module 2: Public Health History [Tutorial Slides]
JonathanHallett4
Ā 
Biological Classification Class 11th NCERT CBSE NEET.pdf
NehaRohtagi1
Ā 
Virus sequence retrieval from NCBI database
yamunaK13
Ā 
Modul Ajar Deep Learning Bahasa Inggris Kelas 11 Terbaru 2025
wahyurestu63
Ā 
An introduction to Dialogue writing.pptx
drsiddhantnagine
Ā 
PROTIEN ENERGY MALNUTRITION: NURSING MANAGEMENT.pptx
PRADEEP ABOTHU
Ā 
Artificial Intelligence in Gastroentrology: Advancements and Future Presprec...
AyanHossain
Ā 
Kanban Cards _ Mass Action in Odoo 18.2 - Odoo Slides
Celine George
Ā 
Information Texts_Infographic on Forgetting Curve.pptx
Tata Sevilla
Ā 
Review of Related Literature & Studies.pdf
Thelma Villaflores
Ā 
pgdei-UNIT -V Neurological Disorders & developmental disabilities
JELLA VISHNU DURGA PRASAD
Ā 
BASICS IN COMPUTER APPLICATIONS - UNIT I
suganthim28
Ā 
Artificial-Intelligence-in-Drug-Discovery by R D Jawarkar.pptx
Rahul Jawarkar
Ā 
HEALTH CARE DELIVERY SYSTEM - UNIT 2 - GNM 3RD YEAR.pptx
Priyanshu Anand
Ā 
Unit 5: Speech-language and swallowing disorders
JELLA VISHNU DURGA PRASAD
Ā 
BƀI Tįŗ¬P TEST Bį»” TRỢ THEO TỪNG CHỦ ĐỀ CỦA TỪNG UNIT KƈM BƀI Tįŗ¬P NGHE - TIįŗ¾NG A...
Nguyen Thanh Tu Collection
Ā 
Dakar Framework Education For All- 2000(Act)
santoshmohalik1
Ā 
SAROCES Action-Plan FOR ARAL PROGRAM IN DEPED
Levenmartlacuna1
Ā 
CDH. pptx
AneetaSharma15
Ā 

Cache memory

  • 3. WHAT WE NEED? ļ‚® What we would prefer in our Computer Memory: ļ‚­ Fast ļ‚­ Large ļ‚­ Cheap However, Very Fast memory = Very expensive memory Since we need large capacity ( today multi- gigabyte memories) we need to build a system that is the best compromise to keep the total $$ reasonable.
  • 4. WHY WE NEED CACHE MEMORY? Due to increasing the size of main memory day by day the system’s speed make reduce . So, Mr. Maurice Wilkes developed a memory (which is communicating between processor and main memory) in 1970’s. A cache used by (CPU) of a computer to reduce the average time to access data from the main memory.
  • 6. TYPES OF CACHE MEMORY Most modern desktop and server CPUs have at least three independent caches: An instruction cache: To speed up executable instruction fetch. A data cache: To speed up data fetch and store data. A translation look side buffer (TLB): To speed up virtual-to-physical address translation for both executable instructions and data.
  • 7. ORGANIZATION OF CACHE The data cache is usually organized as a hierarchy of more cache levels (L1, L2, etc.; see also multi- level caches below)
  • 8. TRANSFORMATION OF CACHE Data is transferred between memory and cache in blocks of fixed size, called cache lines. When a cache line is copied from memory into the cache, a cache entry is created. The cache entry will include the copied data as well as the requested memory location (now called a tag). Note: Cache memory width is equal to the data bus width.