Find Jobs
Hire Freelancers

Write some Software -- 3

$10-30 USD

종료됨
게시됨 7년 이상 전

$10-30 USD

제출할때 지불됩니다
Objective In this project, you will simulate a small part of operating system. You will gain knowledge of how operating system works. Moreover, you will measure the performance of various techniques, which will further enhance your understanding of the topic. Most importantly, you will show various statistics that reflects the efficiency of the techniques of interest and show some modification to the technique to enhance the overall performance. System Description: Consider a simple system with a single CPU, single I/O device. The CPU has a ready queue and an I/O queue. The system will serve several jobs sent in specified time one by one. You are required to simulate two different scheduling algorithms: 1. Shortest Job First (SJF non pre-emptive) 2. Round Robin (RR) assume quantum = 10ms However, once job is admitted to the ready queue, the state of the job switches to ready. Each job has PCB that contains all required information to identify the job such as its id, its state, and required statistics which include job nature (CPU bound or IO bound), turnaround time for each job, and waiting time for each job. You can add other fields to PCB to help you in programming. Your program should provide average turnaround time, average waiting time, and CPU utilization for a given input file. Possible Operations Start timer from zero to check for arrival time of process/job. Create Ready queue Start reading the file Create job queue Read the file for each job (a line from input text file) (using thread) Create PCB Put PCB in job queue Note: File reading should be performed in an independent thread that creates the PCBs and put them in the job Queue. Check time if first job has arrived in job queue Move job to ready queue (using thread). Apply scheduling algorithm Structure of input file Input to the program is from a text file. The file contains job/process ID, its arrival time and then a sequence of CPU bursts and IO requests as CSV. For each job/process there could be a varying number of CPU bursts and IO requests as shown below. ID;Arrival time;CPU Burst;IO;CPU;IO;CPU;IO;…;CPU Example file 1;500;CPU:20;IO:5;CPU:40;IO:15;CPU:70;IO:3;CPU:1 2;700;CPU:60;IO:15;CPU:1 … … Notes Your application must use threads (minimum two). Assume I/O requests finish in the order of submission. Context switching time is zero. Use physical timer. Show how to run your program and submit the implantation, results, and output files.
프로젝트 ID: 12337100

프로젝트 정보

10 제안서
원격근무 프로젝트
활동 중 7년 전

돈을 좀 벌 생각이십니까?

프리랜서 입찰의 이점

예산 및 기간 설정
작업 결과에 대한 급여 수급
제안의 개요를 자세히 쓰세요
무료로 프로젝트에 신청하고 입찰할 수 있습니다
10 이 프로젝트에 프리랜서들의 평균 입찰은 $74 USD입니다.
사용자 아바타
EXPERT here. VERY EASY for me, I have already implemented SJF and RR algorithms in Java. Contact me asap I can do this EASLY. Thanks, Junaid
$135 USD 4일에
4.9 (138 건의 리뷰)
6.9
6.9
사용자 아바타
I am very proficient in c and c++. I have 16 years c++ developing experience now, and have worked for more than 6 years. My work is online game developing, and mainly focus on server side, using c++ under linux environment. I used c++ to make many great projects, for example, I made the tools which can convert java files into c++ scripts, of course garbage collection included, this job is very similar to a compiler, and is very complex. I also made our own mobile game using c++, I can show you the demo of client, if you like. I am very proficient in java also. I have a very good review on Freelancer.com, I never miss a project once I accept the job, you can check my review. Trust me, please let expert help you.
$150 USD 3일에
4.8 (155 건의 리뷰)
7.1
7.1
사용자 아바타
Hi, I am competitive to this kind of task, can take good care of this project. In fact, I already done related to this job before. Let me know the best of your time so we can discuss further based on your requirements and we can move forward to the next step. Thanks, Joseph C Ocero
$194 USD 3일에
4.9 (14 건의 리뷰)
4.7
4.7
사용자 아바타
I am an experienced C and C++ programmer. I will implement your OS algorithms. Feel free to contact me for further details. Regards, Moeen Ahmed
$50 USD 10일에
4.9 (22 건의 리뷰)
4.7
4.7

고객에 대한 정보

국기 (SAUDI ARABIA)
Saudi Arabia
0.0
0
12월 10, 2016부터 회원입니다

고객 확인

감사합니다! 무료 크레딧을 신청할 수 있는 링크를 이메일로 보내드렸습니다.
이메일을 보내는 동안 문제가 발생했습니다. 다시 시도해 주세요.
등록 사용자 전체 등록 건수(일자리)
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
미리 보기 화면을 준비 중...
위치 정보 관련 접근권이 허용되었습니다.
고객님의 로그인 세션이 만료되어, 자동으로 로그아웃 처리가 되었습니다. 다시 로그인하여 주십시오.