In Progress

simulation program in Java for testing the performance of CPU algorithms

Design of a few OS components by simulation. These components include CPU management and scheduling, process management, system queues, system statistics gathering and reporting. write a simulation program in Java for testing the performance of their designs of a few CPU scheduling algorithms for a simple computer with limited HW / SW system, then report their findings, conclusions, and suggest improvements. System Description 1. The Available Hardware a. A single CPU. b. One I/O Device. c. Unlimited amount of Main and Secondary storage. d. System Timer and all necessary support. 2. The User Processes All processes created in this system fall under any one of the following types: Type-1: Consists of: 10 CPU bursts of the following lengths: (1,2,1,1,1,3,1,2,2,1) Time Units, 9 I/O bursts of the following lengths: (6,4,10,3,5,3,2,10,6) Time Units. Type-2: Consists of: 15 CPU bursts of 50 Time Units each, and 14 I/O bursts of 150 Time Units each. Type-3: Consists of: 12 CPU bursts of 1000 Time Units each, and 11 I/O bursts of 5 Time Units each. Type-4: Consists of: A repeated pattern of (CPU, I/O1, Think, I/O2), where: Each CPU burst takes 3 Time Units, Each I/O1 burst takes 3 Time Units, Each I/O2 burst takes 10 Time Units, Think time takes 60 Time Units. What to do Write a Java program to simulate the above system. The input to the program should be through command-line parameters as follows: 1. The total number of time steps for the run, S, integer > 100; default = 100. 2. The ready queue type, integer, 1:FCFS, 2:SJF, 3:RR, 4:MLFQ, 5:lottery; default = 1. 3. The minimum quantum size, Q, to use as a basis of RR and MLFQ, integer > 0; default = 1. 4. The maximum number of Type-4 jobs, N, integer [0 .. 100]; default = 5. 5. The expected number of new jobs arriving per time unit, v, double [0 .. 1]; default = 0.5. 6. If implemented, the minimum number of tickets, t, integer > 0; default = 5. 7. If implemented, the maximum number of tickets, T, integer > t; default = 100. 8. If implemented, the speed of giving/taking tickets, c , multiple of Q, integer > 0; default = 0. Choose an appropriate value for Q and v, Let N=20 and S=100,000 and run your program 5 times using the same values of Q, v, N, and S but each time with a different Queue type. Also, if implemented, choose suitable values for lottery parameters, t, T and c. Show the contents of all system queues, only for the first 20 time steps. After each run, your output should also show all your input values, the queue type used, and all the statistics reported by the statistics-collecting module. Discuss the statistics coming out of the five runs as to the effect of the scheduling algorithm, quantum time, job types and their numbers, the expected value, and so on.

Skills: Algorithm, Java, Software Architecture

See more: cpu scheduling simulator online, round robin scheduling simulator, bank simulation program java, cpu scheduling algorithms simulation using java, cpu scheduling program java, roulette simulation program java, write program java script design simple calculator, write program java design puzzle game, simulation program cc java, queue simulation program java, java keyboard input simulation program, can use testing program gpa program java program, using testing program gpa program java program, queueing simulation program java, simulation queue program java, page replacement algorithms program java, processor scheduling program java simulation round robin

About the Employer:
( 0 reviews ) jeddah, Saudi Arabia

Project ID: #16625661

Awarded to:

juniadsarfraz

Designed and Developed many algorithms. Contact me with more details. I am interested. Thanks

$155 USD in 3 days
(124 Reviews)
0.0

8 freelancers are bidding on average $195 for this job

$350 USD in 3 days
(56 Reviews)
0.0
hawkscodeau

Hi, I can start work on your project immediately once you confirm me and i am also open for further discussion if you want. I have 7+ years in web designing & development with good experience in following skill More

$200 USD in 3 days
(2 Reviews)
0.0
PunctualityMan

Hi! I am very familiar with Java. I have 5 years of experience in java develop. I can do your project. please discuss your project. Thanks!

$111 USD in 3 days
(5 Reviews)
0.0
anduhc

HIGHLY interested with your project. I'm ready to start right now. My completion rate is always 100% and I STRICTLY BITE WHICH I CAN CHEW. Knock me please

$150 USD in 3 days
(14 Reviews)
0.0
$277 USD in 5 days
(23 Reviews)
0.0
mantsoetoro

I have experiences built software for computer performance monitor, you can check at my portfolio. I can finish this project for 14 days, in 7 days, the software done, and in 14 days all will clear

$250 USD in 14 days
(3 Reviews)
0.0
AhmedLabib93

Hello My name is Ahmed, i'm a top rated freelancer. i worked over 400 projects and over 700 hours doing java projects. plus i passed freelancer java v3 exam with score 3.75 plus i got 2 java certificate 1Z0-803 an More

$70 USD in 3 days
(389 Reviews)
0.0