Suljettu

simulate round-robin process scheduling55

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.

Taidot: Java

Näytä lisää: round robin scheduling program using queue, 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

Tietoa työnantajasta:
( 0 arvostelua ) Saudi Arabia

Projektin tunnus: #4516757

5 freelanceria on tarjonnut keskimäärin 116$ tähän työhön

dobreiiita

Hi, I m Java expert and can surely help you here, Thanks

$149 USD 3 päivässä
(182 arvostelua)
6.5
it2051229

Hi, I would like to do this project please. Let me know if you are interested. Thanks.

$111 USD 3 päivässä
(182 arvostelua)
6.2
rakib062

Already done process scheduling suing Round Robin, FCFS,Priority queue and other methods in C++. Can complete within shortest time in Java. thanks

$111 USD 3 päivässä
(15 arvostelua)
4.1
topcoder9793

Hi I am a Java J2EE developer and already done similar CPU scheduling application in freelancer. I have gone through your requirement and confident to handle the project. Please let me know if you are interested. Tha Lisää

$100 USD 5 päivässä
(4 arvostelua)
2.5
hiranthar

Lets do this. With my 5 years of java experience more than enough to do this.

$111 USD 5 päivässä
(0 arvostelua)
0.0