Docsity

sim-error-errata.pdf, Exercises of Computer Networks

Toggle sidebar
bg1
Errata on "Measuring Experimental Error in Microprocessor Simulation"
Rajagopalan Desikan*, Doug Burger t, Stephen W. Kecklert, Llorenc Cl-uzt, Femando Latorret,
Antonio Gonz~llezt and Mateo Valero t
Computer Architecture and Technology Laboratory
tDepartment of Computer Sciences
*Deparlment of
E]ec.
& Computer Engineering
The University of Texas at Austin
tDepartment d'Arquitectura de Computadors
Universitat Politb:nica de Catalunya
Barcelona, Spain
1 History
and Summary
This short paper serves to correct the errors contained in the
paper entitled "Measuring Experimental Error in Micropro-
cessor Simulation," presented at the 2001 International Sym-
posium on Computer Architecture (ISCA-28) [2]. That paper
contained a study of a validated microarchitectural simulator
called sim-alpha,
and included a
case
study that compared
results obtained from a configuration of sire-alpha to those
reported by Cruz
et
~d. [1]. The comparison showed a disparity
in the results between the two studies, which was invalid due
to an error in the way the operand bypass network of s im-
aipha
was modified.
In this paper, we present a revised comparison that mod-
els the bypass network in
sire-alpha
consistently with the
work of Cruz et al (henceforth
called
the reference study). Af-
ter explaining the bypassing issues in detail, we show that the
new comparison between the revised results and the reference
study shows similar Irends, thus validating the accuracy of the
reference study.
In addition, we (the authors of the
sim-alpha
study)
would like to state explicitly that we regret any professional
harm caused to the authors of the reference study (Cruz,
C-onzilez, Valem, and Topham). The original intent was to
show that different simulators modeling similar targets could
cause different conclusions to be
drawn, ~us
emphasizing the
need for consistency across simulators and research efforts.
Since the comparison with the reference study was made with
a (modified) validated simulator, and the two sets of results
showed a different trend (because of the error in modeling the
bypass), it is natural to infer that the reference study was in-
correct. We thoughtlessly published the comparison without
contacting the authors of the reference study beforehand. We
apologize to them both for implying an error in their (correct)
methodology and for the discourteous way in which it was pre-
sented.
2 Partial bypassing
The bypass networks from the output of functional units to ear-
lier stages in the pipeline are essential for achieving high ILP.
Compared to current-generation machines, future machines
with deeper pipelines, wider issue cores, and larger wire/gate
delay ratios, have been shown to have unscalable bypass net-
works [4]. That ta'end has led some researchers to consider
partitioned architectures [3], and others to consider partial by-
pass networks.
To illustrate different bypass configurations, Figure I shows
a number of different bypass configurations for a single-issue
pipeline, modeled after the Alpha 21264. The stages are Fetch,
Slot, Map, Issue, Register Read, Execute, and Writeback. An
arc from the end of one stage to the beginning of another in-
dicates
a bypass path. Results are forwarded along that path,
between the two stages connected by the arc. A full-bypass
pipeline is one in which the value just computed in the e]tecute
stage can be forwarded to any previous stage between the issue
and execute stages.
Figure la shows a pipeline with a single-cycle register file
access. Since the pipeline supports full bypassing (from the
execute '~' stage to the register read "R" stage), instructions
B and C, which are both dependent on iuslruction A, can issue
in each of the two cycles following the issue of instruction A.
Figure Ib shows a pipeline, with full bypass, for which the
register file takes two cycles
m
access. Completed inslructions
may be bypassed to any of the intermediate latches, allowing
consumer instructions B and C to again issue in the two cy-
cles succeeAing producer instruction A. We will refer to this
organization as FB, for 'Tull bypass".
Figures lc and d show two different partial bypassing
pipelines, in which the set of bypass paths is incomplete, re-
stricting the cycles during which consumer inslructions may be
issued while a producer instruction is in flight. Both pipelines
incur two-cycle register mad delays, and each pipeline sup-
ports bypassing to one of those two stages. Figure lc shows
the partial bypass scheme measured by
Cruz et aL
[1]. The by-
pass path goes to stageR1, but not stage R2. Thus, a consumer
instruction B cannot issue in the cycle immediately following
the issue of the producer instruction A, as shown by the grey-
shaded pipeline bubble. This scheme has the advantage that
the issue control logic and scheduler are simple--once an in-
straction is woken up, it will always be possible to issue it. We
call this scheme PB-R1.
--2--
pf3

