Lab #4/Prog #2 CIS343 Ð CPU Scheduling

Getting Started

This lab is focused on studying the effects of Round-Robin Scheduling. This lab will involve writing a discrete event simulation program to simulate round-robin scheduling. You will then use your simulation to analyze the algorithm. Simulations are often used in computer science to study the behavior of a system in a way that may not be possible with the real system.

 

1. Read pages 283-289 prior to the first lab session (see Lab Sessions section for dates)

 

2. Review chapter 7 and your notes on chapter 7 prior to the first lab session.

 

3. Goto to your cis343 directory and create a lab4 directory.

Lab Sessions

This lab will take place during 3 sessions:

 

  1. Monday (2/16): Introduction to DES
  2. Monday (2/23): Debugging/More DES discussion
  3. Monday (3/1): Analysis/Testing

Deliverables

You will be implementing the simulation environment and analyzing its results. You will be submitting your analysis and results as a word document (you may use charts, tables, graphs, etc). You are required to use the ACM standard guidelines (http://www.acm.org/sigs/pubs/proceed/template.html) for your paper. It should be no more than 1-2 pages.

 

You will also submit your simulation code.

Submission

You need to submit this assignment by 8AM March 2nd .

 

% cd ~cis343/lab4

 

% turnin cis343 prog2

 

NOTE: view the output of the turnin to verify that all of the necessary files have been submitted.