尊敬的 微信汇率:1円 ≈ 0.046166 元 支付宝汇率:1円 ≈ 0.046257元 [退出登录]
SlideShare a Scribd company logo
Presented To-
Nur Imtiazul Haque
Lecturer,Dept. Of CSE
Daffodil International University
Presentation OnCache Memory
1
Group members
1.Humayra Khanum
ID : 161-15-7325
2.Rezwana Islam Ria
ID :161-15-7071
2
What is Cache Memory?
Cache memory isasmall, high-speedRAMbufferlocated
between the CPUandmain memory.
Cache memory holds a copy of the instructions (instruction
cache) or data (operand or data cache) currently being used
bythe CPU.
The main purpose of a cache is to accelerate your computer
whilekeepingthe price ofthe computer low.
3
Placement of Cache in computer
4
Instruction Cache
• Theinstruction cacheis usedto store
instructions.
• Helps to reduce the cost of going to memory to
fetchinstructions.
• Holds several other things, likebranch
prediction information.
• Example:- Theinstruction cacheon Ultra SPARC
pre-decodes the incominginstruction
5
Data Cache
• Data cacheis afast buffer that containsthe
application data.
• Before the processor can operate on the data, it
must be loaded from memory into the data
cache.
• Then loaded from the cache line into a register
and instruction using this value canoperateon it.
• The resultant value is stored in a register. Then
register to cacheand cacheto mainmemory.
6
TLB Cache
• TLB–Translated LookasideBuffer.
• Also called ascontent-addressable
memory(CAM).
• It is acacheto store translatedaddresses.
• TheCPUcanonly operate on data and
instructions that are mapped into theTLB.
7
Hit Ratio
The ratio ofthe total number ofhits dividedbythe total
CPUaccessesto memory (i.e. hits plusmisses) iscalledHit
Ratio.
 Hit Ratio = Total Number of Hits / (Total
Number of Hits + Total Number of
Miss)
8
Name:
Rezwana
Islam Ria
ID:161-
15-7071
ASSOCIATIVE
MAPPINGAn associative mapping uses an associative memory.
The memory is being accessed using its contents.
Every line of cache memory will accommodate the
address and contents of the address.
This memory is also called Content addressable
memory.
1
0
Associative Mapping
1
1
Set Associative
MappingThat is the easy control of direct mapping cache
The more flexible mapping of the fully associative
cache.
Each location can have more than one pair of tag+data
items
It is more than one pair of tag and date .so if one cache
location is holding two pair of tag+data item ,that is
called 2way set associative mapping.
1
2
Two-Way Set
Associative Mapping
1
3
Replacement
Algorithms of Cache
Memory
It is used when there are no available space in a cache place in
data.
Four common cache replacement algorithms are
1.Least Recently Used (LRU)
-Replacement item Used by CPU
2.First-In-First-out (FIFO)
-Replacement item Used by cache from longest time
3.Least frequency Used (LFU)
-Replacement item used by CPU
4.Random
1
4
81
5

More Related Content

What's hot

Cache memory
Cache  memoryCache  memory
Cache memory
Prasenjit Dey
 
Magnetic Disk
Magnetic Disk Magnetic Disk
Magnetic Disk
kalpita surve
 
Cache memory principles
Cache memory principlesCache memory principles
Cache memory principles
bit allahabad
 
Memory management in linux
Memory management in linuxMemory management in linux
Memory management in linux
Dr. C.V. Suresh Babu
 
Cache memory ppt
Cache memory ppt  Cache memory ppt
Cache memory ppt
Arpita Naik
 
Memory system
Memory systemMemory system
Memory system
gourav kottawar
 
Memory Organization
Memory OrganizationMemory Organization
Memory Organization
Kamal Acharya
 
Memory organization in computer architecture
Memory organization in computer architectureMemory organization in computer architecture
Memory organization in computer architecture
Faisal Hussain
 
