CPU Scheduling Program in Java ROUND ROBIN

ปิด โพสต์แล้ว 7 ปีที่ผ่านมา ชำระเงินเมื่อจัดส่ง
ปิด ชำระเงินเมื่อจัดส่ง

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 JavaScript

หมายเลขโปรเจค: #11102135

เกี่ยวกับโปรเจกต์

19 ข้อเสนอ โปรเจกต์ระยะไกล ใช้งาน %project.latestActivity_relativeTime|แทนที่%

freelancer 19 คน กำลังเสนอราคาในงานนี้ โดยมีราคาเฉลี่ยอยู่ที่ $115

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 ใน 1 วัน
(1123 รีวิว)
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, เพิ่มเติม

$105 USD ใน 3 วัน
(166 รีวิว)
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 เพิ่มเติม

$100 USD ใน 2 วัน
(421 รีวิว)
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- เพิ่มเติม

$100 USD ใน 2 วัน
(408 รีวิว)
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 เพิ่มเติม

$49 USD ใน 1 วัน
(274 รีวิว)
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 เพิ่มเติม

$60 USD ใน 3 วัน
(114 รีวิว)
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 ใน 10 วัน
(29 รีวิว)
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 ใน 2 วัน
(9 รีวิว)
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 ใน 0 วัน
(15 รีวิว)
3.8
$77 USD ใน 5 วัน
(4 รีวิว)
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 ใน 3 วัน
(3 รีวิว)
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 ใน 3 วัน
(1 รีวิว)
1.3
NumanArif

A proposal has not yet been provided

$83 USD ใน 1 วัน
(2 รีวิว)
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 เพิ่มเติม

$70 USD ใน 4 วัน
(2 รีวิว)
1.0
hanyhanyfouad

Proposal

$50 USD ใน 4 วัน
(0 รีวิว)
0.0