SlideShare a Scribd company logo
2
Most read
4
Most read
15
Most read
SCAN Scheduling

• 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


                       http://raj-os.blogspot.in/            1
SCAN Scheduling


• The head continuously scans back and forth across
  the disk
• Sometimes called the elevator algorithm




                     http://raj-os.blogspot.in/       2
SCAN Scheduling

• Consider for example an ordered disk queue with
  requests involving
   – Tracks 98, 183, 37, 122, 14, 124, 65, 67

   – Head pointer 53

• The request queue (0-199)



                         http://raj-os.blogspot.in/   3
SCAN Scheduling


• If the disk head is initially at cylinder 53,
   – it will first move from 53 to 37, (towards left)

   – then to 14, 0, 65, 67, 98,122, 124 and 183 as shown in the
     next slides

• The total head movement of 208 tracks




                          http://raj-os.blogspot.in/              4
SCAN Scheduling




Initial Head Position

    http://raj-os.blogspot.in/   5
SCAN Scheduling




Head movement from 53 to 37th track

            http://raj-os.blogspot.in/   6
SCAN Scheduling




Head movement from 37th to 14th track

           http://raj-os.blogspot.in/   7
SCAN Scheduling




Head movement to ‘0’th track

        http://raj-os.blogspot.in/   8
SCAN Scheduling




Head movement to 65th track

      http://raj-os.blogspot.in/   9
SCAN Scheduling




Head movement from 65 to 67th track

           http://raj-os.blogspot.in/   10
SCAN Scheduling




Head movement from 67th to 98th track

           http://raj-os.blogspot.in/   11
SCAN Scheduling




Head movement 98 to 122 track

        http://raj-os.blogspot.in/   12
SCAN Scheduling




Head movement from 122 to 124th track

           http://raj-os.blogspot.in/   13
SCAN Scheduling




Head movement from 124th to 183rd track

             http://raj-os.blogspot.in/   14
SCAN Scheduling


• Disadvantages

  – Doesn't provide uniform waiting time




                       http://raj-os.blogspot.in/   15

More Related Content

PPT
C scan scheduling 50 2
myrajendra
 
PPTX
Disk Scheduling Algorithm in Operating System
Meghaj Mallick
 
PPTX
Computer architecture virtual memory
Mazin Alwaaly
 
PPTX
Directory structure
sangrampatil81
 
PDF
Introduction to Garbage Collection
Artur Mkrtchyan
 
PPT
Disk scheduling
J.T.A.JONES
 
PPT
Lamport’s algorithm for mutual exclusion
Neelamani Samal
 
C scan scheduling 50 2
myrajendra
 
Disk Scheduling Algorithm in Operating System
Meghaj Mallick
 
Computer architecture virtual memory
Mazin Alwaaly
 
Directory structure
sangrampatil81
 
Introduction to Garbage Collection
Artur Mkrtchyan
 
Disk scheduling
J.T.A.JONES
 
Lamport’s algorithm for mutual exclusion
Neelamani Samal
 

What's hot (20)

PPT
File access methods.54
myrajendra
 
PPT
Context free grammars
Ronak Thakkar
 
PDF
Unit 4-input-output organization
vishal choudhary
 
PPT
Static and dynamic memories
Syed Ammar Ali
 
PPTX
Shuffle exchange networks
Lahiru Danushka
 
PPTX
PCI BUS
mobasith7
 
PPT
Introduction to Compiler design
Dr. C.V. Suresh Babu
 
PPT
Page Replacement
chandinisanz
 
PPTX
Concurrency control
Javed Khan
 
PPTX
DMA operation
Imran Khan
 
PPTX
Asymptotic Notation
Protap Mondal
 
PPTX
Direct memory access
shubham kuwar
 
PPTX
Direct memory access (dma)
Zubair Khalid
 
PPT
Disk scheduling algorithms
Paresh Parmar
 
PPTX
Asynchronous data transfer
priya Nithya
 
PPT
Disk scheduling
NEERAJ BAGHEL
 
PPTX
Chapter 13 silbershatz operating systems
GiulianoRanauro
 
PPTX
Demand paging
Trinity Dwarka
 
PPS
Virtual memory
Anuj Modi
 
