wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Disk scheduling

profile
Darshan Somaiya
Sep 13, 2024
0 Likes
0 Discussions
172 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

NIKE

Blog banner

Stories Woven in Silk: The Meaning Behind Patola Motifs

Blog banner

Operating System

Blog banner

The Importance of Eating on Time: How Meal Timing Affects Your Health

Blog banner

Data Science in Mental Health Prediction

Blog banner

Vulnerability Assessment (Vulnerability Analysis)

Blog banner

Session Hijacking Techniques

Blog banner

Deadlock and Starvation

Blog banner

How To Implement Search Engine Marketing (Sem) Strategy Effectively

Blog banner

What Your Child Learns During Free Play (That You Might Not Notice)

Blog banner

IoT Evolution

Blog banner

security controls

Blog banner

Why Is Freshly Cooked Food Better Than Processed Food for Everyday Health?

Blog banner

Mesh Topology

Blog banner

Cloud Security: Trends and Innovations

Blog banner

File management in os

Blog banner

Benefits of Yoga

Blog banner

Different types of scam frauds

Blog banner

How Sleep Impacts Learning and Behaviour for Toddlers?

Blog banner

operating system

Blog banner

MODERN OPERATING SYSTEM

Blog banner

Lucidchart

Blog banner

Virtual Memory

Blog banner

Predicting Student Performance with Data Science

Blog banner

DEVELOPMENTS LEADING TO MODERN OPERATING SYSTEMS

Blog banner

Define Instagram.

Blog banner

Deadlock in operating system

Blog banner

Apple

Blog banner

Busted : Common Web Security Myths

Blog banner

Evolution of Operating system

Blog banner

Components of GIS

Blog banner

What is Spyware? and examples of them.

Blog banner

Game via listing method

Blog banner

Threads in OS

Blog banner

PERSONALITY DEVELOPMENT

Blog banner

ODOO

Blog banner

Why Social Search Is Becoming the New Discovery Channel for Brands?

Blog banner

A Statistical Analysis of Player Performance and their Value in cricket

Blog banner

Landslide Hazard

Blog banner

Security Breaches in Stock market trading

Blog banner

Concurrency management in operating systems

Blog banner

Network Footprinting in Cybersecurity

Blog banner