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

QUANTUM COMPUTING IN SECURITY:A GAME CHANGER IN DIGITAL WORLD

Blog banner

Pink sauce pasta

Blog banner

Boxing

Blog banner

GIS Topography

Blog banner

Yoga in INDIA and ABROAD

Blog banner

Puri Jagannath temple

Blog banner

What is a Malware ?

Blog banner

Are Social Media Paid Campaigns Worth It?

Blog banner

Real Time Scheduling

Blog banner

Stories Woven in Silk: The Meaning Behind Patola Motifs

Blog banner

Craziness of dream 11 and how it impacts on our life

Blog banner

INTERNET

Blog banner

OS ASSIGNMENT

Blog banner

Number Guessing game --lisp

Blog banner

Expressing and Measuring Risk (Risk Management)

Blog banner

Simple Ways of Avoiding Basic Mistakes in Smart Phone Security

Blog banner

Monday. com App

Blog banner

Operating System Objectives and Functions

Blog banner

Cyber-crime Investigation and Future Directions

Blog banner

Outlook mail

Blog banner

Creating Digitally Signed Document

Blog banner

Modern Operating System

Blog banner

SPAM

Blog banner

Mobile Survey

Blog banner

Career v/s Job : Choose your passion

Blog banner

Zero-Click Searches: How To Stay Visible In Google’s New Era

Blog banner

Toothache at night? What does this mean, and how to cope with it?

Blog banner

Esri India launches Policy Maps.

Blog banner

Memory management

Blog banner

Deadlock

Blog banner

Starvation

Blog banner

Hubspot

Blog banner

What are NFT s?

Blog banner

Deadlock

Blog banner

Bulk E-mail software

Blog banner

MYNTRA

Blog banner

Why Data Security Is Important

Blog banner

Ransomware

Blog banner

Multiprocessor and Multicore Organization

Blog banner

Starvation

Blog banner

Zero Trust Security Model: Revolutionizing Cybersecurity in the Digital Age

Blog banner

File management

Blog banner