File access methods.54
myrajendra
 
Context free grammars
Ronak Thakkar
 
Unit 4-input-output organization
vishal choudhary
 
Static and dynamic memories
Syed Ammar Ali
 
Shuffle exchange networks
Lahiru Danushka
 
PCI BUS
mobasith7
 
Introduction to Compiler design
Dr. C.V. Suresh Babu
 
Page Replacement
chandinisanz
 
Concurrency control
Javed Khan
 
DMA operation
Imran Khan
 
Asymptotic Notation
Protap Mondal
 
Direct memory access
shubham kuwar
 
Direct memory access (dma)
Zubair Khalid
 
Disk scheduling algorithms
Paresh Parmar
 
Asynchronous data transfer
priya Nithya
 
Disk scheduling
NEERAJ BAGHEL
 
Chapter 13 silbershatz operating systems
GiulianoRanauro
 
Demand paging
Trinity Dwarka
 
Virtual memory
Anuj Modi
 
Ad

Viewers also liked (20)

PPT
Look scheduling.51
myrajendra
 
PPT
C look scheduling 51 1
myrajendra
 
PPT
Fcfs scheduling
myrajendra
 
PPT
Sstf scheduling.50
myrajendra
 
PPT
Index allocation 48 1
myrajendra
 
PPT
Disk scheduling.49
myrajendra
 
PPT
Thrashing allocation frames.43
myrajendra
 
PPT
Disk scheduling algorithm.52
myrajendra
 
PPTX
First-Come-First-Serve (FCFS)
nikeAthena
 
PPT
CPU Scheduling Algorithms
Shubhashish Punj
 
PPT
Ch6: CPU Scheduling
Ahmar Hashmi
 
PPTX
Scheduling Criteria-R.D.Sivakumar
Sivakumar R D .
 
PPTX
Divide and Conquer
Melaku Bayih Demessie
 
PPT
Chap05alg
Munkhchimeg
 
PPTX
Mergesort
Melver May Morales
 
PPTX
Binary Search Trees - AVL and Red Black
Amrinder Arora
 
PPT
Contigious
Ramasubbu .P
 
PPTX
Treatments of Mental Illnesses
Avigail Gabaleo Maximo
 
PPT
Disk scheduling
Hi-Techpoint
 
PPT
Deleting structure.56
myrajendra
 
Look scheduling.51
myrajendra
 
C look scheduling 51 1
myrajendra
 
Fcfs scheduling
myrajendra
 
Sstf scheduling.50
myrajendra
 
Index allocation 48 1
myrajendra
 
Disk scheduling.49
myrajendra
 
Thrashing allocation frames.43
myrajendra
 
Disk scheduling algorithm.52
myrajendra
 
First-Come-First-Serve (FCFS)
nikeAthena
 
CPU Scheduling Algorithms
Shubhashish Punj
 
Ch6: CPU Scheduling
Ahmar Hashmi
 
Scheduling Criteria-R.D.Sivakumar
Sivakumar R D .
 
Divide and Conquer
Melaku Bayih Demessie
 
Chap05alg
Munkhchimeg
 
Binary Search Trees - AVL and Red Black
Amrinder Arora
 
Contigious
Ramasubbu .P
 
Treatments of Mental Illnesses
Avigail Gabaleo Maximo
 
Disk scheduling
Hi-Techpoint
 
Deleting structure.56
myrajendra
 
Ad

Similar to Scan scheduling 50 1 (9)

PPTX
Disk Scheduling.pptx
kitpandiarajan
 
PPT
Disk scheduling geekssay.com
Hemant Gautam
 
PDF
381 ccs chapter8_updated(1)
Rabie Masoud
 
PDF
Disk Management
Shipra Swati
 
PPT
Disk Scheduling Algorithms Mar 30 2024.ppt
Sonam Mittal
 
PPTX
Device Management
Kabarak University
 
PDF
Os(18 cs43) module5
Shivanand Manjaragi
 
PPT
Explained Disk Scheduling Algo ...
Adarsh Kr Sinha
 
PPTX
secondary storage structure :disk arm scheduling in OS
PrincePrajapati22
 
Disk Scheduling.pptx
kitpandiarajan
 
