Select Algorithm: Choose the disk scheduling algorithm you want to test: FCFS, SSTF, SCAN, or C-SCAN.
Input the required values: Enter the desired comma-separated cylinder numbers representing disk requests in the input field.
Also, enter the initial head position of the disk and direction of movement(if required).
Submit: Click the "SUBMIT" button to initiate the simulation.
View Results: The simulation will automatically generate a visual representation of the disk head movement and an output displaying the seek sequence. Also, calculate the average seek time.
Calculate Average Seek Time: Enter the required values in the input box and click on the "SUBMIT" button.
Formula:
Average Seek Time =
Analyze Results: Examine the graph and the data in the output to understand the following:
Head Movement Pattern: Observe the path the disk head takes to service the requests.
Seek Time: Analyze how the seek time (distance traveled) varies for each request and the total seek time for the entire process.
Algorithm Efficiency: Compare the performance of different algorithms based on their total seek time and the pattern of head movement.
Repeat for Different Scenarios: Experiment with different request queues, head positions, and algorithm selections to observe how the results change.