Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

CPU Scheduling Evaluation In this project, you need to write a program to simulate the scheduling of CPU. The program will randomly generate process CPU

CPU Scheduling Evaluation

In this project, you need to write a program to simulate the scheduling of CPU. The program will randomly generate process CPU burst based on users setting. Performance is measured and analyzed in a report. No specific time unit is needed; we use integer number to represent time. You can select any programming language for the program. You need to implement the simulation environment to simulate time and events.

Input of the program:

How long is the simulation (integer)

Probability of one processs arrival in one time unit (float number between 0 and 1)

Minimum and maximum process burst time (integers)

Switching latency (non-negative integer)

Scheduling algorithm ( FCFS, non-preemptive SJF, Round Robin) (Bonus preemptive SJF)

Time quantum (integer, for Round Robin algorithm only)

Measurement:

Average waiting time

CPU utilization (1 - switching_latency/overall_time)

Report:

Compare the algorithms under different simulation settings (burst size, arrival frequency, quantum size, latency size). Organize the results in a report about 2-3 pages and try to give explanation about the results.

Submission:

Source code

Report

Readme file

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image
Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL Server Query Performance Tuning

Authors: Sajal Dam, Grant Fritchey

4th Edition

1430267429, 9781430267423

More Books

Students also viewed these Databases questions

Question

Define Synchro Marketing.

Answered: 1 week ago

Question

Define marketing concepts.

Answered: 1 week ago

Question

1 what does yellow colour on the map represent?

Answered: 1 week ago