Partial preview of the text

Download sim-error-errata.pdf and more Exercises Computer Networks in PDF only on Docsity!

Errata on "Measuring Experimental Error in Microprocessor Simulation"

Rajagopalan Desikan*, D o u g B u r g e r t, Stephen W. Kecklert, L l o r e n c Cl-uzt, F e m a n d o Latorret, Antonio Gonz~llezt and M a t e o Valero t

ComputerArchitecture and TechnologyLaboratory

tDepartmentof ComputerSciences

*Deparlmentof E]ec. & ComputerEngineering

The University of Texas at Austin

tDepartmentd'Arquitecturade Computadors

UniversitatPolitb:nicade Catalunya

Barcelona, Spain

1 History and Summary

This short paper serves to correct the errors contained in the paper entitled "Measuring Experimental Error in Micropro- cessor Simulation," presented at the 2001 International Sym- posium on Computer Architecture (ISCA-28) [2]. That paper contained a study of a validated microarchitectural simulator called s i m - a l p h a , and included a case study that compared results obtained from a configuration of s i r e - a l p h a to those reported by Cruz et ~d. [1]. The comparison showed a disparity in the results between the two studies, which was invalid due to an error in the way the operand bypass network of s i m -

aipha was modified.

In this paper, we present a revised comparison that mod-

els the bypass network in sire-alpha consistently with the

work of Cruz et al (henceforth called the reference study). Af- ter explaining the bypassing issues in detail, we show that the new comparison between the revised results and the reference study shows similar Irends, thus validating the accuracy of the reference study.

In addition, we (the authors of the sim-alpha study)

would like to state explicitly that we regret any professional harm caused to the authors of the reference study (Cruz, C-onzilez, Valem, and Topham). The original intent was to show that different simulators modeling similar targets could

cause different conclusions to be drawn, ~us emphasizing the

need for consistency across simulators and research efforts. Since the comparison with the reference study was made with a (modified) validated simulator, and the two sets of results showed a different trend (because of the error in modeling the bypass), it is natural to infer that the reference study was in- correct. We thoughtlessly published the comparison without contacting the authors of the reference study beforehand. We apologize to them both for implying an error in their (correct) methodology and for the discourteous way in which it was pre- sented.

2 Partial bypassing

The bypass networks from the output of functional units to ear- lier stages in the pipeline are essential for achieving high ILP.

Compared to current-generation machines, future machines with deeper pipelines, wider issue cores, and larger wire/gate delay ratios, have been shown to have unscalable bypass net- works [4]. That ta'end has led some researchers to consider partitioned architectures [3], and others to consider partial by- pass networks. To illustrate different bypass configurations, Figure I shows a number of different bypass configurations for a single-issue pipeline, modeled after the Alpha 21264. The stages are Fetch, Slot, Map, Issue, Register Read, Execute, and Writeback. An arc from the end of one stage to the beginning of another in- dicates a bypass path. Results are forwarded along that path, between the two stages connected by the arc. A full-bypass pipeline is one in which the value just computed in the e]tecute stage can be forwarded to any previous stage between the issue and execute stages. Figure la shows a pipeline with a single-cycle register file access. Since the pipeline supports full bypassing (from the execute ' ~ ' stage to the register read "R" stage), instructions B and C, which are both dependent on iuslruction A, can issue in each of the two cycles following the issue of instruction A. Figure Ib shows a pipeline, with full bypass, for which the register file takes two cycles m access. Completed inslructions may be bypassed to any of the intermediate latches, allowing consumer instructions B and C to again issue in the two cy- cles succeeAing producer instruction A. We will refer to this organization as FB, for 'Tull bypass". Figures lc and d show two different partial bypassing pipelines, in which the set of bypass paths is incomplete, re- stricting the cycles during which consumer inslructions may be issued while a producer instruction is in flight. Both pipelines incur two-cycle register mad delays, and each pipeline sup- ports bypassing to one of those two stages. Figure lc shows the partial bypass scheme measured by Cruz et aL [1]. The by- pass path goes to stageR1, but not stage R2. Thus, a consumer instruction B cannot issue in the cycle immediately following the issue of the producer instruction A, as shown by the grey- shaded pipeline bubble. This scheme has the advantage that the issue control logic and scheduler are simple--once an in- straction is woken up, it will always be possible to issue it. We call this scheme PB-R1.

