Beruflich Dokumente
Kultur Dokumente
- PENGERTIAN 1 -
Oleh:
ARI SUGIHARTO, S.Si
● The parallel version has the potential of being 3 times as fast as the
sequential machine.
Classification of Parallel Machines
SISD Computers
This is the standard sequential computer. A single processing
unit receives a single stream of instructions that operate on a
single stream of data.
There are N streams of instructions (algorithms / programs) and one stream of data.
Parallelism is achieved by letting the processors do different things at the same time on the
same datum.
MISD machines are useful in computations where the same input is to be subjected to several
different operations.
● For most applications MISD are very awkward to use and no commercial machines exist with
this design.
Classification of Parallel Machines (Cont'd)
SIMD Computers
All N identical processors operate under the control of a single instruction stream issued by a
central control unit. ( to ease understanding assume that each processor holds the same
identical program. )
There are N data streams, one per processor so different data can be used in each processor.
The processors operate synchronously and a global clock is used to ensure lockstep
operation.
Classification of Parallel Machines (Cont'd)
MIMD Computers (multiprocessors / multicomputers)
This is the most general and most powerful of our classification.
We have N processors, N streams of instructions and N streams of data. Each processor
operates under the control of an instruction stream issued by its own control unit.(i.e. each
processor is capable of executing its own program on a different data.
This means that the processors operate asynchronously ( typically ) i.e. can be doing different
things on different data at the same time. As with SIMD computers communication of data or
results between processors can be via a shared memory or interconnection network.
Classification of Parallel Machines (Cont'd)
SPMD - Single Program Multiple Data
The SIMD. paradigm is an example of synchronous parallelism
A related asynchronous version is SPMD. This is where the same program
is run on the processors of an MIMD. machine.
Because an entire program is executed on separate data, it is possible that
different branches are taken, leading to asynchronous parallelism. The
processors no longer do the same thing ( or nothing ) in lockstep, they are
busy executing different instructions within the same program.
Consider
● IF X = 0 Assume X = 0 on P1
● THEN S1 X != 0 on P2
● ELSE S2
Now P1 executes S1 at the same time P2 executes S2 ( which could not
happen on an SIMD machine )