SlideShare a Scribd company logo
Operating System ALA
Semester - 4
CSE (A)
The operating system is responsible for using hardware
efficiently.
For the disk drives, this means having a fast access time
and disk bandwidth.
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.
Storage-area Network:-
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.
Whenever a process needs I/O to or from the disk, it
issues a system call to the OS. The request specifies
several pieces of information:
->Whether this operation is input or output
->What the disk address for the transfer is
->What the memory address for the transfer is
->What the number of sectors to be
transferred is
Given a request queue of block numbers, minimize summed
seek distance
Block numbers are translated into track and sector
numbers
Higher block numbers correspond to higher track
numbers
Sector numbers may not be known exactly, but can be
computed for analysis
Example, for a disk with range 0-199:
98, 183, 37, 122, 14, 124, 65, 67
Head pointer initially at 53
Illustration shows total head movement of 640 cylinders.
Handle I/O requests sequentially.
This algorithm is intrinsically fair, but does not provide
fastest service.
Approaches random scheduling in performance if there are
many processes/requests.
Suffers from global zigzag effect.
Illustration shows total head movement of 236 cylinders.
Selects the request with the minimum seek time from
the current head position.
In other words, SSTF chooses the pending request
closest to the current head position.
It’s based in favor of the middle cylinders requests.
SSTF scheduling is a form of SJF scheduling; may cause
starvation of some requests.
Illustration shows total head movement of 208 cylinders.
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.
It moves in both directions until both ends.
Tends to stay more at the ends so more fair to the
extreme cylinder requests.
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.
Provides a more uniform wait time than SCAN; it
treats all cylinders in the same manner.
The disk arm starts at the first I/O request on the disk,
and moves toward the last I/O request on the other
end, servicing requests until it gets to the other extreme
I/O request on the disk, where the head movement is
reversed and servicing continues.
It moves in both directions until both last I/O requests;
more inclined to serve the middle cylinder requests.
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.
In general, Circular versions are more fair but pay with a
larger total seek time.
Scan versions have a larger total seek time than the
corresponding Look versions.
Disk scheduling algo os

More Related Content

What's hot

Disk scheduling
Disk schedulingDisk scheduling
Disk scheduling
J.T.A.JONES
 
Explained Disk Scheduling Algo ...
Explained Disk Scheduling Algo ...Explained Disk Scheduling Algo ...
Explained Disk Scheduling Algo ...
Adarsh Kr Sinha
 
Disk scheduling
Disk schedulingDisk scheduling
Disk scheduling
niralim40
 
Disk Scheduling Algorithms
Disk Scheduling AlgorithmsDisk Scheduling Algorithms
Disk Scheduling Algorithms
ali jawad
 
Disk scheduling algorithm.52
Disk scheduling algorithm.52Disk scheduling algorithm.52
Disk scheduling algorithm.52myrajendra
 
Disk Scheduling Algorithms
Disk Scheduling AlgorithmsDisk Scheduling Algorithms
Disk Scheduling Algorithms
Adarsh Kr Sinha
 
Disk structure
Disk structureDisk structure
Disk structure
Agnas Jasmine
 
Chapter 12 Model Answers
Chapter 12 Model AnswersChapter 12 Model Answers
Chapter 12 Model AnswersSheroug.M
 
Disk scheduling.49
Disk scheduling.49Disk scheduling.49
Disk scheduling.49myrajendra
 
Mass storage structure
Mass storage structureMass storage structure
Mass storage structure
pramila kanagaraj
 
Os
OsOs
Sstf scheduling.50
Sstf scheduling.50Sstf scheduling.50
Sstf scheduling.50myrajendra
 
I/O structure slide by Rajalakshmi SKC
I/O structure slide by Rajalakshmi SKCI/O structure slide by Rajalakshmi SKC
I/O structure slide by Rajalakshmi SKC
RAJALAKSHMI RADHAKRISHNAN
 
operating system
operating systemoperating system
operating system
subashini mari
 
Kavi
KaviKavi
Kavi
KaviKavi
Pandi
PandiPandi
Pandi
Pandi C
 
Disk structure.45
Disk structure.45Disk structure.45
Disk structure.45myrajendra
 
