Question

In: Computer Science

Explain by providing an example, why MIPS is not an accurate measure for computing performance among...

Explain by providing an example, why MIPS is not an accurate measure for computing performance among computers?

Solutions

Expert Solution

Consider an Example
clock rate = 500 MHz = 500*10^6
Compiler 1
Instruction A count = 5 x 10^9       CPI = 1
Instruction B count = 1 x 10^9       CPI = 2
Instruction C count = 1 x 10^9       CPI = 3
Compiler 2
Instruction A count = 10 x 10^9       CPI = 1
Instruction B count = 1 x 10^9       CPI = 2
Instruction C count = 1 x 10^9       CPI = 3

Total CPU Clock cycles by compiler 1 = (5 * 1 + 1 * 2 + 1 * 3) * 10^9 = 10 * 10^9
Total CPU Clock cycles by compiler 2 = (10 * 1 + 1 * 2 + 1 * 3) * 10^9 = 15 * 10^9
CPU time1= (10 * 10^9)/ (500 * 10^6) = 20 seconds
CPU time2= (15 * 10^9)/ (500 * 10^6) = 30 seconds

MIPS1 = (5 + 1 + 1) * 10^9/ (20 * 10^6) = 350
MIPS2 = (10 + 1 + 1) * 10^9/ (30 * 10^6) = 400

From above example, we can see that
MIPS(2) is greater than MIPS(1)

But execution time of 1 is lesser than 2.
Therefore, MIPS is not an accurate measure for computing performance among computers.


Related Solutions

Explain why monitoring is important, and suggest why the measure of performance can be problematic. Suggest...
Explain why monitoring is important, and suggest why the measure of performance can be problematic. Suggest alternative measures of performance.
Explain why monitoring is important, and suggest why the measure of performance can be problematic. Suggest...
Explain why monitoring is important, and suggest why the measure of performance can be problematic. Suggest alternative measures of performance.
Explain using an example why computing lift ratio is better in assessing soundness of an association...
Explain using an example why computing lift ratio is better in assessing soundness of an association rule than just using support for the products associated in the rule or confidence in the rule. What is the practical significance of lift ratio less than 1?
Explain why the earnings per share (EPS) may not be an appropriate measure of financial performance?
Explain why the earnings per share (EPS) may not be an appropriate measure of financial performance?
As we know, dollar-weighted average return is a more accurate way to measure security return performance...
As we know, dollar-weighted average return is a more accurate way to measure security return performance if we buy or sell securities from time to time. Suppose you have the following price information for a risky security for several recent years. Assume that the stock pays no dividends Year Beginning of year price # of share bought or sold 2017 $50 100 bought 2018 $55 50 bought 2019 $51 75 sold 2020 $54 75 sold      What is the dollar-weighted average...
What are standards, and why is interoperability among standards so important? Explain with an example.
What are standards, and why is interoperability among standards so important? Explain with an example.
Explain why economists like to use performance in follow-on courses to measure professor quality as opposed...
Explain why economists like to use performance in follow-on courses to measure professor quality as opposed to performance in the student's current courses.
Explain the concept of substitution effect, while also providing an example(this must be an example of...
Explain the concept of substitution effect, while also providing an example(this must be an example of your life experience and be specific).
Explain how the data generated can be analysed to give you an accurate measure of gene...
Explain how the data generated can be analysed to give you an accurate measure of gene expression can u tell me plzz
why Bradford method is more accurate than UV method when measure the concentration of protein?
why Bradford method is more accurate than UV method when measure the concentration of protein?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT