CPU Scheduling Program in Java ROUND ROBIN

Closed Posted 7 years ago Paid on delivery
Closed Paid on delivery

Write a CPU scheduling program using Round Robin algorithm.

The simulation should implement:

• Clock – timestamps all events for processes - creation time, completion time

• Process creator – creates processes at arrival time (user-specified)

• CPU – runs processes for a time slice (user-specified).

• A FIFO Ready queue used by both the process creator and CPU

• Process arrival time – the time between the arrivals of new processes into the ready queue.

• Processes service time – amount of time required by the processes to complete execution.

• Time quantum – the time each process can spend in the CPU, before it is removed.

• Context switch – the number of times a process is switched

Performance Measurement Criteria should include the following:

• Average waiting time

• Average turnaround time

• CPU utilization

• Throughput

Present the result of the performance of the Round Robin scheduling algorithm for four different time quantum.

Note - This CPU scheduling simulator is not required to simulate the I/O operation, I/O waiting state, or interrupts.

Submission:

1. A properly documented source code and related output

2. A README file that describes the following:

• Introduction: a brief description of the problem and its goals;

• Implantation: a brief description of how to implement the RR scheduling algorithm and the queues involved to measure the performance criteria

• Empirical evaluation: a detailed description of your simulation, performance metrics

• Analysis of the results

• Conclusion

Suggestions:

1. Understanding of the CPU scheduling algorithm (Round Robin)

2. Goals of scheduling:

• CPU utilization – keep CPU 100% busy

• CPU throughput - maximize the number of jobs processed

• Turnaround time – minimize the time executing a process

• Waiting time – minimize amt of time process waits in the ready queue

• Response time – min amt of time from when a request is submitted until the first response (not output) is produced

3. Plan steps involved/requirements

4. Set up the environment for the scheduler

5. Define classes/subclasses used by the scheduler (CPU, clock, process, process creator, simulator, etc.), FIFO scheduler, and all the parameters involved.

6. Define queues (i.e., ready queue/FIFO and waiting queue) used by the scheduler, the data structure, and mechanisms used for each queue to determine when and which queue a process should enter, and when to be removed to resume execution or be terminated.

7. Keep track of context-switch time

8. Provide input to your simulator (time quantum, process arrival time, number of process, burst time of each process) process creator– a configuration file of the processes created at arrival time, can be used as input to the simulator, or a randomly generated process set. Using API, inputs can be entered interactively.

9. Output the sequence of events and show how the algorithm is executed and the performance of your scheduling algorithm for the same set of processes and their associated burst time, but different time quantum, in terms of the turnaround time, waiting time, CPU utilization, and throughput.

10. Empirical evaluation: Full accounting and statistics after the simulation completes - create processes with different arrival time and burst time. Run the scheduling algorithm on these processes (i.e., the same set of processes), with four different Time Quantum. Create metrics of the results and get the average of these metrics.

11. Analyze the result.

Engineering Java JavaScript

Project ID: #11102135

About the project

19 proposals Remote project Active 7 years ago

19 freelancers are bidding on average $115 for this job

it2051229

Hi there, I have read the requirements and I would like to do this project if given the opportunity. I've done round robin related projects before. Let me know if you are interested. Thanks.

$50 USD in 1 day
(1123 Reviews)
7.7
JinDongZhe

We are web & mobile development team of JinDongZhe freelancer We have powerful back-end(Java,Spring Framework, Hibernate, JPA, Oracle, Hadoop etc) and front-end(Android, iPhone, Hybrid App, Mobile web, Sencha ExtJS, More

$105 USD in 3 days
(166 Reviews)
7.6
dobreiiita

Hello I am Java and Algorithm expert and interested in this project. I have reviewed your requirements and confident to handle this project perfectly. I have a lot of experience in helping students with assignmen More

$100 USD in 2 days
(421 Reviews)
7.4
AhmedLabib93

Hello My name is Ahmed, i'm a top rated freelancer. i worked over 200 projects and over 500 hours doing java projects. plus i passed freelancer java exam with top 20% plus i got 2 java certificate 1Z0-803 and 1Z0- More

$100 USD in 2 days
(408 Reviews)
6.6
DucNA

Hi there, I'm a senior software developer who have over 250 completed projects and my account is qualified by this site (my page: https://www.freelancer.com/u/DucNA.html). Could you please send (or discuss with More

$49 USD in 1 day
(274 Reviews)
6.6
mahershahmeer

Hi there! I read the details you provided. I did the similar tasks related to Operating System Programming in Unxi/C. As I'm a Java developer professionally, I can do this job for you in less time because I already More

$60 USD in 3 days
(114 Reviews)
5.9
pmishu20

Hi. I have very detailed knowledge about cpu microarchitecture. I am developing CPU simulators. I can help you with this.

$150 USD in 10 days
(29 Reviews)
4.4
moizpalitan

Hi, I am a software engineer and I write such algorithms for realtime live environments too. I can easily get you good score in this assignment. Looking forward to work with you. Thank you

$100 USD in 2 days
(9 Reviews)
3.9
gauravwork

Hello, I am java programming tutor. i can implement all of given features . It is easy for me because these algorithms used in operating system, and i know its basics. kindly reply me. thank you

$70 USD in 0 days
(15 Reviews)
3.8
$77 USD in 5 days
(4 Reviews)
3.0
Uthmankhell

I have Done This Task Before. It's been similar to what i have done need small changes. We can discuss it further PM me....

$72 USD in 3 days
(3 Reviews)
2.0
javaconnect

Hey! I have made a similiar simulator already. I can help you with this project! Feel free to contact me

$444 USD in 3 days
(1 Review)
1.3
NumanArif

A proposal has not yet been provided

$83 USD in 1 day
(2 Reviews)
1.0
souravidec

Hi , We are pleased to have come across such a great opportunity. We are a team of 2 Engineers of A-tier colleges, holding precious centrally based certifications like OCJP,CCNA,Redhat. We have an experience of an av More

$70 USD in 4 days
(2 Reviews)
1.0
hanyhanyfouad

Proposal

$50 USD in 4 days
(0 Reviews)
0.0