Git Product home page Git Product logo

disk_arm_scheduling_algorithms's Introduction

Disk_Arm_Scheduling_Algorithms

Program which applies the following scheduling algorithms to simulate scheduling a disk arm. -Main program that calls scheduling algorithms -First Come First Serve (FCFS) scheduling algorithm -Shortest Seek Time First (SSF) scheduling algorithm -Elevator Up and Elevator Down scheduling algorithms

EXAMPLE OF OUTPUT:

Seed is 4919

SET 1 FCFS Cylinders: 500 485 722 2 690 304 509 593 301 300 247 625 179 Distances: 15 237 720 688 386 205 84 292 1 53 378 446 FCFS requires 3505 seek moves.

SET 2 SSF Cylinders: 500 509 485 593 625 690 722 304 301 300 247 179 2 Distances: 9 24 108 32 65 32 418 3 1 53 68 177 SSF requires 990 seek moves.

SET 3 ELEVATOR UP Cylinders: 500 509 593 625 690 722 485 304 301 300 247 179 2 Distances: 9 84 32 65 32 237 181 3 1 53 68 177 Elevator up requires 942 seek moves.

SET 4 ELEVATOR DOWN Cylinders: 500 485 304 301 300 247 179 2 509 593 625 690 722 Distances: 15 181 3 1 53 68 177 507 84 32 65 32 Elevator down requires 1218 moves.

disk_arm_scheduling_algorithms's People

Contributors

chrisdewolf avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.