Disk scheduling geekssay.com
Hemant Gautam
 
381 ccs chapter8_updated(1)
Rabie Masoud
 
Disk Management
Shipra Swati
 
Disk Scheduling Algorithms Mar 30 2024.ppt
Sonam Mittal
 
Device Management
Kabarak University
 
Os(18 cs43) module5
Shivanand Manjaragi
 
Explained Disk Scheduling Algo ...
Adarsh Kr Sinha
 
secondary storage structure :disk arm scheduling in OS
PrincePrajapati22
 

More from myrajendra (20)

PPT
Fundamentals
myrajendra
 
PPT
Data type
myrajendra
 
PPTX
Hibernate example1
myrajendra
 
PPTX
Jdbc workflow
myrajendra
 
PPTX
2 jdbc drivers
myrajendra
 
PPTX
3 jdbc api
myrajendra
 
PPTX
4 jdbc step1
myrajendra
 
PPTX
Dao example
myrajendra
 
PPTX
Sessionex1
myrajendra
 
PPTX
Internal
myrajendra
 
PPTX
3. elements
myrajendra
 
PPTX
2. attributes
myrajendra
 
PPTX
1 introduction to html
myrajendra
 
PPTX
Headings
myrajendra
 
PPTX
Forms
myrajendra
 
PPT
Css
myrajendra
 
PPTX
Views
myrajendra
 
PPTX
Views
myrajendra
 
PPTX
Views
myrajendra
 
PPT
Starting jdbc
myrajendra
 
Fundamentals
myrajendra
 
Data type
myrajendra
 
Hibernate example1
myrajendra
 
Jdbc workflow
myrajendra
 
2 jdbc drivers
myrajendra
 
3 jdbc api
myrajendra
 
4 jdbc step1
myrajendra
 
Dao example
myrajendra
 
Sessionex1
myrajendra
 
Internal
myrajendra
 
3. elements
myrajendra
 
2. attributes
myrajendra
 
1 introduction to html
myrajendra
 
Headings
myrajendra
 
Forms
myrajendra
 
Views
myrajendra
 
Views
myrajendra
 
Views
myrajendra
 
Starting jdbc
myrajendra
 

Scan scheduling 50 1

  • 1. SCAN Scheduling • 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 http://raj-os.blogspot.in/ 1
  • 2. SCAN Scheduling • The head continuously scans back and forth across the disk • Sometimes called the elevator algorithm http://raj-os.blogspot.in/ 2
  • 3. SCAN Scheduling • Consider for example an ordered disk queue with requests involving – Tracks 98, 183, 37, 122, 14, 124, 65, 67 – Head pointer 53 • The request queue (0-199) http://raj-os.blogspot.in/ 3
  • 4. SCAN Scheduling • If the disk head is initially at cylinder 53, – it will first move from 53 to 37, (towards left) – then to 14, 0, 65, 67, 98,122, 124 and 183 as shown in the next slides • The total head movement of 208 tracks http://raj-os.blogspot.in/ 4
  • 5. SCAN Scheduling Initial Head Position http://raj-os.blogspot.in/ 5
  • 6. SCAN Scheduling Head movement from 53 to 37th track http://raj-os.blogspot.in/ 6
  • 7. SCAN Scheduling Head movement from 37th to 14th track http://raj-os.blogspot.in/ 7
  • 8. SCAN Scheduling Head movement to ‘0’th track http://raj-os.blogspot.in/ 8
  • 9. SCAN Scheduling Head movement to 65th track http://raj-os.blogspot.in/ 9
  • 10. SCAN Scheduling Head movement from 65 to 67th track http://raj-os.blogspot.in/ 10
  • 11. SCAN Scheduling Head movement from 67th to 98th track http://raj-os.blogspot.in/ 11
  • 12. SCAN Scheduling Head movement 98 to 122 track http://raj-os.blogspot.in/ 12
  • 13. SCAN Scheduling Head movement from 122 to 124th track http://raj-os.blogspot.in/ 13
  • 14. SCAN Scheduling Head movement from 124th to 183rd track http://raj-os.blogspot.in/ 14
  • 15. SCAN Scheduling • Disadvantages – Doesn't provide uniform waiting time http://raj-os.blogspot.in/ 15