PDC 1
PDC 1
PDC 1
Bit-level parallelism
It is the form of parallel computing which is based on the
increasing processor’s size
It reduces the number of instructions that the system must
execute in order to perform a task on large-sized data
Example: Consider a scenario where an 8-bit processor must
compute the sum of two 16-bit integers. It must first sum up
the 8 lower-order bits, then add the 8 higher-order bits, thus
requiring two instructions to perform the operation. A 16-bit
processor can perform the operation with just one
instruction
Instruction-level parallelism
A processor can only address less than one instruction for
each clock cycle phase
These instructions can be re-ordered and grouped which are
later on executed concurrently without affecting the result
of the program.
This is called instruction-level parallelism.
Task parallelism
Task parallelism employs the decomposition of a
task into subtasks and then allocating each of the
subtasks for execution.
The processors perform execution of sub tasks
concurrently
But …
Adding more processors doesn’t help much if programmers
aren’t aware of them..!!
… or don’t know how to use them
Serial programs don’t benefit from this approach (in most
cases)