wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Disk scheduling

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

A-B-C of Networking: Part-1 (Basics)

Blog banner

E-mail security

Blog banner

Memory management

Blog banner

Article on team management software

Blog banner

File Management

Blog banner

Dos (Denial of service) Attack

Blog banner

File Management In OS

Blog banner

Multiprocessor and Multicore Organization

Blog banner

Some facts about Technology

Blog banner

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

Blog banner

Types Of Interrupt

Blog banner

File management -disha parekh

Blog banner

Data Lakes: A Key to Modern Data Management

Blog banner

Data Exfiltration

Blog banner

Study of Sniffing Tools

Blog banner

Man In The Middle Attack

Blog banner

Evolution of Operating system

Blog banner

Top 5 Tech Innovations of 2018

Blog banner

Self defence

Blog banner

Linker

Blog banner

Operating System

Blog banner

How HRMS, Task Management, and Team Chats Can Improve Workplace Productivity

Blog banner

How Preschools Help Children Make Their First Friends

Blog banner

The Lunchbox That Came Back Untouched — How to Handle a Fussy Eater at Preschool Age

Blog banner

The Peephole

Blog banner

BITCOIN WALLET

Blog banner

Google

Blog banner

What is Virtual Memory

Blog banner

Shoulders

Blog banner

Why Khari and toast is the ideal Tea Break snack?

Blog banner

What is the point of living if we can die at any moment of our lives ?

Blog banner

Simple AI Symptom Diagnosis Using LISP – Rule-Based Expert System

Blog banner

My favourite food

Blog banner

CYBERBULLYING: Negative comments!

Blog banner

Swiggi

Blog banner

OPERATING SYSTEM

Blog banner

Zomato (Income Sources)

Blog banner

Race Conditions

Blog banner

IP Address

Blog banner

Is Pursuing a Dance Career in India Worth it?

Blog banner

Goa Trip With Friends

Blog banner

How Much Protein Do You Really Need Every Day?

Blog banner