Cache Memory
Cache MemoryCache Memory
Cache Memory
sathish sak
 
Linux Kernel MMC Storage driver Overview
Linux Kernel MMC Storage driver OverviewLinux Kernel MMC Storage driver Overview
Linux Kernel MMC Storage driver Overview
RajKumar Rampelli
 
8086-instruction-set-ppt
 8086-instruction-set-ppt 8086-instruction-set-ppt
8086-instruction-set-ppt
jemimajerome
 
SRAM DRAM
SRAM DRAMSRAM DRAM
SRAM DRAM
Tipu Sultan
 
Mapping
MappingMapping
Memory organization
Memory organizationMemory organization
Memory organization
Dhaval Bagal
 
Ram and-rom-chips
Ram and-rom-chipsRam and-rom-chips
Ram and-rom-chips
Anuj Modi
 
Computer organization memory
Computer organization memoryComputer organization memory
Computer organization memory
Deepak John
 
Cache memory
Cache memoryCache memory
Cache memory
Muhammad Imran
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
askme
 
RAM (Random Access Memory)
RAM (Random Access Memory)RAM (Random Access Memory)
RAM (Random Access Memory)
divyanshbatham
 
Linux SD/MMC device driver
Linux SD/MMC device driverLinux SD/MMC device driver
Linux SD/MMC device driver
艾鍗科技
 

What's hot (20)

Cache memory
Cache  memoryCache  memory
Cache memory
 
Magnetic Disk
Magnetic Disk Magnetic Disk
Magnetic Disk
 
Cache memory principles
Cache memory principlesCache memory principles
Cache memory principles
 
Memory management in linux
Memory management in linuxMemory management in linux
Memory management in linux
 
Cache memory ppt
Cache memory ppt  Cache memory ppt
Cache memory ppt
 
Memory system
Memory systemMemory system
Memory system
 
Memory Organization
Memory OrganizationMemory Organization
Memory Organization
 
Memory organization in computer architecture
Memory organization in computer architectureMemory organization in computer architecture
Memory organization in computer architecture
 
Cache Memory
Cache MemoryCache Memory
Cache Memory
 
Linux Kernel MMC Storage driver Overview
Linux Kernel MMC Storage driver OverviewLinux Kernel MMC Storage driver Overview
Linux Kernel MMC Storage driver Overview
 
8086-instruction-set-ppt
 8086-instruction-set-ppt 8086-instruction-set-ppt
8086-instruction-set-ppt
 
SRAM DRAM
SRAM DRAMSRAM DRAM
SRAM DRAM
 
Mapping
MappingMapping
Mapping
 
Memory organization
Memory organizationMemory organization
Memory organization
 
Ram and-rom-chips
Ram and-rom-chipsRam and-rom-chips
Ram and-rom-chips
 
Computer organization memory
Computer organization memoryComputer organization memory
Computer organization memory
 
Cache memory
Cache memoryCache memory
Cache memory
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
 
RAM (Random Access Memory)
RAM (Random Access Memory)RAM (Random Access Memory)
RAM (Random Access Memory)
 
Linux SD/MMC device driver
Linux SD/MMC device driverLinux SD/MMC device driver
Linux SD/MMC device driver
 

Similar to Cache Memory Computer Architecture and organization

Unit 5-lecture-2
Unit 5-lecture-2Unit 5-lecture-2
Unit 5-lecture-2
vishal choudhary
 
Cache simulator
Cache simulatorCache simulator
Cache simulator
Suraj Saini
 
Opetating System Memory management
Opetating System Memory managementOpetating System Memory management
Opetating System Memory management
Johan Granados Montero
 
Operating Systems - memory management
Operating Systems - memory managementOperating Systems - memory management
Operating Systems - memory management
Mukesh Chinta
 
Cache Memory
Cache MemoryCache Memory
Cache Memory
Subid Biswas
 
cachememory-210517060741 (1).pdf
cachememory-210517060741 (1).pdfcachememory-210517060741 (1).pdf
cachememory-210517060741 (1).pdf
OmGadekar2
 
