CSC580 Quick Notes Lect1and2
CSC580 Quick Notes Lect1and2
______________________________________________________________________________
CSC580
PARALLEL PROCESSING
Serial Computing:
Parallel Computing:
• Motivating Parallelism
- The role of parallelism includes:
o To accelerate (speed up) computing speeds
o To provide multiplicity of datapaths and increased access to storage
elements
- Parallel computers still follow this basic design, just multiplied in units. The
basic, fundamental architecture remains the same.
CS230 Bachelor of Computer Science UiTM Perak (Tapah)
______________________________________________________________________________
❖ Machine Cycle
❖ The steps performed by the computer processor for each machine
language instruction received. The machine cycle is a 4 process cycle that
includes reading and interpreting the machine language, executing the
code and then storing that code.
❖ Four steps of Machine cycle:
1) Fetch - Retrieve an instruction from the memory.
2) Decode - Translate the retrieved instruction into a series of computer
commands.
3) Execute - Execute the computer commands.
4) Store - Sand and write the results back in memory.
❖ Superscalar
❖ Superscalar design involves the processor being able to issue multiple
instructions in a single clock, with redundant facilities to execute an
instruction.
❖ A superscalar processor executes more than one instruction during a clock
cycle by simultaneously dispatching multiple instructions to different
functional units on the processor. Each functional unit is not a separate
CPU core but an execution resource within a single CPU such as
anarithmetic logic unit, a bit shifter, or a multiplier.
CS230 Bachelor of Computer Science UiTM Perak (Tapah)
______________________________________________________________________________
UMA NUMA
CS230 Bachelor of Computer Science UiTM Perak (Tapah)
______________________________________________________________________________
❖ Network Topologies
a) Buses
b) Crossbars
CS230 Bachelor of Computer Science UiTM Perak (Tapah)
______________________________________________________________________________
c) Multistage Networks
d) Omega Network
e) CompletelyConected Network
g) Linear Arrays
Two and three dimensional meshes: (a) 2-D mesh with no wraparound; (b) 2-D mesh
with wraparound link (2-D torus); and (c) a 3-D mesh with no wraparound.
i) Hypercubes
CS230 Bachelor of Computer Science UiTM Perak (Tapah)
______________________________________________________________________________
j) Tree-Based Network
Complete binary tree networks: (a) a static tree network; and (b) a dynamic tree network.
CS230 Bachelor of Computer Science UiTM Perak (Tapah)
______________________________________________________________________________
References:
https://computing.llnl.gov/tutorials/parallel_comp/
http://www.computerhope.com/jargon/m/machcycl.htm
http://en.wikipedia.org/wiki/Instruction_pipeline
http://en.wikipedia.org/wiki/Superscalar