Difference between FCFS and C-SCAN disk scheduling algorithm
Last Updated :
04 Sep, 2020
1. FCFS Disk Scheduling Algorithm :
FCFS stands for First come first serve, this algorithm entertains the task in the order they arrived in the disk queue. It is the simplest and easy to understand disk scheduling algorithm. In this the head or pointer moves in the direction in which the task arrives and moves till all request is served. However, FCFS algorithm has more fair policy of handling upcoming requests.
Example -
Consider a disk with 200 tracks (0-199) and the disk queue having I/O requests in the following order as follows :
98, 183, 40, 122, 10, 124, 65
The current head position of the Read\Write head is 53. Calculate the total number of track movements of Read/Write head using FCFS algorithm.

Total head movements,
= (98-53)+(183-98)+(183-40)
+(122-40)+(122-10)+(124-10)+(124-65)
= 640
2. C-SCAN Disk Scheduling Algorithm :
C-SCAN algorithm, also known as Circular Elevator algorithm is the modified version of
SCAN algorithm. In this algorithm, the head pointer starts from one end of disk and moves towards the other end, serving all requests in between. After reaching the other end, the head reverse its direction and go to the starting point. It then satisfies the remaining requests, in same direction as before. C-SCAN is one of the best disk scheduling algorithm.
Example –
Consider a disk with 200 tracks (0-199) and the disk queue having I/O requests in the following order as follows :
98, 183, 40, 122, 10, 124, 65
The current head position of the Read/Write head is 53 and will move in Right direction . Calculate the total number of track movements of Read/Write head using C-SCAN algorithm.

Total head movements,
= (65-53)+(98-65)+(122-98)+(124-122)+(183-124)
+(199-183)+(199-0)+(10-0)+(40-10)
= 395
Difference between FCFS and C-SCAN Disk Scheduling Algorithm :
S.No. |
FCFS DISK SCHEDULING ALGORITHM |
C-SCAN DISK SCHEDULING ALGORITHM |
1 |
FCFS is inefficient in seek movements.
|
Whereas C-SCAN is very efficient in seek movements.
|
2 |
FCFS cause more average waiting time and response time.
|
But C-SCAN cause less average response time and waiting time.
|
3 |
In above example of FCFS, the head starts from 53 and serves the requests in the order of their arrival in disk queue. |
In the above example of C-SCAN algorithm, the head moves from 53, serves all requests in right direction till it reaches the other end. Then it jumps to the opposite end and serves remaining requests in right direction only. |
4 |
In FCFS algorithm there is decrement in Throughput.
|
Here there is increment in Throughput.
|
5 |
FCFS doesn’t cause starvation to any request, but request can experience Convoy effect. |
In C-SCAN algorithm neither the requests suffers starvation nor Convoy effect. |
6 |
FCFS algorithm is easy to understand and implement. |
The performance of C-SCAN algorithm is far better than FCFS algorithm. |
Similar Reads
Difference between FCFS and SCAN disk scheduling algorithms FCFS disk scheduling algorithm: As the name suggests, the FCFS Scheduling Algorithm processes requests in the sequential order in which they arrive in the disk queue. Even if a higher priority request arrives in the schedule later, FCFS will process the request in the order that they have arrived an
3 min read
Difference between FCFS and C-LOOK disk scheduling algorithm 1. FCFS Disk Scheduling Algorithm FCFS stands for First Come First Serve, this algorithm entertains the task in the order they arrived in the disk queue. It is the simplest and easy to understand disk scheduling algorithm. In this, the head or pointer moves in the direction in which the task arrives
3 min read
Difference Between SCAN and CSCAN Disk Scheduling Algorithms The disk scheduling algorithm is a technique operating systems use to manage the order in which disk I/O (input/output) requests are processed. Disk scheduling is also known as I/O Scheduling. The main goals of disk scheduling are to optimize the performance of disk operations, reduce the time it ta
7 min read
Difference Between C-SCAN and SSTF Disk Scheduling Algorithm In C-SCAN Algorithm it is necessary to take into account the direction, i.e., larger or smaller value. This algorithm serves disk requests by moving towards their conclusion while SSTF is a secondary storage scheduling method that decides how the disk's head and arm will move to fulfil read and writ
5 min read
Difference between C-LOOK and C-SCAN Disk Scheduling Algorithm C-LOOK Disk Scheduling Algorithm C-LOOK is the modified version of both LOOK and C-scan algorithms. In this algorithm, the head starts from the first request in one direction and moves towards the last request at another end, serving all request in between. After reaching the last request in one end
3 min read
Difference between SCAN and LOOK Disk scheduling algorithms SCAN disk scheduling algorithm: In SCAN disk scheduling algorithm, head starts from one end of the disk and moves towards the other end, servicing requests in between one by one and reach the other end. Then the direction of the head is reversed and the process continues as head continuously scan ba
4 min read
Difference between FCFS and SSTF Disk Scheduling Algorithm Prerequisite - Disk Scheduling Algorithms 1. FCFS Disk Scheduling Algorithm : First come first serve, as name suggest this algorithm entertains the task in the order they arrived in the disk queue. It is the simplest and easy to understand disk scheduling algorithm. In this the head or pointer moves
3 min read
Difference between LOOK and C-LOOK Disk scheduling algorithms 1. LOOK disk scheduling algorithm : Look Algorithm is actually an improves version of SCAN Algorithm. In this algorithm, the head starts from first request at one side of disk and moves towards the other end by serving all requests in between. After reaching the last request of one end, the head rev
3 min read
Difference between EDF and LST CPU scheduling algorithms 1. Earliest Deadline First (EDF) : In Earliest Deadline First scheduling algorithm, at every scheduling point the task having the shortest deadline is scheduled for the execution. It is an optimal dynamic priority-driven scheduling algorithm used in real-time systems. It uses priorities of the tasks
4 min read
Difference Between FCFS and SJF CPU Scheduling Algorithms CPU scheduling is a key part of how an operating system works. It decides which task (or process) the CPU should work on at any given time. This is important because a CPU can only handle one task at a time, but there are usually many tasks that need to be processed. In this article, we are going to
5 min read