SlideShare a Scribd company logo
3
Most read
9
Most read
12
Most read
Disk Scheduling algorithms
Subject:- Operating system
Branch : - Computer
Presented By : - Paresh Parmar
: - Mansi Mandaviya
: - Mansi Karia
Sem : - 4 (2016)
Branch:- Computer
(Government Engineering college ,
Bhavnagar) 1
 Disk Scheduling Algorithms are used to
reduce the total seek time of any
request.
 The operating system is responsible for
using hardware efficiently — for the disk
drives, this means having a fast access
time and disk bandwidth.
Disk Scheduling
 Access time has two major components
 Seek time is the time for the disk are to move the
heads to the cylinder containing the desired sector.
 Rotational latency is the additional time waiting for the
disk to rotate the desired sector to the disk head.
 Minimize seek time
 Seek time  seek distance
 Disk bandwidth is the total number of bytes transferred,
divided by the total time between the first request for
service and the completion of the last transfer.
3
Disk Scheduling (Cont.)
 Several algorithms exist to schedule the
servicing of disk I/O requests.
 We illustrate them with a request queue (0-
199).
98, 183, 37, 122, 14, 124, 65, 67
Head pointer 53
4
FCFS
5
Illustration shows total head movement of 640 cylinders.
SSTF
 Selects the request with the minimum seek
time from the current head position.
 SSTF scheduling is a form of SJF
scheduling; may cause starvation of some
requests.
 Illustration shows total head movement of
236 cylinders.
6
SSTF (Cont.)
7
SCAN
 The disk arm starts at one end of the disk,
and moves toward the other end, servicing
requests until it gets to the other end of the
disk, where the head movement is
reversed and servicing continues.
 Sometimes called the elevator algorithm.
 Illustration shows total head movement of
208 cylinders.
8
SCAN (Elevator)
9
C-SCAN
 Provides a more uniform wait time than SCAN.
 The head moves from one end of the disk to the
other. servicing requests as it goes. When it
reaches the other end, however, it immediately
returns to the beginning of the disk, without
servicing any requests on the return trip.
 Treats the cylinders as a circular list that wraps
around from the last cylinder to the first one.
10
C-SCAN (Cont.)
11
C-LOOK
 Version of C-SCAN
 Arm only goes as far as the last request in
each direction, then reverses direction
immediately, without first going all the way
to the end of the disk.
12
C-LOOK (Cont.)
13
Selecting a Disk-Scheduling Algorithm
 SSTF is common and has a natural appeal
 SCAN and C-SCAN perform better for systems that place
a heavy load on the disk.
 Performance depends on the number and types of
requests.
 Requests for disk service can be influenced by the file-
allocation method.
 The disk-scheduling algorithm should be written as a
separate module of the operating system, allowing it to be
replaced with a different algorithm if necessary.
 Either SSTF or LOOK is a reasonable choice for the
default algorithm.
14
Thank you....

More Related Content

What's hot (20)

PPT
Disk scheduling
NEERAJ BAGHEL
 
PDF
Deadlock Avoidance - OS
MsAnita2
 
PPTX
File system structure
sangrampatil81
 
PPT
deadlock avoidance
wahab13
 
PPT
Virtual memory
aaina_katyal
 
PPT
Disk scheduling
J.T.A.JONES
 
PPTX
Main Memory Management in Operating System
Rashmi Bhat
 
PPTX
Semaphore
Arafat Hossan
 
PDF
Monitors
Mohd Arif
 
PPTX
Disk Scheduling Algorithm in Operating System
Meghaj Mallick
 
PPTX
Cpu scheduling in operating System.
Ravi Kumar Patel
 
PPTX
Semophores and it's types
Nishant Joshi
 
PPTX
Critical section problem in operating system.
MOHIT DADU
 
PPS
Virtual memory
Anuj Modi
 
PPTX
Bankers algorithm
AAQIB PARREY
 
PPT
Contiguous Memory Allocation.ppt
infomerlin
 
PPTX
message passing vs shared memory
Hamza Zahid
 
PDF
Little o and little omega
Rajesh K Shukla
 
PPTX
Direct Memory Access ppt
OECLIB Odisha Electronics Control Library
 
PPT
Chapter 7 - Deadlocks
Wayne Jones Jnr
 
Disk scheduling
NEERAJ BAGHEL
 
