Git Product home page Git Product logo

scheduling-experiments's Introduction

Scheduling-Experiments

This was the second project of the operating systems course.

The aim of this assignment is to learn how to design, execute, and report on scheduling experiments performed with the Process Scheduling Simulator. Scheduling algorithms such as round robin, first come first serve, shortest job first, and preemptive shortest job first have been experimented. Decriptions on how to use the software can be found on the following website: (http://www.classque.net/simulators/guides/ps/ps_doc.html)

Inroduction

In experiments 1 to 3 below, the number of processes is 40. There are two kinds of processes (20 of each). All processes arrive at the start. The various times used for one kind of process (duration, CPU burst, I/O burst distribution values) is around four times those used for the other kind of process. All basepriorities are held at 1.0. The quantum for RR is less than the average duration. For simplicity, experiments are conducted with zero time for I/O bursts.

Presentation

  1. Title Slide.
  2. Four criteria by which scheduling can be judged in the order: CPU utilization, Throughput, Turnaround time, & Waiting time.
Experiment 1 Hypothesis: no difference in results when all distribution values are constant
  1. The contents of the psconfig and run files.
  2. The contents of the exp file.
  3. Box plots of the results for waiting times for RR, FCFS, SJF, and PSJF.
  4. Table showing averages for the four scheduling criteria for each of the four scheduling algorithms in row order RR, FCFS, SJF, and PSJF.
  5. Trend check: Box plots showing trend of waiting times for RR as the number of processes is varied: 10,20,30,40,50,60,70,80,90,100.
Experiment 2 Hypothesis: no difference in results when all distribution values are from the uniform distribution
  1. The contents of the psconfig and run files.
  2. The contents of the exp file.
  3. Box plots of the results for waiting times for RR, FCFS, SJF, and PSJF.
  4. Table showing averages for the four scheduling criteria for each of the four scheduling algorithms in row order RR, FCFS, SJF, and PSJF.
  5. Trend check: Box plots showing trend of waiting times for FCFS as the number of processes is varied: 10,20,30,40,50,60,70,80,90,100.
Experiment 3 Hypothesis: no difference in results when all distribution values are from the exponential distribution
  1. The contents of the psconfig and run files.
  2. The contents of the exp file.
  3. Box plots of the results for waiting times for RR, FCFS, SJF, and PSJF.
  4. Table showing averages for the four scheduling criteria for each of the four scheduling algorithms in row order RR, FCFS, SJF, and PSJF.
  5. Trend check: Box plots showing trend of waiting times for SJF as the number of processes is varied: 10,20,30,40,50,60,70,80,90,100.
Investigation
  1. Results of stress testing one experiment (Experiment 1) by varying the number of processes non-linearly: 1, 10, 100, 1000, 10000, 100000, 1000000, 10000000, 100000000, 1000000000. A table indicating successful execution (or not) against number of processes. The error when the simulator fails to execute properly.
  2. Gantt chart results (four charts) for experiment 3.

scheduling-experiments's People

Contributors

mehrad31415 avatar

Watchers

 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.