wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Disk scheduling

profile
Darshan Somaiya
Sep 13, 2024
0 Likes
0 Discussions
174 Reads

Disk scheduling refers to the algorithms used by the operating system to manage the order in which read and write requests to the disk are processed. These algorithms aim to minimize seek time, which is the time taken for the disk's read-write head to move to the correct track.


The commonly used disk scheduling algorithms include:

1. **First Come First Serve (FCFS)** 

  - Processes requests in the order they arrive.

  - Simple but can lead to high seek times if requests are scattered across the disk.


2. **Shortest Seek Time First (SSTF)** 

  - Selects the request closest to the current position of the read-write head.

  - Minimizes seek time, but can cause starvation if requests for distant cylinders are continuously delayed.


3. **SCAN (Elevator Algorithm)** 

  - The disk head moves in one direction, servicing requests until it reaches the end, then reverses direction.

  - It scans back and forth across the disk, ensuring fairness and reducing seek times compared to FCFS.


4. **C-SCAN (Circular SCAN)** 

  - Similar to SCAN, but the head moves in one direction and, after reaching the end, returns to the beginning without servicing any requests on the return trip.

  - Provides more uniform wait times.


5. **LOOK** 

  - A variant of SCAN, but the head only goes as far as the last request in each direction, instead of going to the end of the disk.


6. **C-LOOK** 

  - Similar to C-SCAN, but the head moves only as far as the last request before reversing direction, then jumps back to the first request.


These algorithms balance efficiency and fairness, aiming to reduce the total seek time and optimize disk performance.


Comments ()


Sign in

Read Next

Direct Memory Access

Blog banner

Child labour

Blog banner

Apache Kafka

Blog banner

Why Businesses Are Investing More in Automation than Advertising?

Blog banner

Embracing the power of Modern Machine UNIX

Blog banner

How covid-19 impacted Social media ad spend forecast globally

Blog banner

Ghee vs. Coconut Oil vs. Mustard Oil: Which Cooking Fat Wins for Indian Food?

Blog banner

Deadlock and Starvation

Blog banner

Deadlock

Blog banner

10 Reasons Why Guy BestFriends are the Must in Every Girl's Life

Blog banner

Fault Tolerance

Blog banner

How Unstructured Play Helps Children Become Creative Thinkers

Blog banner

Incorporating Automation into Digital Forensics.

Blog banner

Emailing the merger document

Blog banner

Developments in Modern Operating Systems

Blog banner

Deadlock and Starvation in an Operating System

Blog banner

Impacts of Data Breach On Companies Challenges and Prevention

Blog banner

Every body is beautiful

Blog banner

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

Blog banner

Understanding - Proof of Work!

Blog banner

Why Data Security Is Important

Blog banner

E-Governance

Blog banner

NETSUITE

Blog banner

Memory Management

Blog banner

Famous Indian dishes that where misunderstood to be Indian

Blog banner

De-Coding Love

Blog banner

How Preschool Annual Day Shapes Confidence, Emotions, and Growth

Blog banner

Privacy-Enhancing Computation Techniques

Blog banner

Twisted world

Blog banner

Paralysis/Paralysis Stroke

Blog banner

Mendeley (management software)

Blog banner

Firewall

Blog banner

IT Service Continuity Management

Blog banner

Demystifying Cryptography: A Beginner's Guide

Blog banner

Understanding Loneliness: Why We Feel Disconnected in a Connected World (Part -1)

Blog banner

File and File System Structure

Blog banner

Meal Maharaj — 3 CP, 5 CP, 8 CP. Same Love, Different Portions

Blog banner

BharatPe

Blog banner

Embedded Operating System

Blog banner

undefined

Blog banner

Cyber Bullying - Neeta Vonkamuti

Blog banner

File Management system

Blog banner