~) Omrcy~ reg~w I k ~ ,~ldl b m m k . r -

k . r -

. r.

k . r.

I 2 | 4 | I 7 B IP 110 I I

l , l s l. l , l. l l l w l

I. l , l. i , l. , I - I. I w l

s m s r m a i ~l l l l I I ~ I[2]I II]I D

Fignrc 1: Different bypass implementations

In Figure ld, we show another possible partial bypass con- figuration, called PB-R2. In this configuration, computed re- sults may be bypassed to the last stage of the register read, but not the first. This version of partial bypassing will offer higher performance (as dependent, single-cycle instructions may be issued back-to-back), at the cost of increased scheduler com- plexity. Schedulers are simpler to design if an instruction is always ready to issue once it is first ready to issue. Scheduler complexity is increased if it has to support an instruction being ready to issue, then not ready, then ready again as in PB-R2. The consumer inslraction B is shown to issue in the cycle fol- lowing the issue of its parent instruction, but then in the next cycle, a one-cycle bubble must be inserted into the pipeline before C can be issued, as the result of A cannot be forwarded to stage RI. Finally, we note that organization (d) is not feasible if the bypass network itself consumes the bulk of a clock cycle. If the bypass network takes a cycle, then the most aggressive by- passing organization possible would resemble organization (c) in terms of pipeline bubbles and issue restrictions.

3 Revised results

Figure 2 summarizes the set of experiments originally pub- lished in the s i m - a l p h a paper [2]. The numbers presented herein are higher than those reported previously [2], due to fixes intended to increase the simulator accuracy, but they do not differ qualitatively. For brevity, we show only three har- monic means, instead of individual benchmarks. The bars rep- resent the means of the five integer benchmarks, the five float- ing point benchmarks, and all ten benchmarks used, respec- tively.

We implemented a partial bypass scheme, on an S-wide issue configuration, and compared the performance trends across a one-cycle register file delay, a two-cycle register file delay with full bypassing, and a two-cycle register file delay with partial bypassing. In the s ira-alpha paper, a significant discrepancy in the trends and the differential in the absolute performance of the two simulators was noted. The disparity was not explained, allowing the reader to conclude that it was due to either subtle differences in the organization of the simu- lated microarchitectures, or inaccurate modeling in one of the two simulators. The disparity was due to neither factor; it is attributable to the fact that the implemented bypass scheme was PB-R2, in- stead of PB-R1. The authors of the s i m - a l p h a paper in- correctly interpreted the bypass explanation in paragraph 3, section 2 of [I] to mean the last stage in the register file ac- cess, instead of the last stage furthest from the execution units from which the result is forwarded. Thus, in the original s im- a l p h a implementation, dependent instructions can be issued back-to-back, whereas in the Cruz et ui. implementation, a minimum one-cycle bubble always exists between a producer insU'uction and its consumer. Figure 3 shows the sauz~ comparison as in the s i r e - a l p h a paper, but with the PB-R1 scheme implemented, and a cor- rect comparison. We note that, with the new comparison, we see similar drops in IPC when the bypassing is restricted to one stage in a two-cycle register file access. This correspon- dence between the two studies is shown in Figure 4, in which the IPCs of each study have been normalized to their respec- tive base cases of single-cyclc register file access. This figure shows that the relative drop due to the restricted bypass is al- most exactly identical in the two studies for the integer bench-