Deadlock Avoidance - OS
MsAnita2
 
File system structure
sangrampatil81
 
deadlock avoidance
wahab13
 
Virtual memory
aaina_katyal
 
Disk scheduling
J.T.A.JONES
 
Main Memory Management in Operating System
Rashmi Bhat
 
Semaphore
Arafat Hossan
 
Monitors
Mohd Arif
 
Disk Scheduling Algorithm in Operating System
Meghaj Mallick
 
Cpu scheduling in operating System.
Ravi Kumar Patel
 
Semophores and it's types
Nishant Joshi
 
Critical section problem in operating system.
MOHIT DADU
 
Virtual memory
Anuj Modi
 
Bankers algorithm
AAQIB PARREY
 
Contiguous Memory Allocation.ppt
infomerlin
 
message passing vs shared memory
Hamza Zahid
 
Little o and little omega
Rajesh K Shukla
 
Chapter 7 - Deadlocks
Wayne Jones Jnr
 

Viewers also liked (20)

PPTX
Disk Scheduling
Aayush Patel
 
PPT
Disk scheduling
Hi-Techpoint
 
PPTX
Disk scheduling
Suraj Shukla
 
PPT
9 cm402.18
myrajendra
 
PPT
Minimum spanning tree
Tanmay Baranwal
 
PPT
Disk scheduling algorithm.52
myrajendra
 
PPT
Huffman
Tanmay Baranwal
 
PPT
Dijksatra
Tanmay Baranwal
 
PPT
4.4 external hashing
Krish_ver2
 
POT
Arrays and addressing modes
Bilal Amjad
 
PPT
Filehandlinging cp2
Tanmay Baranwal
 
PPTX
Implicit objects advance Java
Darshit Metaliya
 
PPT
Translation Lookaside Buffer & Inverted Page Table
Darshit Metaliya
 
PPTX
Projection of line inclined to both the planes
Darshit Metaliya
 
PPTX
Design Concept software engineering
Darshit Metaliya
 
PPT
Page replacement
sashi799
 
PPTX
Longest Common Subsequence (LCS) Algorithm
Darshit Metaliya
 
PPT
Addressing mode of 8051
Nitin Ahire
 
PPTX
Hashing Techniques in Data Structures Part2
SHAKOOR AB
 
PDF
Understanding RAID Levels (RAID 0, RAID 1, RAID 2, RAID 3, RAID 4, RAID 5)
Raid Data Recovery
 
Disk Scheduling
Aayush Patel
 
Disk scheduling
Hi-Techpoint
 
Disk scheduling
Suraj Shukla
 
9 cm402.18
myrajendra
 
Minimum spanning tree
Tanmay Baranwal
 
Disk scheduling algorithm.52
myrajendra
 
Dijksatra
Tanmay Baranwal
 
4.4 external hashing
Krish_ver2
 
Arrays and addressing modes
Bilal Amjad
 
Filehandlinging cp2
Tanmay Baranwal
 
Implicit objects advance Java
Darshit Metaliya
 
Translation Lookaside Buffer & Inverted Page Table
Darshit Metaliya
 
Projection of line inclined to both the planes
Darshit Metaliya
 
Design Concept software engineering
Darshit Metaliya
 
Page replacement
sashi799
 
Longest Common Subsequence (LCS) Algorithm
Darshit Metaliya
 
Addressing mode of 8051
Nitin Ahire
 
Hashing Techniques in Data Structures Part2
SHAKOOR AB
 
Understanding RAID Levels (RAID 0, RAID 1, RAID 2, RAID 3, RAID 4, RAID 5)
Raid Data Recovery
 
Ad

Similar to Disk scheduling algorithms (20)

PPT
Disk Scheduling Algorithms
Adarsh Kr Sinha
 
PPT
Disk scheduling
Agnas Jasmine
 
PPTX
Disk Scheduling concept of Operating System.pptx
viceprincipalbfc
 
PPT
Explained Disk Scheduling Algo ...
Adarsh Kr Sinha
 
PPT
Disk Scheduling Algorithms Mar 30 2024.ppt
Sonam Mittal
 
PPT
Disk scheduling algo os
Rahul Narang
 
PPT
Operating System
Subhasis Dash
 
PDF
Os(18 cs43) module5
Shivanand Manjaragi
 
PPTX
I/O structure slide by Rajalakshmi SKC
RAJALAKSHMI RADHAKRISHNAN
 
