Discussion Topic: Watch this video: “Why those who feel they have more give less?” https://www.upworthy.com/take-two-normal-people-add-money-to-just-one-of-them-and-watch-what-happens-next?c=fea State and justify your position to the following question: “Do you believe that the findings of this study apply to Canada?”

Your task is to develop a simulation of a dispatcher/scheduler that assigns processes (or jobs) to a set of available processors or processing nodes.

Assume that your computing infrastructure has 6 processors available. Processors are identified as PA, PB, …, PF. Now consider the system contains n = 250 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 – 10 *1012 cycles). Memory requirements are assigned at random (1 MB – 16GB).

For questions 1 – 3, you may assume that the set of 250 processes is known a‐priori; Hence, your algorithms will have full knowledge of all the processes in the system at the start of the simulation.

1. Suppose that all 6 processors are identical (i.e., same speed and memory), benchmark each of the following scheduling algorithms that we talked about in class. Compute the average wait time and average turnaround time for each scheduling algorithm.

a. FIFO

b. SJF

c. RR

2. Modern CPU design is moving towards the heterogenous computing architecture. Made famous by ARM and their big.LITTLE design, newer CPUs have been designed with two types of processor cores. A set of power‐saving efficiency cores paired with high‐performance cores. Assume that our system has been upgraded to use a heterogenous CPU with half of the cores are efficiency cores. Specifically: PA = PB = PC = 2 GHz, and PD = PE = PF = 4GHz. Develop an algorithm that minimizes the turnaround time of the set of processes.

3. In order to execute a process on a specific processor, sufficient memory has to be available. Assume that the processing nodes are identical in speed to Part 2 but have the following memory availability: PA = PB = PC = 8 GB, and PD = PE = PF = 16GB. Modify your algorithm from Q2 to assign processes to the previously described processors.  Show how well your algorithm minimizes the turnaround time of the set of 200 processes. Compare the results of your solution to the results from Part 2.

4. Finally, modify your scheduling algorithm so that it can deal with the sequential arrival of the 250 processes. The scheduler cannot inspect the entire set of processes but must schedule them one by one in the order that they arrive. What is the best turnaround time you can achieve?

NOTE: You do not need to generate actual processes. You only work with the set of “synthetic” processes.

Deliverables: Write an approximately 5‐page report that highlights the problem and describes your scheduling algorithm. You must discuss all the limitations and assumptions. In detail, show how you analyzed the performance (i.e., turnaround time and/or average waiting time) and present your results. You must submit your programs (i.e. algorithms) with your report

Hide 

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
$26
The price is based on these factors:
Academic level
Number of pages
Urgency
Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
Paper format
  • 275 words per page
  • 12 pt Arial/Times New Roman
  • Double line spacing
  • Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Read more

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Read more

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Read more

Privacy policy

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

Read more

Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

Read more
error: Content is protected !!