Operating Systems
Operating SystemsOperating Systems
Operating Systems
Geetha Kannan
 
Sheik Mohamed Shadik - BSc - Project Details
Sheik Mohamed Shadik - BSc - Project DetailsSheik Mohamed Shadik - BSc - Project Details
Sheik Mohamed Shadik - BSc - Project Details
shadikbsc
 

What's hot (20)

Disk scheduling
Disk schedulingDisk scheduling
Disk scheduling
 
Explained Disk Scheduling Algo ...
Explained Disk Scheduling Algo ...Explained Disk Scheduling Algo ...
Explained Disk Scheduling Algo ...
 
Disk scheduling
Disk schedulingDisk scheduling
Disk scheduling
 
Disk Scheduling Algorithms
Disk Scheduling AlgorithmsDisk Scheduling Algorithms
Disk Scheduling Algorithms
 
Disk scheduling algorithm.52
Disk scheduling algorithm.52Disk scheduling algorithm.52
Disk scheduling algorithm.52
 
Disk Scheduling Algorithms
Disk Scheduling AlgorithmsDisk Scheduling Algorithms
Disk Scheduling Algorithms
 
Disk structure
Disk structureDisk structure
Disk structure
 
Chapter 12 Model Answers
Chapter 12 Model AnswersChapter 12 Model Answers
Chapter 12 Model Answers
 
Disk scheduling.49
Disk scheduling.49Disk scheduling.49
Disk scheduling.49
 
Mass storage structure
Mass storage structureMass storage structure
Mass storage structure
 
Os
OsOs
Os
 
Sstf scheduling.50
Sstf scheduling.50Sstf scheduling.50
Sstf scheduling.50
 
I/O structure slide by Rajalakshmi SKC
I/O structure slide by Rajalakshmi SKCI/O structure slide by Rajalakshmi SKC
I/O structure slide by Rajalakshmi SKC
 
operating system
operating systemoperating system
operating system
 
Kavi
KaviKavi
Kavi
 
Kavi
KaviKavi
Kavi
 
Pandi
PandiPandi
Pandi
 
Disk structure.45
Disk structure.45Disk structure.45
Disk structure.45
 
Operating Systems
Operating SystemsOperating Systems
Operating Systems
 
Sheik Mohamed Shadik - BSc - Project Details
Sheik Mohamed Shadik - BSc - Project DetailsSheik Mohamed Shadik - BSc - Project Details
Sheik Mohamed Shadik - BSc - Project Details
 

Similar to Disk scheduling algo os

7 disk managment
7 disk managment7 disk managment
7 disk managment
ashishkhatu1
 
Disk Management
Disk ManagementDisk Management
Disk Management
Shipra Swati
 
Operating System
Operating SystemOperating System
Operating System
Subhasis Dash
 
secondary storage structure :disk arm scheduling in OS
secondary storage structure :disk arm scheduling in OSsecondary storage structure :disk arm scheduling in OS
secondary storage structure :disk arm scheduling in OS
PrincePrajapati22
 
Operating system
Operating systemOperating system
Operating system
Huda Athirah
 
Disk Scheduling.pptx
Disk Scheduling.pptxDisk Scheduling.pptx
Disk Scheduling.pptx
kitpandiarajan
 
Disk Scheduling Algorithm in Operating System
Disk Scheduling Algorithm in Operating SystemDisk Scheduling Algorithm in Operating System
Disk Scheduling Algorithm in Operating System
Meghaj Mallick
 
Disk Scheduling
Disk SchedulingDisk Scheduling
Disk Scheduling
A29ShirleyDhawadkar
 
Os(18 cs43) module5
Os(18 cs43) module5Os(18 cs43) module5
Os(18 cs43) module5
Shivanand Manjaragi
 
Mass Storage Structure
Mass Storage StructureMass Storage Structure
Mass Storage Structure
Vimalanathan D
 
Disk Management through the Computer Management
Disk Management through the Computer ManagementDisk Management through the Computer Management
Disk Management through the Computer Management
AnshGoyal32
 
CH10.pdf
CH10.pdfCH10.pdf
CH10.pdf
ImranKhan880955
 