Cache memory ...
Cache memory ...Cache memory ...
Cache memory ...
Pratik Farkya
 
Cache Memory.pptx
Cache Memory.pptxCache Memory.pptx
Cache Memory.pptx
ssusere16bd9
 
Cache memory and cache
Cache memory and cacheCache memory and cache
Cache memory and cache
VISHAL DONGA
 
Cache memory
Cache memoryCache memory
Cache memory
Eklavya Gupta
 
Cache memoy designed by Mohd Tariq
Cache memoy designed by Mohd TariqCache memoy designed by Mohd Tariq
Cache memoy designed by Mohd Tariq
Mohd Tariq
 
Linux Internals - Interview essentials 3.0
Linux Internals - Interview essentials 3.0Linux Internals - Interview essentials 3.0
Linux Internals - Interview essentials 3.0
Emertxe Information Technologies Pvt Ltd
 
Memory Management
Memory ManagementMemory Management
Memory Management
Shipra Swati
 
Virtual Memory vs Cache Memory
Virtual Memory vs Cache MemoryVirtual Memory vs Cache Memory
Virtual Memory vs Cache Memory
Ashik Iqbal
 
Cache Memory.pptx
Cache Memory.pptxCache Memory.pptx
Cache Memory.pptx
AshokRachapalli1
 
Operating System
Operating SystemOperating System
Operating System
Subhasis Dash
 
Operating system
Operating systemOperating system
Operating system
Hussain Ahmady
 
Advanced computer architechture -Memory Hierarchies and its Properties and Type
Advanced computer architechture -Memory Hierarchies and its Properties and TypeAdvanced computer architechture -Memory Hierarchies and its Properties and Type
Advanced computer architechture -Memory Hierarchies and its Properties and Type
LalfakawmaKh
 
CS6401 OPERATING SYSTEMS Unit 3
CS6401 OPERATING SYSTEMS Unit 3CS6401 OPERATING SYSTEMS Unit 3
CS6401 OPERATING SYSTEMS Unit 3
Kathirvel Ayyaswamy
 
Cache Memory- JMD.pptx
Cache Memory- JMD.pptxCache Memory- JMD.pptx
Cache Memory- JMD.pptx
JulianaMeiDuldulao
 

Similar to Cache Memory Computer Architecture and organization (20)

Unit 5-lecture-2
Unit 5-lecture-2Unit 5-lecture-2
Unit 5-lecture-2
 
Cache simulator
Cache simulatorCache simulator
Cache simulator
 
Opetating System Memory management
Opetating System Memory managementOpetating System Memory management
Opetating System Memory management
 
Operating Systems - memory management
Operating Systems - memory managementOperating Systems - memory management
Operating Systems - memory management
 
Cache Memory
Cache MemoryCache Memory
Cache Memory
 
cachememory-210517060741 (1).pdf
cachememory-210517060741 (1).pdfcachememory-210517060741 (1).pdf
cachememory-210517060741 (1).pdf
 
Cache memory ...
Cache memory ...Cache memory ...
Cache memory ...
 
Cache Memory.pptx
Cache Memory.pptxCache Memory.pptx
Cache Memory.pptx
 
Cache memory and cache
Cache memory and cacheCache memory and cache
Cache memory and cache
 
Cache memory
Cache memoryCache memory
Cache memory
 
Cache memoy designed by Mohd Tariq
Cache memoy designed by Mohd TariqCache memoy designed by Mohd Tariq
Cache memoy designed by Mohd Tariq
 
Linux Internals - Interview essentials 3.0
Linux Internals - Interview essentials 3.0Linux Internals - Interview essentials 3.0
Linux Internals - Interview essentials 3.0
 
Memory Management
Memory ManagementMemory Management
Memory Management
 
Virtual Memory vs Cache Memory
Virtual Memory vs Cache MemoryVirtual Memory vs Cache Memory
Virtual Memory vs Cache Memory
 
