Find Jobs
Hire Freelancers

Project4: Process Scheduling

$10-30 USD

Completed
Posted over 3 years ago

$10-30 USD

Paid on delivery
The goal of this project is to learn about process scheduling inside an operating system. You will work on the specified scheduling algorithm and simulate its performance. In this project, you will simulate the process scheduling part of an operating system. You will implement time-based scheduling, ignoring almost every other aspect of the OS. Please use message queues for synchronization. The operating system simulator, or OSS, will be your main program and serve as the master process. You will start the simulator (call the executable oss) as one main process who will fork multiple children at random times. The randomness will be simulated by a logical clock that will also be updated by oss. In the beginning, oss will allocate shared memory for system data structures, including a process table with a process control block for each user process. The process control block is a fixed size structure and contains information to manage the child process scheduling. Notice that since it is a simulator, you will not need to allocate space to save the context of child processes. But you must allocate space for scheduling-related items such as total CPU time used, total time in the system, time used during the last burst, your local simulated pid, and process priority, if any. The process control block resides in shared memory and is accessible to the children. Since we are limiting ourselves to 20 processes in this class, you should allocate space for up to 18 process control blocks. Also create a bit vector, local to oss, that will help you keep track of the process control blocks (or process IDs) that are already taken.
Project ID: 27849551

About the project

2 proposals
Remote project
Active 3 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
Awarded to:
User Avatar
$0 USD in 4 days
5.0 (17 reviews)
3.6
3.6
2 freelancers are bidding on average $33 USD for this job
User Avatar
Hi! I am an expert in C, C++ and Operating Systems. I would be easily able to help you regarding any task related to them. Kindly message me to discuss more details. Thank you!
$20 USD in 1 day
5.0 (26 reviews)
4.0
4.0

About the client

Flag of UNITED STATES
St. Louis, United States
5.0
4
Payment method verified
Member since Sep 12, 2020

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) & Freelancer Online India Private Limited (CIN U93000HR2011FTC043854)
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.