Docsity

Exam for Computer Architecture - Winter 2005 | EEC 270, Exams of Computer Architecture and Organization

Partial preview of the text

Download Exam for Computer Architecture - Winter 2005 | EEC 270 and more Exams Computer Architecture and Organization in PDF only on Docsity!

Chapter 1

Computer Architecture

Venkatesh Akella EEC 270 Winter 2005 Chapter 1

What is it?

EEC

Chapter 1

Computer Architecture

  • Basically a story of unprecedented improvement
  • $1K buys you a machine that was 1-5 million dollars a couple of decades ago
  • Why?
  • Improvements in technology (process scaling) Around 35%/year
  • Improvement in architecture Around 23% Result = Moore’s law – 58% per year Chapter 1

1 Trillions Ops/sec by 2010

S. Borkar MICRO 37, December 2004

Chapter 1

Categories of Computers

  • Three Cateogries have emerged
  • DESKTOP – optimized for price/performance
  • SERVER – optimized for availability, scalability, and throughput
  • EMBEDDED – everything around us has a computer whether it is a washing machine or the router card or the cell phone Key issues – real time, cost, application- specific performance as opposed to general purpose performance, resource constraints like memory/ input/output etc. Chapter 1

NEW CONSTRAINTS

  • Power. Power. Power
  • Dynamic and now LEAKAGE power
  • Clock frequencies are in the GHz – distribution of clock, skew
  • Wire delay >>> Gate delay
  • Real time performance – DSP, media processors Computer Architecture has to change to handle these new constraints.

Chapter 1

Power is Enemy

Chapter 1 Leakage Power - New Monster to Grapple with

Chapter 1

ASPECTS OF COMPUTER DESIGN

  • Complicated game with many constraints, many objectives
  • Determine the important attributes (market segment, applications) THEN MAXIMIZE performance WHILE staying within the COST & POWER BUDGET Chapter 1

Technology Trends

  • Integrated CIRCUITS
    • Density Increases at 35% per year
    • Die Size increases 10 – 20% per year
    • Combination is a chip complexity growth rate of 55% per year
    • Transistor speed increase is similar but wire delay does not track this curve, so clock rates do not go up as fast
  • DRAM
    • Density Quadruples every 3-4 years (40 – 60% per year)
    • Cycle Time decreases slowly – 33% in 10 year
    • Interface changes have improved bandwidth however What does this mean? Product Cycle – 2 to 4 years and Market requirements something new is needed 6-12 Months
  • Pipelined design efforts using multiple design teams
  • Have to design for a complexity target that does not exist yet
  • Infrastructure and NRE Costs – 200 million to 500 million dollars

Chapter 1

IC Scaling – How does it affect us?

  • Wire delay is proportional to R * C
    • As wires get smaller their cross section decreases, so R increases
    • C does not reduce linearly (cross talk, coupling)
    • So, wire delay does not track improvements in gate delay
    • %age of cycle time taken by wire delays becomes non-negligible
    • Pentium 4 uses 2 pipe stages just for signal propagation
  • Power
    • P_TOTAL = P_ACTIVE + P_LEAKAGE
    • P_ACTIVE = ½ αCV^2 f
    • P_LEAKAGE = Tunneling + subthreshold leakage = As Vt is lowered and feature size shrinks increases = Function of number of transistors on chip, so becomes significant as number of transistors increases. Chapter 1

COST OF AN IC

Chapter 1

Cost Breakdown of a 1000 dollar PC

• CABINET = 6%

  • I/O Devices = 37% (includes keyboard, monitor, 20 GB hard drive, DVD drive ..)
  • PROCESSOR BOARD = 37% » CPU = 22% » DRAM = 5% (huge difference from 33% in 1995) » VIDEO CARD = 5% » Motherboard and networking = 5%
  • SOFTWARE = 20% (a.k.a Microsoft Tax) Chapter 1

PERFORMANCE

Chapter 1

But what time?

  • Should not consider time spent waiting for I/O delays, because someone else is using the same resources as in a multitasking/timeshared system
  • User CPU Time – time spent to execute the program in question
  • System CPU Time – the amount of time the OS spends on behalf of your program
  • Unix Time Command
  • 27.2 u 11.1s 56.6 68% Chapter 1

Which Programs to choose?

  • Real Programs
    • Clearly the right choice but porting them maybe a problem
    • Burden on the user. Need to know exactly what your workload is
  • Kernels
    • Computational intensive pieces of real programs
    • Livermore loops and Linpack are examples
    • Not Real programs – so might be misleading
  • Toy Benchmarks – Not a good idea
  • Synthetic Benchmarks
    • Has some merit especially during early design stage
    • Since they are not real, they do not actually represent anything that a user maybe interested in

Chapter 1

Aggregating and Reporting Performance

Chapter 1

Weighted Aggregates

Chapter 1

Normalized Execution Times

  • Normalize with respect to a reference machine such as SPARC-
  • We get a set of ratios – r1, r2, … rN
  • How do we represent aggregate performance?
  1. Arithmetic mean of ratios
    • Problem – depends on the reference machine
  • Depends on running time of a specific program, so results can be manipulated 2.Geometric Mean of Ratios
    • Consistent Results independent of the choice of reference machine Chapter 1

Normalized Aggregates

SPEC USES Geometric Mean

Chapter 1

A Simple Example of Amadahl’s Law

Given Instruction Mix : FP = 50%, FPSQRT = 20% and other 30% Designers say 40x improvement in FPSQRT, 2X improvement FP or 8X improvement of other ops for the same cost (say time frame) What would you choose? FPSQRT FP Other Other Wins !!! However, remember Amadahl’s law does not take the Cost of implementation into account. Here we assumed everything was same Chapter 1

The Performance Equation

  • IC = dynamic instruction count, depends on compiler and the instruction set of a machine
  • CPI = depends on organization and ISA
  • cycle time depends on HW technology, logic design, algorithms used to implement different hardware structures SO, they are inter-related. Optimizing one without considering the impact of the optimization on the other parameters is a common pitfall.

Chapter 1

90-10 Observations on SPEC92 Programs