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

Types Of Interrupt

Blog banner

What is Amazon?

Blog banner

Virtual Memory

Blog banner

Types of OS

Blog banner

Memory management and virtual memory

Blog banner

Veg Mix Pickle

Blog banner

Virtual memory

Blog banner

Virtual machine and virtualizing

Blog banner

APACHE KAFKA

Blog banner

Esri India launches Policy Maps.

Blog banner

Understanding Univariate, Bivariate, and Multivariate Analysis in Data Science

Blog banner

Travel Geek ‘The last $50k in Switzerland’

Blog banner

How can denial-of-service(Dos) attacks be prevented?

Blog banner

Study of Sniffing Tools

Blog banner

Operating system

Blog banner

Video games

Blog banner

Retiring ISS

Blog banner

The Importance of Financial Literacy for College Students

Blog banner

Virtual Machine

Blog banner

Deadlocks in Operating System

Blog banner

Introduction to Data Science: Life Cycle & Applications

Blog banner

What is semaphore in operating system?

Blog banner

Buffers in Operating Systems

Blog banner

Process State

Blog banner

Types of Viruses

Blog banner

Android Flashlight Application

Blog banner

I/O buffer and its techniques

Blog banner

Dove’s Real Beauty Campaign- Case Study

Blog banner

Data Structures

Blog banner

Cache memory

Blog banner

NETSUITE

Blog banner

STARVATION

Blog banner

Disk Management

Blog banner

Throttle engine ’Sneak peek into the future’

Blog banner

Deadlock and Starvation

Blog banner

Best password managers: Reviews of the top products

Blog banner

Data Mining

Blog banner

Memory hierarchy

Blog banner

OPERATING SYSTEM OBJECTIVES AND FUNCTIONS

Blog banner

Importance of education

Blog banner

How To Invest In Indian Stock Market @ BSE & NSE ~ Tutorial 3

Blog banner

WORKFRONT SOFTWARE

Blog banner