Download Semiconductor Industry Roadmap and Computer Architecture and more Lecture notes Computer Architecture and Organization in PDF only on Docsity!
Computer Architecture & Arithmetic Group 1 Stanford University
Lecture 19: Architecture, Arithmetic &
Technology: some thoughts on the road
ahead
M. J. Flynn
Computer Architecture & Arithmetic Group 2 Stanford University
Semiconductor Industry Roadmap
Year 2001 2004 2007 2013
Technology generation (nm) 130 90 65 32
Wafer size (mm) 300 300 300 450
Defect density (per m
2
μP die size (mm
2
Chip Frequency (MHz) 1767 4000 6700 19350
MTx per Chip (Microprocessor) 276 552 1204 4424
MaxPwr(W) High Performance 130 160 190 251
Semiconductor Technology Roadmap (2001)
Computer Architecture & Arithmetic Group 3 Stanford University
What this means to Computer
Architecture
Tradeoffs in time (performance),
power and area (cost). (TPA product)
Computer Architecture & Arithmetic Group 4 Stanford University
Message: System not Processor
Architecture
• Power not clock rate
• System not processor integration
• Integration of what?
– Wireless and optical interconnections
– Voice and sensor I/O
– Crypto, Video, Audio, etc.
– Multi user displays, keyboards, sensors, etc.
Computer Architecture & Arithmetic Group 5 Stanford University
Performance: Time, Area and Power
Tradeoffs
Computer Architecture & Arithmetic Group 6 Stanford University
Performance lesson: wires not gates
determine delay.
Delay (ps)
Process Generation (um)
Gate Delay
Interconnect delay for
standard functional unit
Computer Architecture & Arithmetic Group 7 Stanford University
Wires and coupling capacitance
Computer Architecture & Arithmetic Group 8 Stanford University
High Speed Clocking
Fast clocks are not primarily the result of technology
scaling, but rather of circuit/logic techniques:
– Dynamic logic, Wave pipelining type
• Modern microprocessors are increasing clock speed
more rapidly than anyone predicted…local clocks
(SIA) or hyperclocking.
• But fast clocks do not necessarily increase system
performance
Computer Architecture & Arithmetic Group 9 Stanford University Computer Architecture & Arithmetic Group 10 Stanford University
CMOS
year
frequency
CMOS
Computer Architecture & Arithmetic Group 11 Stanford University
Bipolar and CMOS
year
frequency
Bipolar
CMOS
Limit
Bipolar
power limit
Computer Architecture & Arithmetic Group 12 Stanford University
SIA global clock rates
year
frequency
global’
SIA ’
Computer Architecture & Arithmetic Group 19 Stanford University
Power is important!
• By scaling alone a 4x slower implementation may
need only 1/64 as much power.
• Gating power to functional units and other
techniques should enable 100MHz processors to
operate at O(
) to O(
) watts.
• Goal: O(
) watts.
freq
freq
P
P
By V
dd
and device scaling
Computer Architecture & Arithmetic Group 20 Stanford University
Extremely Low Power
System: suppose low power was the performance
metric, rather than cycle time.
Very Low power (μW) can be achieved:
– Perhaps sub thresh hold circuits
– Clock rate may be limited to 10 MHz (?)
– Achieve 1 to 5 year battery life
– Lots of area, BUT how to get performance
• Very efficient architecture and segmented powering.
• Very efficient software & operating system
• Very efficient signal processing & arithmetic
• Very effective parallel processing
Computer Architecture & Arithmetic Group 21 Stanford University
What does this mean to arithmetic?
• Power optimized arithmetic is a generally
open topic.
• Minimize state transitions, clocking.
• Scale devices: path delays P
max
= P
min
• Optimize precision
Computer Architecture & Arithmetic Group 22 Stanford University
Area: scaling silicon
Wafer size + die size = cost
Feature size + die size = performance
Computer Architecture & Arithmetic Group 23 Stanford University
The basics of wafer and die size
• Wafers, 30 cm or so in
diameter produce
(πd
/4)/A dice. Die
area, A, is 0.5- 2cm
about 700 1cm
dice
per wafer.
• Yield (% of good die)
is e
where ρ is the
defect density, @
ρA=1; Yield is 37%
ρA =.2; Yield is 80%
Computer Architecture & Arithmetic Group 24 Stanford University
The basics of wafer fab
• A 30 cm, state of the art (ρ = 0.2-.5) wafer
fab facility might cost $3B and require $5B
pa to be profitable…that’s at least 5M wafer
starts and almost 5B 1cm die /per year. At
O($1000) per wafer that’s $1/die with, say a
die (f=0.1u) has 100-500 M tx /cm
• So how to use them?
Computer Architecture & Arithmetic Group 25 Stanford University
Area and Cost
Is efficient use of die area important?
Is processor cost important?
NO − server processors (cost dominated
by memory, power/cooling, etc.)
YES – “client”, everything in the middle.
NO – small, embedded die which are
package limited. (10-100Mtx/die)
Computer Architecture & Arithmetic Group 26 Stanford University
Area
Indeed, looking ahead how to use 1-
billion transistors/cm
die?
– With performance limited by power, memory
& program behavior servers use multiple
processors per die, limited by memory.
– For client systems either “system on a chip” or
hybrid system are attractive.
– Low cost embedded systems need imaginative
packaging and enhanced function.
Computer Architecture & Arithmetic Group 27 Stanford University
Hybrid System
• Core, very low power units comprise limited
storage, limited processing, crypto and wireless :
“watch” type package
• Multi user displays, keyboards, voice entry and
network access can be implemented with higher
power.
• Wireless, secure interconnects complete the
system, but with major power management
implications.
Computer Architecture & Arithmetic Group 28 Stanford University
Clients with Multi Media and its
requirements
• Includes video, audio, 3 D graphic imaging,
as well as subsidiary functions such as
music (composition and rendering), voice
recognition, handwriting rec., animation
• Closely coupled to the display / presentation
technology (raster line or pixel density,
audio speaker fidelity / range)
Computer Architecture & Arithmetic Group 29 Stanford University
Still Images/ Video/ Audio
• The problem is compression and meeting
real time constraints
– a B/W still image, 512x512 pixels, represents
about 1/4 MB (8b/pixel); color (3B/pixel)
almost 1MB; use 1 MB as a typical image
– video requires 30 frames/sec; 30MB/sec; 1 hour
is 108GB
– voice requires 44k samples/sec; 3B/samples/sec
2 or more channels; about 1/4 MB/sec.
Computer Architecture & Arithmetic Group 30 Stanford University
JPEG
• Image is partitioned into 8x8 pixel blocks
– transform into frequency domain by DCT (the
high freq components are at the high index
values of the resultant 8x8 matrix and often = 0.
– Quantize (the lossy step) map values to few
numbers
– Zig zag access, to access low freq components
(non 0) values first.
– Huffman (run length) encode values
Computer Architecture & Arithmetic Group 37 Stanford University
Motion estimation
• Computation intensive
• compute SAD for all neighboring macro
block combinations (index by 1 pixel).
Σ [x
i
j
-y
i
k
] across all macro blocks
• find location that minimizes SAD
Computer Architecture & Arithmetic Group 38 Stanford University
Instructions /pixel
• JPEG about 320 to compress; 280 to decode
• MPEG1 about 1100 to compress; about 80
to decode.
• Note problem in motion estimation; need
352x288 x1100x30 instr /sec = 3.3 GIPS
for MPEG1 to compress.
• MPEG2 uses bigger frames; better motion
estimation and color ….maybe….20GIPS
Computer Architecture & Arithmetic Group 39 Stanford University
Video memory
• Even if we have enough arithmetic BW,
memory (cache) access is a problem. A
single CIF frame has 200 - 400 kB and
won’t fit into a L2 caches less than (say) 1
or 2 MB. Worse is the behavior of the L1 D
cache. There are NO hits after a line is used.
• Solution: pre fetch and stride prediction
caches at L1.
Computer Architecture & Arithmetic Group 40 Stanford University
3D graphics
• For client processors it’s the big gorilla of
compute requirements.
• Image creation/ reconstruction/ 2 and 3D
projection/ animation/ visualization
• must be interactive for image creation and
smoothly(visually) manage motion and
update dynamics
Computer Architecture & Arithmetic Group 41 Stanford University
3D graphics
• Some basic requirements
– smooth motion 15 frames/sec
– frame size 1260 x 1024 down to 512 x 512
– pixel 24b (3 colors, RGB) + 8b color control
sometimes double buffered and z buffered (3D)
up to 96b total.
– frame size x pixel size = frame buffer
– frame buffer also used to refresh video @ 30 or
60 Hz
Computer Architecture & Arithmetic Group 42 Stanford University
Operations, simple 2D type
• Limited primitives: polygon, line, circle,
ellipse
• ops: scale, translate, overlay and clip
– typical op is S op D =D; op is replace, or, xor,
and …applied to blocks of pixels
– computations linear, y = mx + b, or quadratic
x
+ y
= R
; mostly on index values….needs
say 16b, sometimes 32b FP computation
Computer Architecture & Arithmetic Group 43 Stanford University
Compute requirements
• Assume a very simple image.
– 10k triangles with 100 pixels/ triangles
– 1024x1024 RGB display updated 10 frames/sec
– diffuse ambient illumination
– shading, no shadows
– no texture, fog, transparency..
– no clipping from multiple objects
Computer Architecture & Arithmetic Group 44 Stanford University
Compute requirements
• Transform/ rotate takes 25 multiplies& 18
adds/ vertex … 10k x 3 = 30k vertices
• computing viewer’s projection of the object
surface (which triangles are in view) takes
18 multiplies & 14 adds / vertex
• simple lighting 12 mpy & 5 adds/vertex
• clipping 3 divides/ vertix
• plus….
Computer Architecture & Arithmetic Group 45 Stanford University
Compute requirements
• Net about 2M multiplies &1.4M adds/frame
• about 30 Mflops depending on image
clipping adds 1M divides/sec
• plus about 50 Maps to the frame buffer.
• Refined images (10 pixels/polygon) plus
Phong illumination and Gourand shading
plus shadows, texture, etc…. 100x to 400x
• WHEW
Computer Architecture & Arithmetic Group 46 Stanford University
From Montrym (Nvidia) Hot Chips ‘
Computer Architecture & Arithmetic Group 47 Stanford University
Arithmetic for multi media
• Must support very high bandwidth
arithmetic
– pipelined integer and fp
– optimized for 8, 16 and 32b operands
– instructions set support for sub word
concurrency
– divide and sqrt can be important as well as trig
functions.
Computer Architecture & Arithmetic Group 48 Stanford University
Designing for multi media
• Must support very high bandwidth memory
– structured memory access VRAM
– VRAM on chip?
– structured L1 D cache
– large L2; maybe also structured or bypassed as
with vector processor.
Computer Architecture & Arithmetic Group 55 Stanford University
Atheros Chipset Overview
from McFarland Hot Chips ‘
< < = / / 5. >? 0. 7 @ 9 0 = A 9 B
C
) * D
E F ( "
C C ) D
C G C ) ,
H ^ =^ I^ J^ >^7 =^ K^ L^.^7 ^ M^ N^ @^ -^ O^.^ :^ =^7 9 0 >^.^?
H ^ =^ I^ J^ >^7 =^ K^ L^.^7 &^9?^ K^ ^ M^ N^ @^ -^ O^.^ :^ =^7 9 0 >^.^?
P
C C ) D
Computer Architecture & Arithmetic Group 56 Stanford University
The “New” Server System
Server Processor
– Cost insensitive
– High power, fast cycle time
– Multiple (order of 10’s to 100) processors on
single die, together with portion of memory space
– MIMD extensions via network
– Base processor using ILP with SIMD extensions
– Very high integrity
Computer Architecture & Arithmetic Group 57 Stanford University
Client System
• Invisible core... integrated into
– Appliances
– Communications devices
– Notebooks
– “Watches”, wearable cores
• Always secure and available
• Very low power
• Integrated wireless/networked
Computer Architecture & Arithmetic Group 58 Stanford University
The “New” Client System
Client
– “System on a chip,” integrated, hybrid or
embedded
– Many frequency- power design points from
100 μw with cycle time 2 ns to 1 μw with
cycle of 200 ns
– Small die low cost
– Several base processors
• Core and signal processors
– High integrity
– Signal processors VLIW/SIMD
Computer Architecture & Arithmetic Group 59 Stanford University
System Design: The CAD Challenge
• IP’s – not IC’s. Amalgamate existing
designs from multiple sources
– Validate, test, scale, implement
• Buses and Wires
– Placement and coupling, wire length,
delay modules… some role for optics?
• Effective floorplanning
Computer Architecture & Arithmetic Group 60 Stanford University
System Design: Other Challenges
• Really good power management
• Low power wireless interconnections
• Integrity – Security
• Scene/ pattern recognition
• Software efficiency: Op Systems, compilers
• Software productivity: rules based, analysis,
heuristic, etc.
Computer Architecture & Arithmetic Group 61 Stanford University
Summary
• Processor design with deep sub-micron (f < 90nm)
technology offers major advantages: 10 x speed
or 10
power and 100x circuit density. Indeed, SIA
projections have consistently underestimated the
future.
• But the real challenge is in system not processor
design: new system products and concepts, ip
management and design tools.