Cache Memory.pptx
Cache Memory.pptxCache Memory.pptx
Cache Memory.pptx
 
Operating System
Operating SystemOperating System
Operating System
 
Operating system
Operating systemOperating system
Operating system
 
Advanced computer architechture -Memory Hierarchies and its Properties and Type
Advanced computer architechture -Memory Hierarchies and its Properties and TypeAdvanced computer architechture -Memory Hierarchies and its Properties and Type
Advanced computer architechture -Memory Hierarchies and its Properties and Type
 
CS6401 OPERATING SYSTEMS Unit 3
CS6401 OPERATING SYSTEMS Unit 3CS6401 OPERATING SYSTEMS Unit 3
CS6401 OPERATING SYSTEMS Unit 3
 
Cache Memory- JMD.pptx
Cache Memory- JMD.pptxCache Memory- JMD.pptx
Cache Memory- JMD.pptx
 

More from Humayra Khanum

System analysis and design - presentation
System analysis and design - presentation System analysis and design - presentation
System analysis and design - presentation
Humayra Khanum
 
About me / Myself
About me / MyselfAbout me / Myself
About me / Myself
Humayra Khanum
 
Embedded systems -Smart Cap
Embedded systems -Smart CapEmbedded systems -Smart Cap
Embedded systems -Smart Cap
Humayra Khanum
 
Deadloack-Operating System
Deadloack-Operating SystemDeadloack-Operating System
Deadloack-Operating System
Humayra Khanum
 
Final project presentation CSE
Final project presentation CSEFinal project presentation CSE
Final project presentation CSE
Humayra Khanum
 
IPv4 VS IPv6
IPv4 VS IPv6IPv4 VS IPv6
IPv4 VS IPv6
Humayra Khanum
 
Golden Ratio
Golden Ratio Golden Ratio
Golden Ratio
Humayra Khanum
 
Golden Ratio
Golden RatioGolden Ratio
Golden Ratio
Humayra Khanum
 

More from Humayra Khanum (8)

System analysis and design - presentation
System analysis and design - presentation System analysis and design - presentation
System analysis and design - presentation
 
About me / Myself
About me / MyselfAbout me / Myself
About me / Myself
 
Embedded systems -Smart Cap
Embedded systems -Smart CapEmbedded systems -Smart Cap
Embedded systems -Smart Cap
 
Deadloack-Operating System
Deadloack-Operating SystemDeadloack-Operating System
Deadloack-Operating System
 
Final project presentation CSE
Final project presentation CSEFinal project presentation CSE
Final project presentation CSE
 
IPv4 VS IPv6
IPv4 VS IPv6IPv4 VS IPv6
IPv4 VS IPv6
 
Golden Ratio
Golden Ratio Golden Ratio
Golden Ratio
 
Golden Ratio
Golden RatioGolden Ratio
Golden Ratio
 

Recently uploaded

SPICE PARK JUL2024 ( 6,866 SPICE Models )
SPICE PARK JUL2024 ( 6,866 SPICE Models )SPICE PARK JUL2024 ( 6,866 SPICE Models )
SPICE PARK JUL2024 ( 6,866 SPICE Models )
Tsuyoshi Horigome
 
Hot Call Girls In Bangalore ✔ 9079923931 ✔ Hi I Am Divya Vip Call Girl Servic...
Hot Call Girls In Bangalore ✔ 9079923931 ✔ Hi I Am Divya Vip Call Girl Servic...Hot Call Girls In Bangalore ✔ 9079923931 ✔ Hi I Am Divya Vip Call Girl Servic...
Hot Call Girls In Bangalore ✔ 9079923931 ✔ Hi I Am Divya Vip Call Girl Servic...
Banerescorts
 
