Answered step by step
Verified Expert Solution
Question
1 Approved Answer
1. (9 pts 1.5 ea) Fallacies and Pitfalls (based on 1.12) In the section discussing fallacies and pitfalls, the book gives examples of why you
1. (9 pts 1.5 ea) Fallacies and Pitfalls (based on 1.12) In the section discussing fallacies and pitfalls, the book gives examples of why you do not want to use just a part of a performance equation to gauge whether one system is a better performer than another. Here are some examples Suppose we have two processors Pl and P2 with the following statistics lock RateAvg Instruction Processor P1 P2 (MHz)CP 3000 3100 Count 1.2 5.10E+09 16.00E+09 Note: 3100MHz-3.IGHz [5] One usual fallacy is to consider the computer with the largest clock rate as having the largest performance Let us define the true performance of a computer as the time required to complete running our program. Then we will compare this true measure of performance with some of the elements of that calculation in order to understand why they are not reliable predictors by themselves. Calculate the time each processor requires to finish their program. Show your work. a. Which processor has faster clock rate? b. The formula for CPU time is based on Cycles per Instruction (CPI), Instruction Count (IC), and Cycles per Second. What is it? c. Calculate P1's CPU time: d. Calculate P2's CPU time: e. Which processor required less time? . This is P1's performance This is P2's performance This is the performance leader
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started