FScan disk scheduling algorithm Last Updated : 14 Apr, 2023 Comments Improve Suggest changes Like Article Like Report Fixed period SCAN (FSCAN) disk scheduling algorithm mainly focuses on handling high variance in shortest seek time first (SSTF). SCAN algorithm is also proposed to handle above mentioned situation but using SCAN algorithm causes long delay while handling requests which are at extremes of disk. FSCAN algorithm determines how read and write head of disk will move in order to handle issue of handling issue of high variance of SSTF. How it works? FSCAN makes use of two queues, one of queues stores old r/w requests and other queue stores new r/w requests. When old requests are handled then only new requests are processed. Variations of FSCAN algorithm can also consist of N queues which in turn will make response time faster. How it handles issue of "high variance in SSTF" ? FSCAN addresses above mentioned issue by "freezing" queue once scan starts, requests that arrive after scan starts are processed in the next scan. Performance analysis : Citing theoretical analysis, it can be seen that SCAN results in lower average response time than FSCAN and higher average response time than shortest seek time first (SSTF). FSCAN algorithm has nice performance due to high throughput and low average response times. FSCAN removes problem of indefinite postponement. Example : How requests are processed FSCAN (or Fair SCAN) is a disk scheduling algorithm that is designed to provide fairness to all processes requesting I/O operations on a disk. It is an improved version of the SCAN algorithm, which suffers from the problem of starvation of requests from certain processes. Here are some important points to keep in mind about the FSCAN disk scheduling algorithm:FSCAN maintains two queues: the active queue and the expired queue. The active queue contains requests that are currently being serviced, while the expired queue contains requests that were received while the disk head was sweeping the disk in the current direction and have not been serviced yet.The algorithm services requests from the active queue until it becomes empty, and then switches to the expired queue, which containsrequests that were received while the disk head was moving in the opposite direction. Once the expired queue is empty, the algorithm switches back to the active queue.FSCAN ensures fairness by preventing a single process from dominating the disk access. It does this by imposing a limit on the maximum number of requests that a process can have in the active queue at any given time.FSCAN also reduces the average waiting time for requests by minimizing the maximum waiting time, which is achieved by switching between the active and expired queues at appropriate times.Some books that cover the topic of disk scheduling algorithms and operating systems in general include:Operating System Concepts by Abraham Silberschatz, Peter B. Galvin, and Greg GagneModern Operating Systems by Andrew S. Tanenbaum and Herbert BosOperating Systems: Three Easy Pieces by Remzi H. Arpaci-Dusseau and Andrea C. Arpaci-DusseauUnderstanding the Linux Kernel by Daniel P. Bovet and Marco CesatiThese books provide a comprehensive introduction to operating systems and cover a wide range of topics, including disk schedulingalgorithms, process scheduling, memory management, file systems, and more. Comment More infoAdvertise with us Next Article FScan disk scheduling algorithm C Cyberfreak Follow Improve Article Tags : Operating Systems File & Disk Management Similar Reads C-SCAN Disk Scheduling Algorithm Given an array of disk track numbers and initial head position, our task is to find the total number of seek operations to access all the requested tracks if a C-SCAN Disk Scheduling algorithm is used.The Circular SCAN (C-SCAN) Scheduling Algorithm is a modified version of the SCAN Disk Scheduling A 12 min read FCFS Disk Scheduling Algorithms Prerequisite: Disk scheduling algorithms.Given an array of disk track numbers and initial head position, our task is to find the total number of seek operations done to access all the requested tracks if First Come First Serve (FCFS) disk scheduling algorithm is used. First Come First Serve (FCFS) F 6 min read Disk Scheduling Algorithms Disk scheduling algorithms are crucial in managing how data is read from and written to a computer's hard disk. These algorithms help determine the order in which disk read and write requests are processed, significantly impacting the speed and efficiency of data access. Common disk scheduling metho 12 min read LOOK Disk Scheduling Algorithm The LOOK Disk Scheduling Algorithm is the advanced version of the SCAN (elevator) disk scheduling algorithm which gives slightly better seek time than any other algorithm in the hierarchy (FCFS->SRTF->SCAN->C-SCAN->LOOK). It is used to reduce the amount of time it takes to access data on 13 min read SCAN (Elevator) Disk Scheduling Algorithms In the SCAN Disk Scheduling Algorithm, the head starts from one end of the disk and moves towards the other end, servicing requests in between one by one and reaching the other end. Then the direction of the head is reversed and the process continues as the head continuously scans back and forth to 12 min read Like