The Differences between Schedule 40 PVC Conduit Pipe and Schedule 80 PVC Conduit
The Differences between Schedule 40 PVC Conduit Pipe and Schedule 80 PVC ConduitThe Differences between Schedule 40 PVC Conduit Pipe and Schedule 80 PVC Conduit
The Differences between Schedule 40 PVC Conduit Pipe and Schedule 80 PVC Conduit
Guangdong Ctube Industry Co., Ltd.
 
Call Girls Madurai 8824825030 Escort In Madurai service 24X7
Call Girls Madurai 8824825030 Escort In Madurai service 24X7Call Girls Madurai 8824825030 Escort In Madurai service 24X7
Call Girls Madurai 8824825030 Escort In Madurai service 24X7
Poonam Singh
 
Basic principle and types Static Relays ppt
Basic principle and  types  Static Relays pptBasic principle and  types  Static Relays ppt
Basic principle and types Static Relays ppt
Sri Ramakrishna Institute of Technology
 
AN INTRODUCTION OF AI & SEARCHING TECHIQUES
AN INTRODUCTION OF AI & SEARCHING TECHIQUESAN INTRODUCTION OF AI & SEARCHING TECHIQUES
AN INTRODUCTION OF AI & SEARCHING TECHIQUES
drshikhapandey2022
 
Update 40 models( Solar Cell ) in SPICE PARK(JUL2024)
Update 40 models( Solar Cell ) in SPICE PARK(JUL2024)Update 40 models( Solar Cell ) in SPICE PARK(JUL2024)
Update 40 models( Solar Cell ) in SPICE PARK(JUL2024)
Tsuyoshi Horigome
 
Call Girls In Tiruppur 👯‍♀️ 7339748667 🔥 Free Home Delivery Within 30 Minutes
Call Girls In Tiruppur 👯‍♀️ 7339748667 🔥 Free Home Delivery Within 30 MinutesCall Girls In Tiruppur 👯‍♀️ 7339748667 🔥 Free Home Delivery Within 30 Minutes
Call Girls In Tiruppur 👯‍♀️ 7339748667 🔥 Free Home Delivery Within 30 Minutes
kamka4105
 
🔥 Hyderabad Call Girls  👉 9352988975 👫 High Profile Call Girls Whatsapp Numbe...
🔥 Hyderabad Call Girls  👉 9352988975 👫 High Profile Call Girls Whatsapp Numbe...🔥 Hyderabad Call Girls  👉 9352988975 👫 High Profile Call Girls Whatsapp Numbe...
🔥 Hyderabad Call Girls  👉 9352988975 👫 High Profile Call Girls Whatsapp Numbe...
aarusi sexy model
 
My Airframe Metallic Design Capability Studies..pdf
My Airframe Metallic Design Capability Studies..pdfMy Airframe Metallic Design Capability Studies..pdf
My Airframe Metallic Design Capability Studies..pdf
Geoffrey Wardle. MSc. MSc. Snr.MAIAA
 
SELENIUM CONF -PALLAVI SHARMA - 2024.pdf
SELENIUM CONF -PALLAVI SHARMA - 2024.pdfSELENIUM CONF -PALLAVI SHARMA - 2024.pdf
SELENIUM CONF -PALLAVI SHARMA - 2024.pdf
Pallavi Sharma
 
FUNDAMENTALS OF MECHANICAL ENGINEERING.pdf
FUNDAMENTALS OF MECHANICAL ENGINEERING.pdfFUNDAMENTALS OF MECHANICAL ENGINEERING.pdf
FUNDAMENTALS OF MECHANICAL ENGINEERING.pdf
EMERSON EDUARDO RODRIGUES
 
Mahipalpur Call Girls Delhi 🔥 9711199012 ❄- Pick Your Dream Call Girls with 1...
Mahipalpur Call Girls Delhi 🔥 9711199012 ❄- Pick Your Dream Call Girls with 1...Mahipalpur Call Girls Delhi 🔥 9711199012 ❄- Pick Your Dream Call Girls with 1...
Mahipalpur Call Girls Delhi 🔥 9711199012 ❄- Pick Your Dream Call Girls with 1...
simrangupta87541
 
