






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







Microarchitecture is concerned with how processors and other components are put together. Macroarchitecture is concerned with how processors and other components can be connected to do useful work.
This is a course in macroarchitecture.
In the early days of computing, the best way to increase the speed of a computer was to use faster logic devices.
However, the time is long past when we could rely on this approach to making computers faster.
As device-switching times grow shorter, propagation delay becomes significant.
Logic signals travel at the speed of light, approximately 30 cm./nsec. in a vacuum. If two devices are one meter apart, the propagation delay is approximately
In 1960, switching speed was 10-100 nsec.
Î
Nowadays, switching speed is typically measured in picoseconds Î
Then how can we build faster computers?
The performance of highly integrated, single-chip CMOS microprocessors is steadily increasing.
Lecture 1 Architecture of Parallel Computers 1
In fact, these fast processors are now the best building blocks for multiprocessors.
So, to get performance better than that provided by the fastest single processor, we should figure out how to hook those processors together rather than rely on exotic circuit technologies and unconventional machine organizations.
Application trends
Given a serial program, it is usually not easy to transform it into an effective parallel program.
The measure of whether a parallel program is effective is how much better it performs than the serial version. This is usually measured by speedup.
Given a fixed problem, the speedup is measured by—
Speedup ( p processors ) ≡ Time (1 processor ) / Time ( p processors ).
What kinds of programs require the performance only multiprocessors can deliver?
A lot of these programs are simulations:
Parallel architectures are now the mainstay of scientific computing— chemistry, biology, physics, materials science, etc.
Visualization is an important aspect of scientific computing, as well as entertainment.
© 2003 Edward F. Gehringer CSC/ECE 506 Lecture Notes, Spring 2003 2
Clock rates have been increasing by about 30%/yr., while the number of transistors has been increasing by about 40%.
However, memory speed has lagged far behind. From 1980 to 1995,
This has led designers to use multilevel caches.
Microprocessor design trends
The history of computer architecture is usually divided into four generations:
Within the fourth generation, there have been several subgenerations, based on the kind of parallelism that is exploited.
However, this trend has slowed considerably.
How did this trend help performance?
Why did this trend slow?
© 2003 Edward F. Gehringer CSC/ECE 506 Lecture Notes, Spring 2003 4
Traditionally, parallel computers have been classified according to how many instruction and data streams they can handle simultaneously.
SISD machine
An ordinary serial computer.
Control unit
Instruction stream
Data ALU stream
At any given time, at most one instruction is being executed, and the instruction affects at most one set of operands (data).
Lecture 1 Architecture of Parallel Computers 5
MIMD machine
Several complete processors connected together to form a multiprocessor.
Control unit 2 ALU 2
ALU 1
ALU n
Instruction stream 1
stream 2
stream n
Instruction
Instruction
Control unit 1
Control unit (^) n
Data
Data
Data
stream 1
stream 2
stream n
The SIMD/MIMD taxonomy leaves something to be desired, since there are many subclasses of MIMD that do not appear in the model, and one class (MISD) that appears in the model but not in real life.
Gustafson (1990) proposes the following taxonomy.
Operations Storage
Monolithic Distributed
This yields the following classifications:
“Apple-pie computing.”
P
M
Lecture 1 Architecture of Parallel Computers 7
PE
M
PE
M
PE
M
…
Control processor
Examples: Connection Machine (CM-1, CM-2), MassPar.
P P (^) … P
Shared M
Examples: Sequent Balance and Symmetry, BBN Butterfly, Cray Y-MP.
P
M
P
M
P
M
P
M
Examples: N-CUBE, Intel iPSC, Meiko Computing Surface.
In addition to these methods of obtaining parallelism among processors, there is this important approach to achieving parallelism within a processor.
© 2003 Edward F. Gehringer CSC/ECE 506 Lecture Notes, Spring 2003 8
Time (pipeline cycles)
Pipeline stages
Execute Operand fetch Instruction decode Instruction fetch I^^1 I^^2 I^^3 I^^4 I^^5
I (^) 1 I (^) 2 I (^) 3 I (^) 4 I (^) 5
I (^) 1 I (^) 2 I (^) 3 I (^) 4 I (^) 5
I (^) 1 I (^) 2 I (^) 3 I (^) 4 I (^) 5
© 2003 Edward F. Gehringer CSC/ECE 506 Lecture Notes, Spring 2003 10
PP PP PP PP PP PP PP PP PP PP
12 peripheral channels
Main memory
Peripheral processors
24 registers
Instruction stack
Add Multiply Multiply Divide Fixed add Increment Increment Boolean Shift Branch
Scoreboard
I/O Subsystem Memory Central processor
10 functional units
Execution of some instructions may take longer than others. If there are two (or more) units capable of performing a given function (e.g., multiplication), then two operations of that type may be performed at once, providing that —
Lecture 1 Architecture of Parallel Computers 11