wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Disk scheduling

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

Data Acquisition in Cyber Forensics

Blog banner

Starting Android Activity Using Intent

Blog banner

Save Girl Child

Blog banner

Is Brushing After Eating Damaging Your Teeth? (Fact or Myth)

Blog banner

Virtual memory

Blog banner

A Weekend at Oak Tree Hotel: The Best Hotel Experience in Arcadia, Florida

Blog banner

Internet of Things and cyber security

Blog banner

"Games and the future"

Blog banner

OPERATING SYSTEM

Blog banner

operating system

Blog banner

Deadlock and Starvation in an Operating System

Blog banner

Raid and levels of raid.

Blog banner

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

Blog banner

E-Cash (Electronic Cash)

Blog banner

Impacts of Data Breach On Companies Challenges and Prevention

Blog banner

Is It Too Late to Straighten My Teeth as an Adult?

Blog banner

Meshoo

Blog banner

Social Engineering

Blog banner

Interrupts - Types, Working & Importance

Blog banner

Brilliant WhatsApp Features Upcoming in 2023

Blog banner

Network Footprinting in Cybersecurity

Blog banner

PROCESS STATE:

Blog banner

How to setup a professional looking business account on Instagram?

Blog banner

Human Error: The weakest link in Cybersecurity

Blog banner

Efficiency of SQL Injection Method in Preventing E-Mail Hacking

Blog banner

City of Mumbai (Bombay):

Blog banner

Direct Memory Access

Blog banner

File Allocation Methods

Blog banner

MY FIRST BLOG?

Blog banner

Critical success factors

Blog banner

Buffer Overflow

Blog banner

5 ways to save money on catering services in Mumbai

Blog banner

Types Of scheduling

Blog banner

Indian Culture and Tradition

Blog banner

Health and fitness in technology

Blog banner

Thumb Sucking: When It’s Normal and When It Becomes a Dental Problem

Blog banner

Article on Fresh Book

Blog banner

Importance Of Time

Blog banner

Little Habits, Big Impact: Daily Preschool Routines That Shape the Future

Blog banner

Malware Detection Techniques for Mobile Devices

Blog banner

Deadlock and Starvation

Blog banner

Memory Management in an Operating System

Blog banner