The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 3 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
Complete the problems in the file CDA3100_Ch1_Exercises linked below. Put your answers in a word processor document, such as LibreOffice Writer or MS Word. A hand-written then scanned submission is OK as long as it is legible. Export to a PDF to ensure content is displayed as intended. Attach the file here.
You must show all work to earn credit for each problem.Â
Two files are provided. The PDF is the official version of the assignment. I included the ODT if you would like to use it as a template. Please verify the content with the PDF as different word processors may not display all the content correctly.
Â
CDA3100 Chapter 1 ExercisesConsider two machines with two different instruction sets.Each machine has a 2Ghz clock and thefollowing measurements are recorded upon execution of a program.Machine AInstruction ClassArithmeticLoad/StoreBranchInstruction Count(millions)642CPI124Machine BInstruction ClassArithmeticLoad/StoreBranchInstruction Count(millions)1051CPI2241 – (4 points) For Machine A, what is the average CPI and execution time?2 – (4 points) For Machine B, what is the average CPI and execution time?For Machine A only, consider that the program is parallized to run on 1, 2, and 4 processors.Assumethat as the program is parallelized to run over multiple cores, the number of instructions are evenlydivided between processors.3 – (6 points) What is the total execution time for this program on 1, 2, and 4 processors?Also, what isthe speedup relative to the single processor result?Now assume that as the program is parallelized to run over multiple cores, the number of instructionsper processor are divided by 0.5p, where p is the number of processors.4 – (6 points) What is the total execution time for this program on 1, 2, and 4 processors?Also, what isthe speedup relative to the single processor result?I suggest using a table similar to the following to help answer questions 3 and 4.ProcessorsArithmeticLoad/StoreBranchExecution Time124
CDA3100 Chapter 1 ExercisesConsider two machines with two different instruction sets.Each machine has a 2Ghz clock and thefollowing measurements are recorded upon execution of a program.Machine AInstruction ClassArithmeticLoad/StoreBranchInstruction Count(millions)642CPI124Machine BInstruction ClassArithmeticLoad/StoreBranchInstruction Count(millions)1051CPI2241 – (4 points) For Machine A, what is the average CPI and execution time?2 – (4 points) For Machine B, what is the average CPI and execution time?For Machine A only, consider that the program is parallized to run on 1, 2, and 4 processors.Assumethat as the program is parallelized to run over multiple cores, the number of instructions are evenlydivided between processors.3 – (6 points) What is the total execution time for this program on 1, 2, and 4 processors?Also, what isthe speedup relative to the single processor result?Now assume that as the program is parallelized to run over multiple cores, the number of instructionsper processor are divided by 0.5p, where p is the number of processors.4 – (6 points) What is the total execution time for this program on 1, 2, and 4 processors?Also, what isthe speedup relative to the single processor result?I suggest using a table similar to the following to help answer questions 3 and 4.ProcessorsArithmeticLoad/StoreBranchExecution Time124
Attachments:
-----------