Skip to content

fe15de/disksSheduling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Disk Scheduling Algorithm Simulation

This project simulates disk scheduling algorithms, specifically the Shortest Seek Time First (SSTF) algorithm. It provides a visual representation of disk movement based on a given sequence of disk requests.

Table of Contents

Introduction

This project was developed as a part of the coursework for the Operating Systems class. The goal is to understand and visualize the behavior of disk scheduling algorithms, which are essential components of operating systems for efficient disk I/O operations.

Features

  • Simulation of Shortest Seek Time First (SSTF) disk scheduling algorithm.
  • Input sequence of disk requests to visualize the disk movement.
  • Interactive chart displaying the disk movement pattern.

How to Use

  1. Clone this repository to your local machine.
  2. Open main.html in your web browser.
  3. Enter the sequence of disk requests into the input field.
  4. Click on the "SUBMIT" button to visualize the disk movement based on the SSTF algorithm.

Disk Scheduling Algorithms

Shortest Seek Time First (SSTF)

The SSTF algorithm selects the request that is closest to the current head position, minimizing seek time. It is designed to reduce the average response time for disk I/O operations.

Contributing

Contributions are welcome! If you'd like to contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/improvement).
  3. Make your changes.
  4. Commit your changes (git commit -am 'Add new feature').
  5. Push to the branch (git push origin feature/improvement).
  6. Create a new Pull Request.

Releases

No releases published

Packages

No packages published