Secondary storage structure-Operating System Concepts
Secondary storage structure-Operating System ConceptsSecondary storage structure-Operating System Concepts
Secondary storage structure-Operating System Concepts
Arjun Kaimattathil
 
Palpandi
PalpandiPalpandi
I/O System and Csae Study
I/O System and Csae StudyI/O System and Csae Study
I/O System and Csae Study
palpandi it
 
Input Output Management in Operating System
Input Output Management in Operating SystemInput Output Management in Operating System
Input Output Management in Operating System
Rashmi Bhat
 
Ch10
Ch10Ch10
Ch10
ushaindhu
 
Viknesh
VikneshViknesh
Viknesh
Hero Prabhu
 

Similar to Disk scheduling algo os (20)

7 disk managment
7 disk managment7 disk managment
7 disk managment
 
Disk Management
Disk ManagementDisk Management
Disk Management
 
Operating System
Operating SystemOperating System
Operating System
 
Ch12
Ch12Ch12
Ch12
 
secondary storage structure :disk arm scheduling in OS
secondary storage structure :disk arm scheduling in OSsecondary storage structure :disk arm scheduling in OS
secondary storage structure :disk arm scheduling in OS
 
Operating system
Operating systemOperating system
Operating system
 
Disk Scheduling.pptx
Disk Scheduling.pptxDisk Scheduling.pptx
Disk Scheduling.pptx
 
Disk Scheduling Algorithm in Operating System
Disk Scheduling Algorithm in Operating SystemDisk Scheduling Algorithm in Operating System
Disk Scheduling Algorithm in Operating System
 
Disk Scheduling
Disk SchedulingDisk Scheduling
Disk Scheduling
 
Os(18 cs43) module5
Os(18 cs43) module5Os(18 cs43) module5
Os(18 cs43) module5
 
unit-4.pdf
unit-4.pdfunit-4.pdf
unit-4.pdf
 
Mass Storage Structure
Mass Storage StructureMass Storage Structure
Mass Storage Structure
 
Disk Management through the Computer Management
Disk Management through the Computer ManagementDisk Management through the Computer Management
Disk Management through the Computer Management
 
CH10.pdf
CH10.pdfCH10.pdf
CH10.pdf
 
Secondary storage structure-Operating System Concepts
Secondary storage structure-Operating System ConceptsSecondary storage structure-Operating System Concepts
Secondary storage structure-Operating System Concepts
 
Palpandi
PalpandiPalpandi
Palpandi
 
I/O System and Csae Study
I/O System and Csae StudyI/O System and Csae Study
I/O System and Csae Study
 
Input Output Management in Operating System
Input Output Management in Operating SystemInput Output Management in Operating System
Input Output Management in Operating System
 
Ch10
Ch10Ch10
Ch10
 
Viknesh
VikneshViknesh
Viknesh
 

More from Rahul Narang

Turing Machine
Turing MachineTuring Machine
Turing Machine
Rahul Narang
 
OpAmps
OpAmpsOpAmps
OpAmps
Rahul Narang
 
System of linear algebriac equations nsm
System of linear algebriac equations nsmSystem of linear algebriac equations nsm
System of linear algebriac equations nsm
Rahul Narang
 
Program control
Program controlProgram control
Program control
Rahul Narang
 
Greeenhouse effects
Greeenhouse effectsGreeenhouse effects
Greeenhouse effects
Rahul Narang
 
Embarking the journey to contributorship
Embarking the journey to contributorshipEmbarking the journey to contributorship
Embarking the journey to contributorship
Rahul Narang
 
Laplace transforms
Laplace transformsLaplace transforms
Laplace transforms
Rahul Narang
 
View of data DBMS
View of data DBMSView of data DBMS
View of data DBMS
Rahul Narang
 

More from Rahul Narang (8)

Turing Machine
Turing MachineTuring Machine
Turing Machine
 
OpAmps
OpAmpsOpAmps
OpAmps
 
System of linear algebriac equations nsm
System of linear algebriac equations nsmSystem of linear algebriac equations nsm
System of linear algebriac equations nsm
 
Program control
Program controlProgram control
Program control
 
Greeenhouse effects
Greeenhouse effectsGreeenhouse effects
Greeenhouse effects
 
Embarking the journey to contributorship
Embarking the journey to contributorshipEmbarking the journey to contributorship
Embarking the journey to contributorship
 
