CH02 COA10e
CH02 COA10e
William Stallings
Computer Organization
and Architecture
10th Edition
RC delay
Speed at which electrons flow limited by resistance and
capacitance of metal wires connecting them
Delay increases as the RC product increases
As components on the chip decrease in size, the wire
interconnects become thinner, increasing resistance
Also, the wires are closer together, increasing capacitance
Memory latency
Memory speeds lag processor speeds
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
+
or
Which is better?
By how much?
Are the programs equally important?
+
Performance
MIPS
easy to understand
BENCHMARKS:
Measures such as MIPS and MFLOPS have
proven inadequate to evaluating the
performance of processors. Because of
differences in instruction sets, the instruction
execution rate is not a valid means of
comparing the performance of different
+
Performance
Some Aggregate Job Mix Options
Arithmetic mean –To obtain a reliable
comparison of the performance of
various computers, it is preferable to run
a number of different benchmark
programs on each machine and then
average the results. For example, if m
different benchmark program, then a
simple arithmetic mean can be
calculated as follows where Ri is the high-level
i
language instruction execution
rate for the ith benchmark
program.
+
Performance
30 mph for the first 10 miles
Law
Illustrates the problems facing
industry in the development of
multi-core machines
Software must be adapted to a
highly parallel execution
environment to exploit the power
of parallel processing
The three
The use of benchmarks to common
compare systems involves formulas
calculating the mean value of
a set of data points related to used for
execution time calculating
a mean are:
• Arithmetic
• Geometric
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
• Harmonic
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
An Arithmetic Mean (AM) is an
appropriate measure if the sum of all
the measurements is a meaningful
and interesting value Arithmeti
The AM is a good candidate for c
comparing the execution time
performance of several systems
For example, suppose we were interested in using a system
for large-scale simulation studies and wanted to evaluate
several alternative products. On each system we could run
the simulation multiple times with different input values for
Mean
each run, and then take the average execution time across
all runs. The use of
multiple runs with different inputs should ensure that the
results are not heavily biased by some unusual feature of a
given input set. The AM of all the runs is a good measure of
+ the system’s performance on simulations, and a good
number to use for system comparison.
The AM used for a time-based variable, such as
program execution time, has the important
property that it is directly proportional to the
total time
If the total time doubles, the mean value
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
doubles
Table 2.2
A Comparison
of Arithmetic
and
Harmonic
Means for
Rates
Desirablecharacteristics of a
benchmark program:
SPEC
An industry consortium
Defines and maintains the best known collection of
benchmark suites aimed at evaluating computer systems
Performance measurements are widely used for comparison
and research purposes
SPEC
CPU2006
Integer
Benchmarks
SPEC
CPU2006
Floating-
Point
Benchmarks