simulate round-robin process scheduling12

Closed

You are to design and implement a program to simulate round-robin process scheduling. The program must maintain a ready queue and a list of waiting processes. The simulation will run in one unit time steps.

You need to have some program to generate at least 1000 processes each with a mix of CPU burst and IO burst. CPU bursts should be on average 5 to 100 time units. IO bursts should be on average 50 to 1000 time units. In a single process CPU burst could be 60-80% (chosen randomly) of the time and the rest will be IO burst. The process should end in CPU burst. Assume 2 time units to do context switch. Use time quanta of 5, 10, 50, 100, 500, 1000, time units. The data is to be generated using a random number generator and saved in a file in following format:

quantum size

process id,arrival time,cpu burst, io burst, …,cpu burst -1(end of process)

Example:

10,

1,0,20,55,5,600,15,110,30,200,10,199,19,163,10,-1,

2,0,5,45,13,49,50,50,15,55,80,60,45,50,7,56,67,51,100,56,34,50,45,53,5,-1,

3,20,50,200,55,200,60,200,65,-1

Pn

You should have multiple data files to run the simulation multiple time.

Assume ready-queue capacity of 20, 100, and unbounded (e.g. if capacity is 20, and you have a process arriving, you cannot put it on the ready queue; it has to wait).

Your project report should have the tables presenting following parameters for various quantum values.

• Average turnaround time

• Maximum turnaround time

• Average wait time

• Maximum wait time

• CPU utilization

• Throughput (number of jobs processed per hour).

• Terminate the simulation.

Skills: Java

See more: waiting list, scheduling jobs, quantum design, design process steps, simulate, Quantum, java simulation, design and simulation project, cpu report, time quantum round robin scheduling program java, java round robin simulation, java program implement cpu scheduling, cpu scheduling java program round robin quantum, cpu scheduling using java, robin round program, java maintain, tables generator, program round robin scheduling, java program process cpu scheduling, project using queue, java rest example, scheduling cpu using, generate random number, java round robin, scheduling program java

Project ID: #4516666

6 freelancers are bidding on average $156 for this job

dobreiiita

Hi, I am Java and operating system expert, Please let me help you with this project. Thanks

$149 USD in 2 days
(182 Reviews)
6.5
osminosm

i think i can do it

$255 USD in 7 days
(2 Reviews)
2.6
hiranthar

With my 5 years of experience that can be done very easily.

$111 USD in 5 days
(0 Reviews)
0.0
dronalabs

Hi we have system engineering background which deals in mostly optimizing the OS tweaks to optimize the application efficiency. we understand your requirement and can do it with ease. Please see your PM for more detai More

$155 USD in 2 days
(0 Reviews)
0.0
Cride5

I'm a professional Java developer with a first class Computer Science degree, PhD involving computer simulation and over 2 years experience as a developer in robotics. I'm confident I can help you.

$100 USD in 3 days
(0 Reviews)
0.0
ajaychaudhary77

Hi i would like to work with you

$166 USD in 7 days
(0 Reviews)
0.0