Laplace transforms
Laplace transformsLaplace transforms
Laplace transforms
 
View of data DBMS
View of data DBMSView of data DBMS
View of data DBMS
 

Recently uploaded

AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
Kamal Acharya
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
gdsczhcet
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
gestioneergodomus
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
BrazilAccount1
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
Massimo Talia
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
Robbie Edward Sayers
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
manasideore6
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
Intella Parts
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
Amil Baba Dawood bangali
 
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
ssuser7dcef0
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Soumen Santra
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
ChristineTorrepenida1
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
Neometrix_Engineering_Pvt_Ltd
 
Basic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparelBasic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparel
top1002
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 

Recently uploaded (20)

AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
Student information management system project report ii.pdf
Student information management system project report ii.pdfStudent information management system project report ii.pdf
Student information management system project report ii.pdf
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
Gen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdfGen AI Study Jams _ For the GDSC Leads in India.pdf
Gen AI Study Jams _ For the GDSC Leads in India.pdf
 
DfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributionsDfMAy 2024 - key insights and contributions
DfMAy 2024 - key insights and contributions
 
English lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdfEnglish lab ppt no titlespecENG PPTt.pdf
English lab ppt no titlespecENG PPTt.pdf
 
Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024Nuclear Power Economics and Structuring 2024
Nuclear Power Economics and Structuring 2024
 
HYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generationHYDROPOWER - Hydroelectric power generation
HYDROPOWER - Hydroelectric power generation
 
Fundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptxFundamentals of Electric Drives and its applications.pptx
Fundamentals of Electric Drives and its applications.pptx
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
 
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
NO1 Uk best vashikaran specialist in delhi vashikaran baba near me online vas...
 
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
 
Unbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptxUnbalanced Three Phase Systems and circuits.pptx
Unbalanced Three Phase Systems and circuits.pptx
 
Standard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - NeometrixStandard Reomte Control Interface - Neometrix
Standard Reomte Control Interface - Neometrix
 
Basic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparelBasic Industrial Engineering terms for apparel
Basic Industrial Engineering terms for apparel
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 

Disk scheduling algo os

  • 2.
  • 3. The operating system is responsible for using hardware efficiently. For the disk drives, this means having a fast access time and disk bandwidth. 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.
  • 5. 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. Whenever a process needs I/O to or from the disk, it issues a system call to the OS. The request specifies several pieces of information: ->Whether this operation is input or output ->What the disk address for the transfer is ->What the memory address for the transfer is ->What the number of sectors to be transferred is
  • 6. Given a request queue of block numbers, minimize summed seek distance Block numbers are translated into track and sector numbers Higher block numbers correspond to higher track numbers Sector numbers may not be known exactly, but can be computed for analysis Example, for a disk with range 0-199: 98, 183, 37, 122, 14, 124, 65, 67 Head pointer initially at 53
  • 7. Illustration shows total head movement of 640 cylinders.
  • 8. Handle I/O requests sequentially. This algorithm is intrinsically fair, but does not provide fastest service. Approaches random scheduling in performance if there are many processes/requests. Suffers from global zigzag effect.
  • 9. Illustration shows total head movement of 236 cylinders.
  • 10. Selects the request with the minimum seek time from the current head position. In other words, SSTF chooses the pending request closest to the current head position. It’s based in favor of the middle cylinders requests. SSTF scheduling is a form of SJF scheduling; may cause starvation of some requests.
  • 11. Illustration shows total head movement of 208 cylinders.
  • 12. 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. It moves in both directions until both ends. Tends to stay more at the ends so more fair to the extreme cylinder requests.
  • 13.
  • 14. 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. Provides a more uniform wait time than SCAN; it treats all cylinders in the same manner.
  • 15. The disk arm starts at the first I/O request on the disk, and moves toward the last I/O request on the other end, servicing requests until it gets to the other extreme I/O request on the disk, where the head movement is reversed and servicing continues. It moves in both directions until both last I/O requests; more inclined to serve the middle cylinder requests.
  • 16.
  • 17. 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. In general, Circular versions are more fair but pay with a larger total seek time. Scan versions have a larger total seek time than the corresponding Look versions.