Call Girls Chandigarh 🔥 7014168258 🔥 Real Fun With Sexual Girl Available 24/7...
Call Girls Chandigarh 🔥 7014168258 🔥 Real Fun With Sexual Girl Available 24/7...Call Girls Chandigarh 🔥 7014168258 🔥 Real Fun With Sexual Girl Available 24/7...
Call Girls Chandigarh 🔥 7014168258 🔥 Real Fun With Sexual Girl Available 24/7...
shourabjaat424
 
Intuit CRAFT demonstration presentation for sde
Intuit CRAFT demonstration presentation for sdeIntuit CRAFT demonstration presentation for sde
Intuit CRAFT demonstration presentation for sde
ShivangMishra54
 
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
AK47
 
Call Girls Chennai +91-8824825030 Vip Call Girls Chennai
Call Girls Chennai +91-8824825030 Vip Call Girls ChennaiCall Girls Chennai +91-8824825030 Vip Call Girls Chennai
Call Girls Chennai +91-8824825030 Vip Call Girls Chennai
paraasingh12 #V08
 
❣Independent Call Girls Chennai 💯Call Us 🔝 7737669865 🔝💃Independent Chennai E...
❣Independent Call Girls Chennai 💯Call Us 🔝 7737669865 🔝💃Independent Chennai E...❣Independent Call Girls Chennai 💯Call Us 🔝 7737669865 🔝💃Independent Chennai E...
❣Independent Call Girls Chennai 💯Call Us 🔝 7737669865 🔝💃Independent Chennai E...
nainakaoornoida
 
INTRODUCTION TO ARTIFICIAL INTELLIGENCE BASIC
INTRODUCTION TO ARTIFICIAL INTELLIGENCE BASICINTRODUCTION TO ARTIFICIAL INTELLIGENCE BASIC
INTRODUCTION TO ARTIFICIAL INTELLIGENCE BASIC
GOKULKANNANMMECLECTC
 
Butterfly Valves Manufacturer (LBF Series).pdf
Butterfly Valves Manufacturer (LBF Series).pdfButterfly Valves Manufacturer (LBF Series).pdf
Butterfly Valves Manufacturer (LBF Series).pdf
Lubi Valves
 

Recently uploaded (20)

SPICE PARK JUL2024 ( 6,866 SPICE Models )
SPICE PARK JUL2024 ( 6,866 SPICE Models )SPICE PARK JUL2024 ( 6,866 SPICE Models )
SPICE PARK JUL2024 ( 6,866 SPICE Models )
 
Hot Call Girls In Bangalore ✔ 9079923931 ✔ Hi I Am Divya Vip Call Girl Servic...
Hot Call Girls In Bangalore ✔ 9079923931 ✔ Hi I Am Divya Vip Call Girl Servic...Hot Call Girls In Bangalore ✔ 9079923931 ✔ Hi I Am Divya Vip Call Girl Servic...
Hot Call Girls In Bangalore ✔ 9079923931 ✔ Hi I Am Divya Vip Call Girl Servic...
 
The Differences between Schedule 40 PVC Conduit Pipe and Schedule 80 PVC Conduit
The Differences between Schedule 40 PVC Conduit Pipe and Schedule 80 PVC ConduitThe Differences between Schedule 40 PVC Conduit Pipe and Schedule 80 PVC Conduit
The Differences between Schedule 40 PVC Conduit Pipe and Schedule 80 PVC Conduit
 
Call Girls Madurai 8824825030 Escort In Madurai service 24X7
Call Girls Madurai 8824825030 Escort In Madurai service 24X7Call Girls Madurai 8824825030 Escort In Madurai service 24X7
Call Girls Madurai 8824825030 Escort In Madurai service 24X7
 
Basic principle and types Static Relays ppt
Basic principle and  types  Static Relays pptBasic principle and  types  Static Relays ppt
Basic principle and types Static Relays ppt
 