PPT
Disk Scheduling
A29ShirleyDhawadkar
 
PPTX
Mass storage structure
pramila kanagaraj
 
PPTX
FILE SYSTEMS AND ORGANISATION STRUCTURE.pptx
briantrixs
 
PPTX
Device Management
Kabarak University
 
PPTX
Disk Scheduling Algorithms
ali jawad
 
PPTX
Operating System ( Disk Scheduling ).pptx
skultdedsec
 
PPTX
disk Scheduling explanation hsbsjjsj1.pptx
JayPatil347597
 
PPTX
secondary storage structure :disk arm scheduling in OS
PrincePrajapati22
 
Disk Scheduling Algorithms
Adarsh Kr Sinha
 
Disk scheduling
Agnas Jasmine
 
Disk Scheduling concept of Operating System.pptx
viceprincipalbfc
 
Explained Disk Scheduling Algo ...
Adarsh Kr Sinha
 
Disk Scheduling Algorithms Mar 30 2024.ppt
Sonam Mittal
 
Disk scheduling algo os
Rahul Narang
 
Operating System
Subhasis Dash
 
Os(18 cs43) module5
Shivanand Manjaragi
 
I/O structure slide by Rajalakshmi SKC
RAJALAKSHMI RADHAKRISHNAN
 
Disk Scheduling
A29ShirleyDhawadkar
 
Mass storage structure
pramila kanagaraj
 
FILE SYSTEMS AND ORGANISATION STRUCTURE.pptx
briantrixs
 
Device Management
Kabarak University
 
Disk Scheduling Algorithms
ali jawad
 
Operating System ( Disk Scheduling ).pptx
skultdedsec
 
disk Scheduling explanation hsbsjjsj1.pptx
JayPatil347597
 
secondary storage structure :disk arm scheduling in OS
PrincePrajapati22
 
Ad

Recently uploaded (20)

PPTX
EC3551-Transmission lines Demo class .pptx
Mahalakshmiprasannag
 
PPTX
Electron Beam Machining for Production Process
Rajshahi University of Engineering & Technology(RUET), Bangladesh
 
PPTX
Coding about python and MySQL connectivity
inderjitsingh1985as
 
PDF
BioSensors glucose monitoring, cholestrol
nabeehasahar1
 
PPTX
waterconservation-211128055737.pptx Jaswanth
SandulaAnilBabu
 
PDF
Ethics and Trustworthy AI in Healthcare – Governing Sensitive Data, Profiling...
AlqualsaDIResearchGr
 
PDF
POWER PLANT ENGINEERING (R17A0326).pdf..
haneefachosa123
 
PDF
IoT - Unit 2 (Internet of Things-Concepts) - PPT.pdf
dipakraut82
 
PPTX
site survey architecture student B.arch.
sri02032006
 
PDF
Unified_Cloud_Comm_Presentation anil singh ppt
anilsingh298751
 
PDF
MOBILE AND WEB BASED REMOTE BUSINESS MONITORING SYSTEM
ijait
 
PPT
Tiles.ppt The purpose of a floor is to provide a level surface capable of sup...
manojaioe
 
PDF
SMART HOME AUTOMATION PPT BY - SHRESTH SUDHIR KOKNE
SHRESTHKOKNE
 
PDF
Natural Language processing and web deigning notes
AnithaSakthivel3
 
PDF
MRI Tool Kit E2I0500BC Plus Presentation
Ing. Ph. J. Daum GmbH & Co. KG
 
PDF
Lecture Information Theory and CodingPart-1.pdf
msc9219
 
PDF
UNIT-4-FEEDBACK AMPLIFIERS AND OSCILLATORS (1).pdf
Sridhar191373
 
PPTX
原版一样(Acadia毕业证书)加拿大阿卡迪亚大学毕业证办理方法
Taqyea
 
PDF
Geothermal Heat Pump ppt-SHRESTH S KOKNE
SHRESTHKOKNE
 
PPTX
MobileComputingMANET2023 MobileComputingMANET2023.pptx
masterfake98765
 
EC3551-Transmission lines Demo class .pptx
Mahalakshmiprasannag
 
Electron Beam Machining for Production Process
Rajshahi University of Engineering & Technology(RUET), Bangladesh
 
Coding about python and MySQL connectivity
inderjitsingh1985as
 
