Docsity

Final Exam - Computer Organization and Design | ECE 411, Exams of Computer Architecture and Organization

Toggle sidebar
bg1
University of Illinois at Urbana-Champaign
Department of Electrical and Computer Engineering
Final Exam
ECE 411, Fall 2003
You have 48 hours to complete this final exam. By turning in this exam, you will have attested
that you have neither received nor given inappropriate aid on this exam from any person except
the instructor. You may use class notes, textbooks, web resources, computer simulations, and
published materials. Provide citations where appropriate.
NAME:
Answer any five out of the six questions below:
1. The SPEC2000 benchmarks listed below (compiled for Alpha using the Compaq
Alpha compiler) were measured for theoretical parallelism by evaluating the
dataflow height of their execution traces assuming perfect branch prediction.
Why do most of them have an IPC of between 20 and 40 instructions? For all of
these benchmarks, there is a simple (and very intuitively satisfying) answer. A
response of the form “Because the number of instructions in the execution traces
divided by the depth of the dataflow graphs is between 20 and 40,” will result in
no credit. Hint: notice eon is an outlier with a significantly lower IPC.
Benchmark Theoretical IPC
eon 7
gap 28
gcc 43
parser 19
vortex 29
pf3
pf4
pf5

Partial preview of the text

Download Final Exam - Computer Organization and Design | ECE 411 and more Exams Computer Architecture and Organization in PDF only on Docsity!

University of Illinois at Urbana-Champaign Department of Electrical and Computer Engineering

Final Exam ECE 411, Fall 2003

You have 48 hours to complete this final exam. By turning in this exam, you will have attested that you have neither received nor given inappropriate aid on this exam from any person except the instructor. You may use class notes, textbooks, web resources, computer simulations, and published materials. Provide citations where appropriate.

NAME:

Answer any five out of the six questions below:

  1. The SPEC2000 benchmarks listed below (compiled for Alpha using the Compaq Alpha compiler) were measured for theoretical parallelism by evaluating the dataflow height of their execution traces assuming perfect branch prediction. Why do most of them have an IPC of between 20 and 40 instructions? For all of these benchmarks, there is a simple (and very intuitively satisfying) answer. A response of the form “Because the number of instructions in the execution traces divided by the depth of the dataflow graphs is between 20 and 40,” will result in no credit. Hint: notice eon is an outlier with a significantly lower IPC.

Benchmark Theoretical IPC eon 7 gap 28 gcc 43 parser 19 vortex 29

  1. Consider a piece of code with the following control flow where, during a profile run, branch B is taken X% of occurrences and not taken for the remainder. Describe situations where predicating branch B is preferred over predicting it.

A

B

C D

99%

X% 100-X%

1%

E

  1. Recall that active power dissipation in CMOS circuits is proportional to activitycapacitancevoltage 2**. Also consider the following rule of thumb for RAM arrays: capacitance is proportional to area. Which of the following RAM structures burns more active power when running a “typical workload”? Make the following assumptions: - The size of a bit of storage is the same for all RAMs. - If a read or write port is not required it is not precharged. - The processor implements a 32-bit RISC-like ISA with 32 GPRs. - The processor has 128 physical registers, and is capable of 4-wide fetch, rename, issue, and execute. - It can execute 1 load or store per cycle.

Clearly state and justify your assumptions about the processor and about the workload.

  1. 1KB branch target buffer
  2. 16Kbit gshare branch predictor
  3. Register alias table (assume P4-style)
  4. Integer register file
  5. 8KB L1 data cache
  1. Provide a rationale for the rule of thumb that the miss rate of a cache decreases at a rate proportional to 1/sqrt(cache size). See the Sprangle and Carmean paper for more empirical evidence, if you need.