AN INTRODUCTION OF AI & SEARCHING TECHIQUES
AN INTRODUCTION OF AI & SEARCHING TECHIQUESAN INTRODUCTION OF AI & SEARCHING TECHIQUES
AN INTRODUCTION OF AI & SEARCHING TECHIQUES
 
Update 40 models( Solar Cell ) in SPICE PARK(JUL2024)
Update 40 models( Solar Cell ) in SPICE PARK(JUL2024)Update 40 models( Solar Cell ) in SPICE PARK(JUL2024)
Update 40 models( Solar Cell ) in SPICE PARK(JUL2024)
 
Call Girls In Tiruppur 👯‍♀️ 7339748667 🔥 Free Home Delivery Within 30 Minutes
Call Girls In Tiruppur 👯‍♀️ 7339748667 🔥 Free Home Delivery Within 30 MinutesCall Girls In Tiruppur 👯‍♀️ 7339748667 🔥 Free Home Delivery Within 30 Minutes
Call Girls In Tiruppur 👯‍♀️ 7339748667 🔥 Free Home Delivery Within 30 Minutes
 
🔥 Hyderabad Call Girls  👉 9352988975 👫 High Profile Call Girls Whatsapp Numbe...
🔥 Hyderabad Call Girls  👉 9352988975 👫 High Profile Call Girls Whatsapp Numbe...🔥 Hyderabad Call Girls  👉 9352988975 👫 High Profile Call Girls Whatsapp Numbe...
🔥 Hyderabad Call Girls  👉 9352988975 👫 High Profile Call Girls Whatsapp Numbe...
 
My Airframe Metallic Design Capability Studies..pdf
My Airframe Metallic Design Capability Studies..pdfMy Airframe Metallic Design Capability Studies..pdf
My Airframe Metallic Design Capability Studies..pdf
 
SELENIUM CONF -PALLAVI SHARMA - 2024.pdf
SELENIUM CONF -PALLAVI SHARMA - 2024.pdfSELENIUM CONF -PALLAVI SHARMA - 2024.pdf
SELENIUM CONF -PALLAVI SHARMA - 2024.pdf
 
FUNDAMENTALS OF MECHANICAL ENGINEERING.pdf
FUNDAMENTALS OF MECHANICAL ENGINEERING.pdfFUNDAMENTALS OF MECHANICAL ENGINEERING.pdf
FUNDAMENTALS OF MECHANICAL ENGINEERING.pdf
 
Mahipalpur Call Girls Delhi 🔥 9711199012 ❄- Pick Your Dream Call Girls with 1...
Mahipalpur Call Girls Delhi 🔥 9711199012 ❄- Pick Your Dream Call Girls with 1...Mahipalpur Call Girls Delhi 🔥 9711199012 ❄- Pick Your Dream Call Girls with 1...
Mahipalpur Call Girls Delhi 🔥 9711199012 ❄- Pick Your Dream Call Girls with 1...
 
Call Girls Chandigarh 🔥 7014168258 🔥 Real Fun With Sexual Girl Available 24/7...
Call Girls Chandigarh 🔥 7014168258 🔥 Real Fun With Sexual Girl Available 24/7...Call Girls Chandigarh 🔥 7014168258 🔥 Real Fun With Sexual Girl Available 24/7...
Call Girls Chandigarh 🔥 7014168258 🔥 Real Fun With Sexual Girl Available 24/7...
 
Intuit CRAFT demonstration presentation for sde
Intuit CRAFT demonstration presentation for sdeIntuit CRAFT demonstration presentation for sde
Intuit CRAFT demonstration presentation for sde
 
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
🔥Independent Call Girls In Pune 💯Call Us 🔝 7014168258 🔝💃Independent Pune Esco...
 
