The Performance Equation
The Performance Equation
= × ×
program program instruction clock
This equation remains valid if the time units are changed on both sides
of the equation.
The left-hand side and
the factors on the right-hand side are discussed
in the following sections.
Performance Equation
Instruction Count
Effective Values
Clocks Per Instruction
Clock Time
Example
Improvements
Instruction Count
Clock Time
Clock time depends on transistor speed and the complexity of the work
done in a single clock.
Clock time can be
reduced when transistor sizes decrease.
However, power consumption increases when clock time is reduced.
This increase the amount of heat generated.
Instruction Count
Clock Time
Clock time (CT) is the period of the clock that synchronizes the
circuits in a processor.
It is the reciprocal of the
clock frequency.
For example,
a 1 GHz processor has a cycle time of 1.0 ns
and a 4 GHz processor has a cycle time of 0.25 ns.
For the past 35 years, integrated circuit technology has been greatly
affected by a scaling equation that tells how
individual transistor
dimensions should be altered as the overall dimensions are decreased.
The scaling equations
predict an increase in speed and a decrease in
power consumption per transistor with decreasing size.
Technology has improved so that about every 3 years, linear dimensions
have decreased by a factor of 2.
Transistor power consumption has decreased by a similar factor.
Speed increased by a similar factor until about
2005.
At that time, power consumption reached the point where air cooling was
not sufficient to keep processors
cool if the ran at the highest
possible clock speed.
Problem Statement
Problem Statement
Solution
Solution
Then we have
Problem Statement
Problem Statement
Solution Form
Solution
Solution Form
Solution
The performance ratio for frequencies must be less than 1.0: if other
factors are the same then a slower clock rate
implies worse performance.
So this factor of the improvement ratio must be 1.9/2.0.
For the clocks per instruction, we had a value of 3.7 before the change.
We compute clocks per instruction after
the change as an effective
value:
Value Frequency Product
3 0.5 1.5
4 0.3 1.2
4 0.2 0.8
CPI = 3.5
Then we have