Sale!

SOLVED:CSC 4320/6320 Operating Systems Project 1

$50.00 $35.00

Original Work ?

Download Details:

  • Name: scheduler-3-csb7ra.zip
  • Type: zip
  • Size: 720.04 KB

Category: You will Instantly receive a download link upon Payment||Click Original Work Button for Custom work

Description

5/5 - (4 votes)

Assume that your computing infrastructure has 6 processors available. Processors are identified as PA,
PB, …, PF. Now consider the system contains n = 250 processes with different runtime requirements.
Specifically, each process has associated with it a burst time (processing time) and a memory
requirement. Burst‐times are assigned at random (10 * 106 – 10 *1012 cycles). Memory requirements are
assigned at random (1 MB – 16GB).
For questions 1 – 3, you may assume that the set of 250 processes is known a‐priori; Hence, your
algorithms will have full knowledge of all the processes in the system at the start of the simulation.
1. Suppose that all 6 processors are identical (i.e., same speed and memory), benchmark each of
the following scheduling algorithms that we talked about in class. Compute the average wait
time and average turnaround time for each scheduling algorithm.
a. FIFO
b. SJF
c. RR

2. Modern CPU design is moving towards the heterogenous computing architecture. Made famous
by ARM and their big.LITTLE design, newer CPUs have been designed with two types of
processor cores. A set of power‐saving efficiency cores paired with high‐performance cores.
Assume that our system has been upgraded to use a heterogenous CPU with half of the cores
are efficiency cores. Specifically: PA = PB = PC = 2 GHz, and PD = PE = PF = 4GHz. Develop an
algorithm that minimizes the turnaround time of the set of processes.

3. In order to execute a process on a specific processor, sufficient memory has to be available.
Assume that the processing nodes are identical in speed to Part 2 but have the following
memory availability: PA = PB = PC = 8 GB, and PD = PE = PF = 16GB. Modify your algorithm from Q2
to assign processes to the previously described processors.  Show how well your algorithm
minimizes the turnaround time of the set of 200 processes. Compare the results of your solution
to the results from Part 2.

4. Finally, modify your scheduling algorithm so that it can deal with the sequential arrival of the
250 processes. The scheduler cannot inspect the entire set of processes but must schedule them
one by one in the order that they arrive. What is the best turnaround time you can achieve?

CSC 4320/6320 Operating Systems

NOTE: You do not need to generate actual processes. You only work with the set of “synthetic”
processes created with the method you developed in HW #3.

I would like to clarify that I would like each group to programs to read from an input file that contains the processes to schedule. This will greatly speed up the grading process for the project and allow the graders to use a single dataset to grade all projects. The file should be named “processes.csv” and data should be formatted in csv format.
Deliverables: Write an approximately 5‐page report that highlights the problem and describes your
scheduling algorithm. You must discuss all the limitations and assumptions. In detail, show how you
analyzed the performance (i.e., turnaround time and/or average waiting time) and present your
results. You must submit your programs (i.e. algorithms) with your report