Assume that we test the performance of two processors, P1 and P2, on a program. We find the following about each: Processor P1 has a CPI of 2 and executes 2 billion instructions per second. Processor P2 has a CPI of 1 and executes 8 billion instructions per second. Which processor has higher performance on this program? (Recall that CPI stands for Cycles Per Instruction.)
Assume that we test the performance of two processors, P1 and P2, on a program. We find the following about each: Processor P1 has a CPI of 2 and executes 2 billion instructions per second. Processor P2 has a CPI of 1 and executes 8 billion instructions per second. Which processor has higher performance on this program? (Recall that CPI stands for Cycles Per Instruction.) Correct Answer Not enough information to cell
The correct answer is option 1.
Concept:
The given data,
The processor P1 clock speed = 2 Cycles Per Instruction.
The processor P1 execution speed = 2 billion instructions per second.
The processor P2 clock speed = 1 Cycles Per Instruction.
The processor P2 execution speed = 8 billion instructions per second.
Higher performance=?
In general, a higher clock speed means a faster CPU. However, many other factors come into play. Your CPU processes many instructions (low-level calculations like arithmetic) from different programs every second. The clock speed measures the number of cycles your CPU executes per second, measured in GHz (gigahertz).
Hence the given information is not sufficient to compare the performance.
Hence the correct answer is not enough information to the cell.