Question: Consider two different machines, with two different instruction sets, both of which have a clock rate of 100 MHz. The following measurements are recorded on
Consider two different machines, with two different instruction sets, both of which have a clock rate of 100 MHz. The following measurements are recorded on the two machines running a given set of benchmark programs:
| Instruction Type | Instruction count (million) | Total cycles consumed for instructions in Column 2 (million) |
| Machine A |
|
|
| Arithmetic | 7 | 7 |
| Load and Store | 4 | 12 |
| Branch | 2 | 8 |
| Others | 4 | 12 |
| Machine B |
|
|
| Arithmetic | 10 | 10 |
| Load and Store | 8 | 16 |
| Branch | 3 | 9 |
| Others | 4 | 16 |
(a). Determine the average CPI, MIPS, and execution time for each machine.
(b). What is a better measure of performance and why?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
