CPU Scheduling Program in Java ROUND ROBIN - Repost

Zamknięty Opublikowano Oct 30, 2014 Płatność przy odbiorze
Zamknięty Płatność przy odbiorze

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.

Java

Numer ID Projektu: #6663889

O projekcie

13 ofert Zdalny projekt Aktywny Dec 6, 2014

13 freelancerów złożyło ofertę za $70 w tym projekcie

nani01029x

Dear sir, I have done many projects in both Java and Operating System and got some positive feedback from clients. You can check my profile for more information. Let me help you. I'm ready to get started right now. Więcej

$60 USD w ciągu 3 dni
(99 Oceny)
0.0
potiop

((((((((((((((((PLEASE CHAT ME i can help you very low budget)))))))))))))))))))))))) ......................................................................................................................

$60 USD w ciągu 1 dnia
(0 Oceny)
0.0
quanlitysource

A proposal has not yet been provided

$66 USD w ciągu 3 dni
(83 Oceny)
0.0
ks930

am very good at java and data structures, i can do this. In fact am very interested to implement.

$66 USD w ciągu 3 dni
(1 Ocena)
0.0
dobreiiita

A proposal has not yet been provided

$60 USD w ciągu 1 dnia
(376 Oceny)
0.0
pablotorres

A proposal has not yet been provided

$144 USD w ciągu 3 dni
(2 Oceny)
0.0
lovinagarwal21

I have 9+ years of exp in c c++ java j2ee hibernate spring webservices databases. Done multiple projects like this and almost proficient in design patterns..Checkout my reviews, all projects were completed successfully Więcej

$66 USD w ciągu 3 dni
(127 Oceny)
0.0
it2051229

Hi, I am placing my bid on your project because I have read the requirements and I am confident enough with my Java and algorithm skills. I have implemented Round Robin simulation before. I am focused mostly on doing c Więcej

$60 USD w ciągu 1 dnia
(1024 Oceny)
0.0
Yknox

Hello I'm interesting your project very well I'm a Good Java, OS, Math, Algorithm expert. I understand your req exactly. I m quite well experienced in these assignment jobs. Let's go ahead with me I want to s Więcej

$65 USD w ciągu 1 dnia
(422 Oceny)
0.0
agienthea

Hi, I am java programmer since 2003, but most off all project that i handle is application on Information System, insurance, logistic, sales, accounting. but i would like to take a shoot on this project, if i may.

$77 USD w ciągu 3 dni
(0 Oceny)
0.0
hbxfnzwpf

I am very proficient in java. I have 12 years java developing experience. I have worked for 5 years, my work is online game developing, and mainly focus on server side, the language is java under linux, I am proficint Więcej

$64 USD w ciągu 1 dnia
(53 Oceny)
0.0
pguevara

Don't pay me. Yes, you're right. You don't have to. I'll work on your project free of charge and if you're satisfied with my performance you can make any of the ff: 1. You can pay me a positive feedback or leave Więcej

$60 USD w ciągu 3 dni
(0 Oceny)
0.0