Call Girls Chennai +91-8824825030 Vip Call Girls Chennai
Call Girls Chennai +91-8824825030 Vip Call Girls ChennaiCall Girls Chennai +91-8824825030 Vip Call Girls Chennai
Call Girls Chennai +91-8824825030 Vip Call Girls Chennai
 
❣Independent Call Girls Chennai 💯Call Us 🔝 7737669865 🔝💃Independent Chennai E...
❣Independent Call Girls Chennai 💯Call Us 🔝 7737669865 🔝💃Independent Chennai E...❣Independent Call Girls Chennai 💯Call Us 🔝 7737669865 🔝💃Independent Chennai E...
❣Independent Call Girls Chennai 💯Call Us 🔝 7737669865 🔝💃Independent Chennai E...
 
INTRODUCTION TO ARTIFICIAL INTELLIGENCE BASIC
INTRODUCTION TO ARTIFICIAL INTELLIGENCE BASICINTRODUCTION TO ARTIFICIAL INTELLIGENCE BASIC
INTRODUCTION TO ARTIFICIAL INTELLIGENCE BASIC
 
Butterfly Valves Manufacturer (LBF Series).pdf
Butterfly Valves Manufacturer (LBF Series).pdfButterfly Valves Manufacturer (LBF Series).pdf
Butterfly Valves Manufacturer (LBF Series).pdf
 

Cache Memory Computer Architecture and organization

  • 1. Presented To- Nur Imtiazul Haque Lecturer,Dept. Of CSE Daffodil International University Presentation OnCache Memory 1
  • 2. Group members 1.Humayra Khanum ID : 161-15-7325 2.Rezwana Islam Ria ID :161-15-7071 2
  • 3. What is Cache Memory? Cache memory isasmall, high-speedRAMbufferlocated between the CPUandmain memory. Cache memory holds a copy of the instructions (instruction cache) or data (operand or data cache) currently being used bythe CPU. The main purpose of a cache is to accelerate your computer whilekeepingthe price ofthe computer low. 3
  • 4. Placement of Cache in computer 4
  • 5. Instruction Cache • Theinstruction cacheis usedto store instructions. • Helps to reduce the cost of going to memory to fetchinstructions. • Holds several other things, likebranch prediction information. • Example:- Theinstruction cacheon Ultra SPARC pre-decodes the incominginstruction 5
  • 6. Data Cache • Data cacheis afast buffer that containsthe application data. • Before the processor can operate on the data, it must be loaded from memory into the data cache. • Then loaded from the cache line into a register and instruction using this value canoperateon it. • The resultant value is stored in a register. Then register to cacheand cacheto mainmemory. 6
  • 7. TLB Cache • TLB–Translated LookasideBuffer. • Also called ascontent-addressable memory(CAM). • It is acacheto store translatedaddresses. • TheCPUcanonly operate on data and instructions that are mapped into theTLB. 7
  • 8. Hit Ratio The ratio ofthe total number ofhits dividedbythe total CPUaccessesto memory (i.e. hits plusmisses) iscalledHit Ratio.  Hit Ratio = Total Number of Hits / (Total Number of Hits + Total Number of Miss) 8
  • 10. ASSOCIATIVE MAPPINGAn associative mapping uses an associative memory. The memory is being accessed using its contents. Every line of cache memory will accommodate the address and contents of the address. This memory is also called Content addressable memory. 1 0
  • 12. Set Associative MappingThat is the easy control of direct mapping cache The more flexible mapping of the fully associative cache. Each location can have more than one pair of tag+data items It is more than one pair of tag and date .so if one cache location is holding two pair of tag+data item ,that is called 2way set associative mapping. 1 2
  • 14. Replacement Algorithms of Cache Memory It is used when there are no available space in a cache place in data. Four common cache replacement algorithms are 1.Least Recently Used (LRU) -Replacement item Used by CPU 2.First-In-First-out (FIFO) -Replacement item Used by cache from longest time 3.Least frequency Used (LFU) -Replacement item used by CPU 4.Random 1 4
  • 15. 81 5
  翻译: