Find Jobs
Hire Freelancers

CPU Scheduling - 27/04/2018 13:48 EDT

$200-350 USD

Cancelled
Posted almost 6 years ago

$200-350 USD

Paid on delivery
Objectives The purpose of this programming project is to gain some experience involving the design of a few OS components by simulation. These components include CPU management and scheduling, process management, system queues, system statistics gathering and reporting. System Description: 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. Any of the types above can be created at any time. Type-4 has a maximum of N instances. No new processes of this type can be created after this limit. Processes of Type-1 to Type-3 terminate after executing their last CPU burst, while processes of Type-4 never terminate, they cycle through their pattern forever. Assume that a process in its think period stays out of the Ready Queue, say in a special list. 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. PS: A design document is required
Project ID: 16803838

About the project

10 proposals
Remote project
Active 6 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
10 freelancers are bidding on average $324 USD for this job
User Avatar
Java and Java EE EXPERT here. I have worked on many OS projects and algos for short term and disk scheduling. I also handler interrutps . Contact me I am interested. Thanks
$500 USD in 10 days
5.0 (129 reviews)
7.2
7.2
User Avatar
Hello. How are you . I have read I have strong knowledge in Data structures, Algorithms Design, Computer Architecture, Operating System And I'm expert in Java, C/C++ etc. I'm interested in this project. Please send me a message so that we can discuss more. Then I'll be happy. I wait for your good reply. Thanks.
$300 USD in 5 days
4.9 (151 reviews)
6.3
6.3
User Avatar
Hello, I am Oracle certified professional java programmer and have Bsc.IT. I have done OS in my university also and have done similar assignments. I am ready to help you. thanks
$300 USD in 4 days
4.9 (248 reviews)
6.4
6.4
User Avatar
Hello I'm a software engineering student and an experieced java dev I've studied OS concepts last 2 semestres and I've studied process management which involves process scheduling I've also done a project on it here on freelancer please contact me over chat for more details.
$305 USD in 5 days
4.8 (40 reviews)
5.5
5.5
User Avatar
Hey there, I have been gone through your proposal and I can work on your project so come on chat for the further discussion Thanks
$305 USD in 10 days
4.7 (18 reviews)
5.0
5.0
User Avatar
Hi there, seeing the project and reading the description completely I have noticed that it's a time consuming task. So, I have bid a suitable amount of 350$ according to this project. Though, I can change it depending upon your budget so don't worry about it :) Kindly message me asap for further proceedings of the order. Best Regards, Ajwad
$350 USD in 12 days
5.0 (4 reviews)
2.5
2.5

About the client

Flag of SAUDI ARABIA
Jeddah, Saudi Arabia
5.0
1
Payment method verified
Member since Apr 26, 2018

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.