wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Design Considerations for Disk Cache Management

profile
Monil Parikh
Sep 09, 2024
0 Likes
0 Discussions
79 Reads
  1. Data Delivery: It explains two methods for delivering data from the disk cache to the requesting process: memory-to-memory transfer or using shared memory with pointers, the latter being more efficient and allowing shared access.
  2. Replacement Strategy: When a new sector is brought into the disk cache, an existing block must be replaced. Common strategies include Least Recently Used (LRU), where the least recently accessed block is replaced, and Least Frequently Used (LFU), which replaces the block with the fewest references. However, LFU can be less effective due to the influence of locality on reference counts.
  3. Frequency-Based Replacement: An advanced technique divides the cache into sections (new, middle, and old) to mitigate LFU's issues, allowing blocks time to build up reference counts before being eligible for replacement. This approach is shown to be more effective than simple LRU or LFU.
  4. Replacement Timing: Replacement can occur on-demand or be preplanned. Preplanned replacement may involve releasing multiple slots at once, especially when sectors that have been updated need to be written back to disk before replacement.








Comments ()


Sign in

Read Next

All you need to know about Website Traffic

Blog banner

Vulnerability Assessment

Blog banner

Threads

Blog banner

Beautiful and stunning natural phenomena worth to see

Blog banner

OS Assignment 1

Blog banner

What is thread and multithreading ?

Blog banner

BrainGate Technology

Blog banner

The 60-Minute Window: What to Do (And What NOT to Do) When You Knock Out a Tooth

Blog banner

Bots and Cyber Security

Blog banner

Not anti-social, but pro-solitude

Blog banner

Webmail

Blog banner

File System

Blog banner

URL vs Domain

Blog banner

Theads

Blog banner

Types of threads

Blog banner

Healthy Eating on a Budget: How to Get More Nutrition From Every Meal

Blog banner

Deadlocks in operating system

Blog banner

My Favorite Country

Blog banner

The Art Of Getting What You Want In Life....

Blog banner

MODERN OPERATING SYSTEM

Blog banner

COMFORT IS ALL ABOUT FASHION

Blog banner

Social Engineering Deceptions and Defenses

Blog banner

Save Environment

Blog banner

How HRMS, Task Management, and Team Chats Can Improve Workplace Productivity

Blog banner

Heart Fulness Meditation

Blog banner

Multiprocessor and Multicore Organization

Blog banner

IO Buffers

Blog banner

INTERNET

Blog banner

Financial Stress and Mental Health

Blog banner

Data-Driven Prediction of Virtual Item Prices in Online Games

Blog banner

Go Daddy

Blog banner

Data Warehouse Bus Matrix

Blog banner

Sweet Mango Murabba

Blog banner

KASHMIR TRIPS

Blog banner

Cyber Forensic in the Banking sector

Blog banner

Partnership in Learning: How Parent Involvement Shapes a Child’s Early Education

Blog banner

Memory management

Blog banner

Marvel Cinematic Universe

Blog banner

Use case of K-means clustering

Blog banner

How storytelling Is Becoming the Secret Weapon of Modern Brands?

Blog banner

Stories Woven in Silk: The Meaning Behind Patola Motifs

Blog banner

Hash password! Is it really secured?

Blog banner