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
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