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
73 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

?Why Social and Emotional Skills Matter More Than ABCs in Early Years?

Blog banner

What is HTML?

Blog banner

How to kiss

Blog banner

Social media

Blog banner

Data Science in Everyday Life (like a phone, shopping cart, or social media icons)

Blog banner

What is Password Cracking ? and it's Techniques.

Blog banner

Why Does Hierarchy Still matter in Organizations?

Blog banner

Segmentation and paging concept

Blog banner

Cybersecurity Standards for Automotive

Blog banner

Sagar Parikrama

Blog banner

Data Mining

Blog banner

How to feel Happy everyday day

Blog banner

DURGA POOJA

Blog banner

Why is online marketing is important in current scenario

Blog banner

Modern OS

Blog banner

History of Money

Blog banner

Theads

Blog banner

Balance

Blog banner

Cache memory

Blog banner

CONCURRENCY

Blog banner

Pipedrive

Blog banner

Data Mapping

Blog banner

Platonic Solids

Blog banner

File Organization and Access

Blog banner

Operating Systems

Blog banner

Uber

Blog banner

Types of Threads

Blog banner

Zomato (Income Sources)

Blog banner

File management In Operating System

Blog banner

KASHMIR TRIPS

Blog banner

Modern Operating system

Blog banner

Business Engineering

Blog banner

Understanding E-mail Servers

Blog banner

Functions of Operating System

Blog banner

10 Unknown facts about India's Independence

Blog banner

Data Analytics in Data Science

Blog banner

FIREWALL

Blog banner

Computer security techniques

Blog banner

Service Operations Principles

Blog banner

MUTUAL EXCLUSION

Blog banner

Business Intelligence v/s Big Data

Blog banner

The launch of UniMap by HERE

Blog banner