Escolar Documentos
Profissional Documentos
Cultura Documentos
Sistemas
Operacionais História
Medidas e avaliação
Pré-requisitos
Material do curso
• Conceitos em organização de computadores
– Organização de Computadores I
• Livro texto e papers
• Projeto de sistemas lógicos
– Introdução aos Sistemas Lógicos • Listas de exercícios
Programação
Cursos relacionados Hennessy and Patterson, Computer Architecture: A
Quantitative Approach, 4th Ed., Morgan Kaufman, 2006.
Programação
1 Fundamentals of Computer Design
Sistemas
ISL Paralela
Operacionais 2 Instruction Level Parallelism and Its Exploitation
3 Advanced Techniques for Exploiting Instruction-Level
Parallelism and Their Limits
SW Básico OC1
Sistemas 4 Multiprocessors and Thread-Level Parallelism
HW/SW
5 Memory Hierarchy Design
OC2 Arquitetura de 6 Storage Systems
Computadores
Appendix A: Pipelining: Basic and Intermediate Concepts
Graduação Pós-Graduação Appendix B: Instruction Set Principles and Examples
Appendix C: Introduction to Memory Hierarchy
Tópicos a serem estudados
Livros de referência complementar I/O e armazenamento
• manuais (SCI, SCSI, etc…) e papers Pipelining, resolução de hazards, Pipelining and paralelismo
superscalar, reordenamento, a nível de instrução
predição, especulação
-- Instruction Set
-- Instruction Formats
-- Exceptional Conditions
cs 152 L1 Intro.33 Patterson Fall 97 ©UCB cs 152 L1 Intro.34 Patterson Fall 97 ©UCB
The Instruction Set: a Critical Interface Example ISAs (Instruction Set Architectures)
cs 152 L1 Intro.35 Patterson Fall 97 ©UCB cs 152 L1 Intro.36 Patterson Fall 97 ©UCB
cs 152 L1 Intro.39 Patterson Fall 97 ©UCB cs 152 L1 Intro.40 Patterson Fall 97 ©UCB
DRAM ° Processor
Year Size 10000000 • logic capacity: about 30% per year
R10000
1980 64 Kb Pentium
R4400 • clock rate: about 20% per year
1983 256 Kb 1000000
i80486
° Memory
Transistors
1986 1 Mb i80386
i80286
1989 4 Mb 100000
R3010 • DRAM capacity: about 60% per year (4x every 3 years)
1992 16 Mb i8086
SU MIPS
i80x86 • Memory speed: about 10% per year
M68K
10000
1996 64 Mb MIPS
Alpha • Cost per bit: improves about 25% per year
1999 256 Mb i4004
2002 1 Gb
1000
1970 1975 1980 1985 1990 1995 2000 2005 ° Disk
° In ~1985 the single-chip processor (32-bit) and the • capacity: about 60% per year
single-board computer emerged
• => workstations, personal computers, multiprocessors have
been riding this wave since
performance now improves - 50% per year (2x every 1.5 years)
300
250
Log of Performance
Supercomputers RISC
Mainframes
200
Minicomputers
150
Intel x86
RISC
100
introduction
Microprocessors 50 35%/yr
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
Year
Year
1970 1975 1980 1985 1990 1995
Did RISC win the technology battle and lose the market war?
cs 152 L1 Intro.43 Patterson Fall 97 ©UCB cs 152 L1 Intro.44 Patterson Fall 97 ©UCB
° The Web, . . .
° JAVA, . . . Creativity
° ??? Cost /
Performance
Analysis
Good Ideas
Mediocre Ideas
Bad Ideas
cs 152 L1 Intro.45 Patterson Fall 97 ©UCB cs 152 L1 Intro.46 Patterson Fall 97 ©UCB
Conceptual tool box?
cs 152 L1 Intro.47 Patterson Fall 97 ©UCB cs 152 L1 Intro.48 Patterson Fall 97 ©UCB
Machine Interpretation
* Coordination of many
Control Signal ALUOP[0:3] <= InstReg[9:11] & MASK
Specification levels (layers) of abstraction
°
°
cs 152 L1 Intro.49 Patterson Fall 97 ©UCB
Levels of Representation Anatomy: 5 components of
temp = v[k];
High Level Language
Program (e.g., C)
v[k] = v[k+1]; any computer
v[k+1] = temp;
Compiler lw $t0, 0($2)
lw $t1, 4($2)
Assembly Language sw $t1, 0($2)
Program (e.g.,MIPS) sw $t0, 4($2) Personal Computer
Assembler
0000 1001 1100 0110 1010 1111 0101 1000
Machine Language 1010 1111 0101 1000 0000 1001 1100 0110
Program (MIPS) 1100 0110 1010 1111 0101 1000 0000 1001 Computer Keyboard,
0101 1000 0000 1001 1100 0110 1010 1111 Mouse
Processor Memory Devices
Machine
Interpretation Disk
Control Input (where
Hardware Architecture Description (“brain”) (where
(Logic, Logisim, etc.) programs, programs,
data data
Architecture Datapath live when live when
(“brawn”) Output not running)
Implementation running)
Integrated Circuits
Overview of Physical
(2003 state-of-the-art)
Implementations • Primarily Crystalline Silicon
Bare Die • 1mm - 25mm on a side
The hardware out of which we make systems. • 2003 - feature size ~ 0.13µm = 0.13 x 10-6 m
• 100 - 400M transistors
• (25 - 100M “logic gates")
• Integrated Circuits (ICs)
– Combinational logic circuits, memory elements, analog interfaces. • 3 - 10 conductive layers
• Printed Circuits (PC) boards • “CMOS” (complementary metal oxide
– substrate for ICs and interconnection, distribution of CLK, Vdd, and GND semiconductor) - most common.
signals, heat dissipation.
• Power Supplies Chip in Package
– Converts line AC voltage to regulated DC low voltage levels.
• Chassis (rack, card case, ...)
– holds boards, power supply, provides physical interface to user or other • Package provides:
systems. – spreading of chip-level signal paths to board-level
• Connectors and Cables. – heat dissipation.
• Ceramic or plastic with gold wires.
Technology Trends: Memory Capacity
Printed Circuit Boards (Single-Chip DRAM) size
1000000000
year size (Mbit)
100000000 19800.0625
10000000 1983 0.25
• fiberglass or ceramic 1000000
1986 1
• 1-20 conductive layers 1989 4
100000
Performance measure
800 DEC Alpha
100000000
Itanium 2: 41 Million 1.54X/yr
700 21264/600
Athlon (K7): 22 Million
10000000 Alpha 21264: 15 million 600
DEC Alpha 5/500
Moore’s Law Pentium Pentium Pro: 5.5 million 500
i80486
PowerPC 620: 6.9 million 400
1000000
Alpha 21164: 9.3 million
DEC Alpha 5/300
i80386 Sparc Ultra: 5.2 million 300
100000
i80286
200 DEC Alpha 4/266
i8086
2X transistors/Chip 100 IBM POWER 100
10000 Every 1.5 years 0
i8080
i4004 87 88 89 90 91 92 93 94 95 96 97
1000 Called year
1970 1975 1980 1985 1990 1995 2000
Year
“Moore’s Law” We’ll talk about processor performance later on…
Computer Technology - Dramatic Change Computer Technology - Dramatic Change
• Memory
– DRAM capacity: 2x / 2 years (since ‘96); • State-of-the-art PC when you graduate:
64x size improvement in last decade. (at least…)
• Processor – Processor clock speed: 5000 MegaHertz
– Speed 2x / 1.5 years (since ‘85); (5.0 GigaHertz)
100X performance in last decade. – Memory capacity: 4000 MegaBytes
• Disk (4.0 GigaBytes)
– Disk capacity: 2000 GigaBytes
– Capacity: 2x / 1 year (since ‘97)
(2.0 TeraBytes)
250X size in last decade.
– New units! Mega => Giga, Giga => Tera
Next
Determine successor instruction
Instruction
cs 152 L1 Intro.61 Patterson Fall 97 ©UCB cs 152 L1 Intro.62 Patterson Fall 97 ©UCB
The SPARCstation 20 The Underlying Interconnect
SPARCstation 20 SPARCstation 20
cs 152 L1 Intro.63 Patterson Fall 97 ©UCB cs 152 L1 Intro.64 Patterson Fall 97 ©UCB
SIMM Slot 0
SIMM Slot 3
SIMM Slot 4
SIMM Slot 5
SIMM Slot 6
SIMM Slot 7
SIMM Slot 1
SIMM Slot 2
MBus Module Memory Memory SIMM Bus
Controller
Processor
MBus
External Cache
cs 152 L1 Intro.65 Patterson Fall 97 ©UCB cs 152 L1 Intro.66 Patterson Fall 97 ©UCB
Input and Output (I/O) Devices Standard I/O Devices
SPARCstation 20 SPARCstation 20
° SCSI Bus: Standard I/O
Devices
° SBus: High Speed I/O ° SCSI = Small Computer Systems Interface
Devices
° A standard interface (IBM, Apple, HP, Sun
° External Bus: Low Speed I/O Disk
... etc.) Disk
Device
SBus Slot 1 SBus Slot 3 Tape
° Computers and I/O devices communicate Tape
with each other
SBus Slot 0 SBus Slot 2
SBus SCSI
° The hard disk is one I/O device resides on SCSI
Bus
the SCSI Bus Bus
SEC MACIO
cs 152 L1 Intro.67 Patterson Fall 97 ©UCB cs 152 L1 Intro.68 Patterson Fall 97 ©UCB
° Example: graphics accelerator, video adaptor, ° The speed of some I/O devices is limited by
... etc. human reaction time--very very slow by
computer standard
° High speed and low speed are relative terms ° Examples: Keyboard and mouse
° No reason to use up one of the expensive
SBus slot
SBus Slot 1 SBus Slot 3
cs 152 L1 Intro.69 Patterson Fall 97 ©UCB cs 152 L1 Intro.70 Patterson Fall 97 ©UCB