Posts

Showing posts from June, 2013

CS3530 Assignment 3

Kennesaw State University Department of Computer Science Operating Systems CS3530/01 Assignment # 3 / Scheduling
Dalibor Labudovic
06/19/12013















Initial Problem Statement: Study the behavior of three OS scheduling policies FCFS, SJF and RR using the following three simulation models:batmfcfs.cpp (Batch OS with FCFS scheduling) batmsjf.cpp (Batch OS with SJF scheduling)tsmult.cpp (Time-sharing RR scheduling) Copy these files from the "/home/jgarrido/psim3" directory on the CS3 server.Compile and link the first program.Execute the program and take note of the performance metrics computed.Repeat for the other two programs. In the last part of your report include your answers to the following questions:1. What would observable in the model with RR scheduling for a single-class system?2. Explain how multiprogramming is made possible for these models. How is this implemented? 3. Explain the changes for the parameters of the FCFS model so that there are no jobs rejected. What are your…

CS3530 Assignment 2

Kennesaw State University Department of Computer Science Operating Systems CS3530/01 Assignment # 2 / Single vs Multiprogramming
Dalibor Labudovic
06/12/2013















Initial Problem Statement: Study the behavior of a batch system with multi-programming. File: batchmio.cppOpen a script log file with the 'script' command.Copy the model implemented in file 'batchmio.cpp' from /home/jgarrido/psim3Compile, link, and execute the program to run the simulation model.The model reads all input parameters; it has default values built-in.Run the simulation models with the default values by pressing the Enter key on each input parameter. The default value of the degree of multi-programming is 15. The output of the simulation run is stored in files: "batchmio.dat" and "resources.dat" (short output).Rename these files appropriately so they will not be over-written by the next simulation run.Run the simulation model again with the degree of multi-programming set to 1. Compare …