Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Assume that your computing infrastructure has 5 processors available. Processors are identified as PA, PB, P. Consider n = 200 processes with different runtime requirements.

Assume that your computing infrastructure has 5 processors available. Processors are identified as PA, PB, P. Consider n = 200 processes with different runtime requirements. Specifically, each process has associated with it a burst time (processing time) and a memory requirement. Burst-times are assigned at random (10 * 106 cycles 50 *1012 cycles). Memory requirements are assigned at random (.25 MB 8GB). For questions 1 3, you may assume that the set of 200 processes is known a-priori; Hence, you will have to develop a function that can generate this set with random burst-times and memory requirements.

1. Suppose that all 5 processors are identical (i.e., same speed and memory), develop and impplementing a scheduling algorithm that assigns the set 200 processes to the 5 processors such that the total turnaround time to complete all 200 processes is minimized. Can you find the best assignment? How close does your scheduler approximate the best assignment?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Practical Database Programming With Visual Basic.NET

Authors: Ying Bai

1st Edition

0521712351, 978-0521712354

More Books

Students also viewed these Databases questions