Find Jobs
Hire Freelancers

CPU scheduling simulation

₹1500-12500 INR

ปิดแล้ว
โพสต์ มากกว่า 2 ปีที่ผ่านมา

₹1500-12500 INR

ชำระเงินเมื่อส่งงาน
Create 10 processes of random execution time with lengths uniformly distributed between 2 and 4 minutes (use the uniform distribution method for random number generation). • For each process, the times between I/O requests (i.e, CPU bursts) are distributed exponentially. The mean inter-I/O intervals for the processes are respectively 30ms, 35ms, 40ms, 45ms, 50ms, 55ms, 60ms, 65ms, 70ms, and 75ms. • Each time an I/O is needed it takes precisely 60 ms. • A process, once it enters the system and before it exits it, can be either in the Ready Queue, or the I/O queue. (It is convenient to consider the process at the front of the Ready Queue to be serviced by the CPU, and the process at the front in the I/O Queue to be serviced by the channel that deals with all I/O devices; however, care should be taken to count the time of the process being serviced separately from waiting time.) Correspondingly, your data objects will be the Process Control Block, the Ready Queue, and the I/O Queue along with the event object. The task is to write the simulation of the system behaviour for the whole period of the execution, while computing and collecting the following statistics: CPU utilization, throughput (i.e., the average number of processes completed in a unit of time), turnaround time (i.e., the average time it took to execute a process), and average waiting time. a) Different simulation runs are to be performed with the First-Come-First-Serve and Shortest-Job-First (SJF) algorithms. For simplicity, use the actual burst times that you have generated rather than predict them with exponential averaging. b) Think about the conditions under which average waiting time increases with the decreasing quantum in Round Robin and under what conditions it decreases with the decreasing quantum. Write a statement describing these conditions. (Note: There is no need to use a quantum that is larger than the maximum CPU burst [computed on the set of all the processes] since in this case RR reduces to FCFS.) c) Design experiments to test your statements in Part b). In the first experiment, the processes will satisfy the conditions you listed and will cause the average waiting time to increase with decreasing quantum. In the second experiment, the processes will satisfy the condition you listed that will cause the average waiting time to decrease with decreasing quantum. Each experiment should have about 5 runs, which differ only in the respective value of the quantum. Design some experiments with the following characteristics: o At least 10 processes are used, each having many CPU bursts. o the largest and smallest CPU burst averages differ by a factor of at least 2. o The CPU utilization is between 50 and 90 percent.
รหัสโปรเจกต์: 32303588

เกี่ยวกับโปรเจกต์

1 ข้อเสนอ
โปรเจกต์ระยะไกล
ใช้งานอยู่ 2 ปีที่ผ่านมา

กำลังมองหาการสร้างรายได้ใช่ไหม?

ประโยชน์ของการประมูลกับ Freelancer

กำหนดงบประมาณและกรอบเวลาของคุณ
รับเงินจากการงานของคุณ
อธิบายข้อเสนอของคุณในภาพรวม
ลงทะเบียนและเสนอราคาฟรี

เกี่ยวกับลูกค้า

ปักธงของ INDIA
Bengaluru, India
0.0
0
เป็นสมาชิกตั้งแต่ พ.ย. 25, 2021

การยืนยันลูกค้า

ขอบคุณ! เราได้ส่งลิงก์สำหรับเครดิตฟรีให้คุณทางอีเมลแล้ว
เกิดข้อผิดพลาดขณะส่งอีเมลของคุณ กรุณาลองอีกครั้ง
โลโก้ Freelancer Thailand / ภาษาไทย ช่วยเหลือและสนับสนุน FreelancerประเภทโปรเจคการประกวดFreelancerองค์กรแพ็กเกจสมาชิกโครงการ Freelancer ชั้นแนวหน้าการจัดการโปรเจคงานในพื้นที่Photo Anywhereหน้าจัดแสดงผลงานAPI สำหรับนักพัฒนาได้รับการยืนยันDesktop App เกี่ยวกับเกี่ยวกับเราวิธีใช้งานความปลอดภัยนักลงทุนแผนผังเว็บไซต์เรื่องราวข่าวออกสื่อทีมรางวัลข่าวประชาสัมพันธ์ร่วมงานกับเรา ข้อกำหนดนโยบายความเป็นส่วนตัวข้อกำหนดและเงื่อนไขนโยบายลิขสิทธิ์ข้อพึงปฏิบัติค่าธรรมเนียมและค่าบริการหุ้นส่วนEscrow.comLoadshiftWarrior Forum แอปโลโก้ Apple App Store โลโก้ Google Play
ไม่สามารถคัดลอกไปยังคลิปบอร์ดได้ โปรดลองอีกครั้งหลังปรับเปลี่ยนการอนุญาต
คัดลอกไปยังคลิปบอร์ดแล้ว
ผู้ใช้ที่ลงทะเบียน งานที่มีการโพสต์ทั้งหมด
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
กำลังโหลดตัวอย่าง
ได้รับอนุญาตสำหรับตำแหน่งทางภูมิศาสตร์
เซสชั่นการเข้าสู่ระบบของคุณหมดอายุและคุณได้ออกจากระบบแล้ว กรุณาเข้าสู่ระบบอีกครั้ง