Find Jobs
Hire Freelancers

process simulation

$30-70 USD

Closed
Posted almost 22 years ago

$30-70 USD

Paid on delivery
You are to simulate the execution of interactive processes by a computer system with a large memory, one terminal per user, a CPU, and a disk unit. Each process will be described by its start time followed by a sequence of resource requests. It must be written in C or C++. These resources requests will include: a) CPU requests (CPU), b) disk reads (DISK ) and c) terminal accesses (TERMINAL). Your input will be a sequence of pairs as in: QUANTUM 100 START 12000 CPU 100 TERMINAL 5000 CPU 100 DISK 10 CPU 20 TERMINAL 2000 START 12000 CPU 30 ... All times will be expressed in milliseconds When a process exceeds its CPU quantum, the OS will move that process to the end of the ready queue and allocate the CPU to the first process in line (head of the ready queue). To simplify your life, we will assume that: a)there is enough memory space for all processes, b)context switch times can be neglected, c)user think times are included in the terminal access times, and d)each process reads and writes to a different terminal. When all the processes in your input stream have completed, your simulator should print a summary report listing: a)the CPU quantum, b)the number of processes that have completed, c)the total number of disk accesses, d)the average duration of a disk access (including the waiting time in the disk queue), e)the total time elapsed since the start of the first process, f)the maximum lengths of the CPU and disk queues, g)the CPU and disk utilizations, that is, the fraction of time the CPU was busy. ## Deliverables Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased. All the specifications of the programs must be met. All the programs should be original. It must not have any similarity to the programs you have worked or are working on in similar project. ## Platform UNIX ## Deadline information only want bids from coder who have not worked on and are not working on the similar projects.
Project ID: 2854706

About the project

5 proposals
Remote project
Active 22 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
5 freelancers are bidding on average $48 USD for this job
User Avatar
See private message.
$49.30 USD in 14 days
4.8 (44 reviews)
5.4
5.4
User Avatar
See private message.
$51 USD in 14 days
4.4 (72 reviews)
5.5
5.5
User Avatar
See private message.
$59.50 USD in 14 days
5.0 (35 reviews)
5.0
5.0
User Avatar
See private message.
$51 USD in 14 days
4.5 (17 reviews)
3.3
3.3
User Avatar
See private message.
$29.75 USD in 14 days
4.8 (16 reviews)
3.1
3.1

About the client

Flag of UNITED STATES
United States
0.0
0
Member since Jun 5, 2002

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.