BioSensors glucose monitoring, cholestrol
nabeehasahar1
 
waterconservation-211128055737.pptx Jaswanth
SandulaAnilBabu
 
Ethics and Trustworthy AI in Healthcare – Governing Sensitive Data, Profiling...
AlqualsaDIResearchGr
 
POWER PLANT ENGINEERING (R17A0326).pdf..
haneefachosa123
 
IoT - Unit 2 (Internet of Things-Concepts) - PPT.pdf
dipakraut82
 
site survey architecture student B.arch.
sri02032006
 
Unified_Cloud_Comm_Presentation anil singh ppt
anilsingh298751
 
MOBILE AND WEB BASED REMOTE BUSINESS MONITORING SYSTEM
ijait
 
Tiles.ppt The purpose of a floor is to provide a level surface capable of sup...
manojaioe
 
SMART HOME AUTOMATION PPT BY - SHRESTH SUDHIR KOKNE
SHRESTHKOKNE
 
Natural Language processing and web deigning notes
AnithaSakthivel3
 
MRI Tool Kit E2I0500BC Plus Presentation
Ing. Ph. J. Daum GmbH & Co. KG
 
Lecture Information Theory and CodingPart-1.pdf
msc9219
 
UNIT-4-FEEDBACK AMPLIFIERS AND OSCILLATORS (1).pdf
Sridhar191373
 
原版一样(Acadia毕业证书)加拿大阿卡迪亚大学毕业证办理方法
Taqyea
 
Geothermal Heat Pump ppt-SHRESTH S KOKNE
SHRESTHKOKNE
 
MobileComputingMANET2023 MobileComputingMANET2023.pptx
masterfake98765
 

Disk scheduling algorithms

  • 1. Disk Scheduling algorithms Subject:- Operating system Branch : - Computer Presented By : - Paresh Parmar : - Mansi Mandaviya : - Mansi Karia Sem : - 4 (2016) Branch:- Computer (Government Engineering college , Bhavnagar) 1
  • 2.  Disk Scheduling Algorithms are used to reduce the total seek time of any request.  The operating system is responsible for using hardware efficiently — for the disk drives, this means having a fast access time and disk bandwidth.
  • 3. Disk Scheduling  Access time has two major components  Seek time is the time for the disk are to move the heads to the cylinder containing the desired sector.  Rotational latency is the additional time waiting for the disk to rotate the desired sector to the disk head.  Minimize seek time  Seek time  seek distance  Disk bandwidth is the total number of bytes transferred, divided by the total time between the first request for service and the completion of the last transfer. 3
  • 4. Disk Scheduling (Cont.)  Several algorithms exist to schedule the servicing of disk I/O requests.  We illustrate them with a request queue (0- 199). 98, 183, 37, 122, 14, 124, 65, 67 Head pointer 53 4
  • 5. FCFS 5 Illustration shows total head movement of 640 cylinders.
  • 6. SSTF  Selects the request with the minimum seek time from the current head position.  SSTF scheduling is a form of SJF scheduling; may cause starvation of some requests.  Illustration shows total head movement of 236 cylinders. 6
  • 8. SCAN  The disk arm starts at one end of the disk, and moves toward the other end, servicing requests until it gets to the other end of the disk, where the head movement is reversed and servicing continues.  Sometimes called the elevator algorithm.  Illustration shows total head movement of 208 cylinders. 8
  • 10. C-SCAN  Provides a more uniform wait time than SCAN.  The head moves from one end of the disk to the other. servicing requests as it goes. When it reaches the other end, however, it immediately returns to the beginning of the disk, without servicing any requests on the return trip.  Treats the cylinders as a circular list that wraps around from the last cylinder to the first one. 10
  • 12. C-LOOK  Version of C-SCAN  Arm only goes as far as the last request in each direction, then reverses direction immediately, without first going all the way to the end of the disk. 12
  • 14. Selecting a Disk-Scheduling Algorithm  SSTF is common and has a natural appeal  SCAN and C-SCAN perform better for systems that place a heavy load on the disk.  Performance depends on the number and types of requests.  Requests for disk service can be influenced by the file- allocation method.  The disk-scheduling algorithm should be written as a separate module of the operating system, allowing it to be replaced with a different algorithm if necessary.  Either SSTF or LOOK is a reasonable choice for the default algorithm. 14