Submit Search
Upload
Cache Management
•
0 likes
•
2,042 views
S
SysPlay eLearning Academy for You
Follow
Hardware Cache Management & Linux (Buffer / Page) Cache Management
Read less
Read more
Technology
Report
Share
Report
Share
1 of 13
Recommended
BeagleBone Black Bootloaders
BeagleBone Black Bootloaders
SysPlay eLearning Academy for You
Architecture Porting
Architecture Porting
Anil Kumar Pugalia
Embedded Storage Management
Embedded Storage Management
Anil Kumar Pugalia
Embedded Software Design
Embedded Software Design
Anil Kumar Pugalia
Introduction to Embedded Systems
Introduction to Embedded Systems
Anil Kumar Pugalia
Linux Kernel Overview
Linux Kernel Overview
Anil Kumar Pugalia
Introduction to Linux
Introduction to Linux
Anil Kumar Pugalia
Toolchain
Toolchain
Anil Kumar Pugalia
Recommended
BeagleBone Black Bootloaders
BeagleBone Black Bootloaders
SysPlay eLearning Academy for You
Architecture Porting
Architecture Porting
Anil Kumar Pugalia
Embedded Storage Management
Embedded Storage Management
Anil Kumar Pugalia
Embedded Software Design
Embedded Software Design
Anil Kumar Pugalia
Introduction to Embedded Systems
Introduction to Embedded Systems
Anil Kumar Pugalia
Linux Kernel Overview
Linux Kernel Overview
Anil Kumar Pugalia
Introduction to Linux
Introduction to Linux
Anil Kumar Pugalia
Toolchain
Toolchain
Anil Kumar Pugalia
Kernel Debugging & Profiling
Kernel Debugging & Profiling
Anil Kumar Pugalia
Character Drivers
Character Drivers
Anil Kumar Pugalia
BeagleBone Black Booting Process
BeagleBone Black Booting Process
SysPlay eLearning Academy for You
Understanding the BBB
Understanding the BBB
SysPlay eLearning Academy for You
BeagleBoard-xM Bootloaders
BeagleBoard-xM Bootloaders
SysPlay eLearning Academy for You
BeagleBoard-xM Booting Process
BeagleBoard-xM Booting Process
SysPlay eLearning Academy for You
Bootloaders
Bootloaders
Anil Kumar Pugalia
Mobile Hacking using Linux Drivers
Mobile Hacking using Linux Drivers
Anil Kumar Pugalia
SPI Drivers
SPI Drivers
SysPlay eLearning Academy for You
File System Modules
File System Modules
Anil Kumar Pugalia
Real Time Systems
Real Time Systems
Anil Kumar Pugalia
BeagleBone Black Bootloaders
BeagleBone Black Bootloaders
SysPlay eLearning Academy for You
Kernel Debugging & Profiling
Kernel Debugging & Profiling
Anil Kumar Pugalia
File System Modules
File System Modules
Anil Kumar Pugalia
Linux Memory Management
Linux Memory Management
Anil Kumar Pugalia
Linux DMA Engine
Linux DMA Engine
SysPlay eLearning Academy for You
Synchronization
Synchronization
Anil Kumar Pugalia
Block Drivers
Block Drivers
Anil Kumar Pugalia
Linux Porting
Linux Porting
Anil Kumar Pugalia
PCI Drivers
PCI Drivers
Anil Kumar Pugalia
ch9.pptx
ch9.pptx
farzeenabaid01
ch9.pptx
ch9.pptx
Shakeel Ahmed, PhD
More Related Content
What's hot
Kernel Debugging & Profiling
Kernel Debugging & Profiling
Anil Kumar Pugalia
Character Drivers
Character Drivers
Anil Kumar Pugalia
BeagleBone Black Booting Process
BeagleBone Black Booting Process
SysPlay eLearning Academy for You
Understanding the BBB
Understanding the BBB
SysPlay eLearning Academy for You
BeagleBoard-xM Bootloaders
BeagleBoard-xM Bootloaders
SysPlay eLearning Academy for You
BeagleBoard-xM Booting Process
BeagleBoard-xM Booting Process
SysPlay eLearning Academy for You
Bootloaders
Bootloaders
Anil Kumar Pugalia
Mobile Hacking using Linux Drivers
Mobile Hacking using Linux Drivers
Anil Kumar Pugalia
SPI Drivers
SPI Drivers
SysPlay eLearning Academy for You
File System Modules
File System Modules
Anil Kumar Pugalia
Real Time Systems
Real Time Systems
Anil Kumar Pugalia
BeagleBone Black Bootloaders
BeagleBone Black Bootloaders
SysPlay eLearning Academy for You
Kernel Debugging & Profiling
Kernel Debugging & Profiling
Anil Kumar Pugalia
File System Modules
File System Modules
Anil Kumar Pugalia
Linux Memory Management
Linux Memory Management
Anil Kumar Pugalia
Linux DMA Engine
Linux DMA Engine
SysPlay eLearning Academy for You
Synchronization
Synchronization
Anil Kumar Pugalia
Block Drivers
Block Drivers
Anil Kumar Pugalia
Linux Porting
Linux Porting
Anil Kumar Pugalia
PCI Drivers
PCI Drivers
Anil Kumar Pugalia
What's hot
(20)
Kernel Debugging & Profiling
Kernel Debugging & Profiling
Character Drivers
Character Drivers
BeagleBone Black Booting Process
BeagleBone Black Booting Process
Understanding the BBB
Understanding the BBB
BeagleBoard-xM Bootloaders
BeagleBoard-xM Bootloaders
BeagleBoard-xM Booting Process
BeagleBoard-xM Booting Process
Bootloaders
Bootloaders
Mobile Hacking using Linux Drivers
Mobile Hacking using Linux Drivers
SPI Drivers
SPI Drivers
File System Modules
File System Modules
Real Time Systems
Real Time Systems
BeagleBone Black Bootloaders
BeagleBone Black Bootloaders
Kernel Debugging & Profiling
Kernel Debugging & Profiling
File System Modules
File System Modules
Linux Memory Management
Linux Memory Management
Linux DMA Engine
Linux DMA Engine
Synchronization
Synchronization
Block Drivers
Block Drivers
Linux Porting
Linux Porting
PCI Drivers
PCI Drivers
Similar to Cache Management
ch9.pptx
ch9.pptx
farzeenabaid01
ch9.pptx
ch9.pptx
Shakeel Ahmed, PhD
Chapter 9 Operating Systems silberschatz
Chapter 9 Operating Systems silberschatz
GiulianoRanauro
IRJET- A Futuristic Cache Replacement using Hybrid Regression
IRJET- A Futuristic Cache Replacement using Hybrid Regression
IRJET Journal
New Business Applications Powered by In-Memory Technology @MIT Forum for Supp...
New Business Applications Powered by In-Memory Technology @MIT Forum for Supp...
Paul Hofmann
RedisConf18 - Auto-Scaling Redis Caches - Observability, Efficiency & Perform...
RedisConf18 - Auto-Scaling Redis Caches - Observability, Efficiency & Perform...
Redis Labs
ch8-1 (final Memory).pptx
ch8-1 (final Memory).pptx
AnamRiaz31
Share point 2013’s distributed cache service 6.0 (1)
Share point 2013’s distributed cache service 6.0 (1)
Hexaware Technologies
Cache memory presentation
Cache memory presentation
bravehearted1010
S106195 cos-use cases-istanbul-v1902a
S106195 cos-use cases-istanbul-v1902a
Tony Pearson
S104875 nightmares-dreams-spectrum-control-jburg-v1809h
S104875 nightmares-dreams-spectrum-control-jburg-v1809h
Tony Pearson
AIX Performance Tuning Session at STU2017
AIX Performance Tuning Session at STU2017
Paulo Sergio Lemes Queiroz
Deep Dive on Amazon Neptune (DAT403) - AWS re:Invent 2018
Deep Dive on Amazon Neptune (DAT403) - AWS re:Invent 2018
Amazon Web Services
Cloud Computing 2023 - Lecture 07.pptx
Cloud Computing 2023 - Lecture 07.pptx
emanamin19
NVMe and Flash – Make Your Storage Great Again!
NVMe and Flash – Make Your Storage Great Again!
DataCore Software
Chapter 4
Chapter 4
Ali Broumandnia
Efektywna Witualizacja Citrix na macierzach dyskowych NetApp
Efektywna Witualizacja Citrix na macierzach dyskowych NetApp
Peter Ocasek
Help, my Kafka is broken! (Emma Humber, IBM) Kafka Summit SF 2019
Help, my Kafka is broken! (Emma Humber, IBM) Kafka Summit SF 2019
confluent
From the trenches: scaling a large log management deployment
From the trenches: scaling a large log management deployment
FaithWestdorp
Distributing Data The Aerospike Way
Distributing Data The Aerospike Way
Aerospike, Inc.
Similar to Cache Management
(20)
ch9.pptx
ch9.pptx
ch9.pptx
ch9.pptx
Chapter 9 Operating Systems silberschatz
Chapter 9 Operating Systems silberschatz
IRJET- A Futuristic Cache Replacement using Hybrid Regression
IRJET- A Futuristic Cache Replacement using Hybrid Regression
New Business Applications Powered by In-Memory Technology @MIT Forum for Supp...
New Business Applications Powered by In-Memory Technology @MIT Forum for Supp...
RedisConf18 - Auto-Scaling Redis Caches - Observability, Efficiency & Perform...
RedisConf18 - Auto-Scaling Redis Caches - Observability, Efficiency & Perform...
ch8-1 (final Memory).pptx
ch8-1 (final Memory).pptx
Share point 2013’s distributed cache service 6.0 (1)
Share point 2013’s distributed cache service 6.0 (1)
Cache memory presentation
Cache memory presentation
S106195 cos-use cases-istanbul-v1902a
S106195 cos-use cases-istanbul-v1902a
S104875 nightmares-dreams-spectrum-control-jburg-v1809h
S104875 nightmares-dreams-spectrum-control-jburg-v1809h
AIX Performance Tuning Session at STU2017
AIX Performance Tuning Session at STU2017
Deep Dive on Amazon Neptune (DAT403) - AWS re:Invent 2018
Deep Dive on Amazon Neptune (DAT403) - AWS re:Invent 2018
Cloud Computing 2023 - Lecture 07.pptx
Cloud Computing 2023 - Lecture 07.pptx
NVMe and Flash – Make Your Storage Great Again!
NVMe and Flash – Make Your Storage Great Again!
Chapter 4
Chapter 4
Efektywna Witualizacja Citrix na macierzach dyskowych NetApp
Efektywna Witualizacja Citrix na macierzach dyskowych NetApp
Help, my Kafka is broken! (Emma Humber, IBM) Kafka Summit SF 2019
Help, my Kafka is broken! (Emma Humber, IBM) Kafka Summit SF 2019
From the trenches: scaling a large log management deployment
From the trenches: scaling a large log management deployment
Distributing Data The Aerospike Way
Distributing Data The Aerospike Way
More from SysPlay eLearning Academy for You
Linux Internals Part - 3
Linux Internals Part - 3
SysPlay eLearning Academy for You
Linux Internals Part - 2
Linux Internals Part - 2
SysPlay eLearning Academy for You
Linux Internals Part - 1
Linux Internals Part - 1
SysPlay eLearning Academy for You
Kernel Timing Management
Kernel Timing Management
SysPlay eLearning Academy for You
POSIX Threads
POSIX Threads
SysPlay eLearning Academy for You
Introduction to BeagleBone Black
Introduction to BeagleBone Black
SysPlay eLearning Academy for You
Introduction to BeagleBoard-xM
Introduction to BeagleBoard-xM
SysPlay eLearning Academy for You
Platform Drivers
Platform Drivers
SysPlay eLearning Academy for You
Serial Drivers
Serial Drivers
SysPlay eLearning Academy for You
SPI Drivers
SPI Drivers
SysPlay eLearning Academy for You
I2C Drivers
I2C Drivers
SysPlay eLearning Academy for You
Linux System
Linux System
SysPlay eLearning Academy for You
More from SysPlay eLearning Academy for You
(12)
Linux Internals Part - 3
Linux Internals Part - 3
Linux Internals Part - 2
Linux Internals Part - 2
Linux Internals Part - 1
Linux Internals Part - 1
Kernel Timing Management
Kernel Timing Management
POSIX Threads
POSIX Threads
Introduction to BeagleBone Black
Introduction to BeagleBone Black
Introduction to BeagleBoard-xM
Introduction to BeagleBoard-xM
Platform Drivers
Platform Drivers
Serial Drivers
Serial Drivers
SPI Drivers
SPI Drivers
I2C Drivers
I2C Drivers
Linux System
Linux System
Recently uploaded
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
HampshireHUG
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
gurkirankumar98700
How to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
naman860154
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
Delhi Call girls
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
Pooja Nehwal
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
The Digital Insurer
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Miguel Araújo
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
Gabriella Davis
🐬 The future of MySQL is Postgres 🐘
🐬 The future of MySQL is Postgres 🐘
RTylerCroy
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Katpro Technologies
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
Principled Technologies
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
apidays
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
The Digital Insurer
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
Safe Software
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
Malak Abu Hammad
Slack Application Development 101 Slides
Slack Application Development 101 Slides
praypatel2
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
Rafal Los
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Neo4j
Recently uploaded
(20)
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
How to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
🐬 The future of MySQL is Postgres 🐘
🐬 The future of MySQL is Postgres 🐘
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
Slack Application Development 101 Slides
Slack Application Development 101 Slides
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Cache Management
1.
© 2019 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. Cache Management
2.
2© 2019 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. What to Expect? Cache Fundamentals How's of Cache Cache Organization Cache Pitfalls
3.
3© 2019 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. Cache Fundamentals Mismatch between the RAM & CPU speed Transfer rate Latency to access the RAM Static Vs Dynamic RAM Systems have Dynamic RAM, which is slower Static RAM is fast but expensive Small static RAM between CPU & Dynamic RAM This is known as Cache
4.
4© 2019 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. How's of Cache Located inside the CPU Copies most recently accessed data from the RAM memory to the static memory The goal is to make CPU access the memory cache instead of accessing directly the RAM memory We call it a ‘cache miss’ if the data is not present in the cache The circuit called cache controller loads the data into cache
5.
5© 2019 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. How's of Cache ... The CPU asks for the memory / data stored in address ‘A’ Since contents are not in cache, would be fetched from RAM The cache controller loads the line (typically 64 bytes) starting at address ‘A’ The circuit called prefetcher loads more data located after this line Branch prediction since program is not always sequential
6.
6© 2019 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. Cache Organization Direct Mapping Divide the memory as per the number of cache lines Simplest configuration, requires less meta data Higher chances of cache misses Fully Associative Any memory could be loaded into any cache line Most efficient cache organization Extremely complex control logic
7.
7© 2019 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. Cache Organization ... Hybrid solution called set associative Memory cache is divided in several blocks (sets) containing ‘n’ lines each With this, the memory from the single block can be put into one of the ‘n’ cache lines in the set
8.
8© 2019 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. Direct Mapping Line 1 Line 2 ... Line 8192 128KB 128KB 128
9.
9© 2019 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. Set Associative Cache Line 1– Line 4 Line 5 – Line 8 ... Line 2048 128KB 128KB 128
10.
10© 2019 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. Cache Pitfalls Stale data May severely degrade the system performance if the program is not cache local
11.
11© 2019 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. Linux Page Cache Basics Accelerates many accesses to files on non volatile storage During reads / writes to disk, Linux stores data in unused areas of memory, which acts as cache free -m
12.
12© 2019 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. What all have we learnt? Cache Fundamentals How's of Cache Cache Organization Cache Pitfalls
13.
13© 2019 SysPlay
Workshops <workshop@sysplay.in> All Rights Reserved. Any Queries?