Introduction To Parallel Processing: Unit-2
Introduction To Parallel Processing: Unit-2
Unit-2
Types and levels of parallelism
a. Two-stage pipeline
Basic layout of a pipeline
bbbbb
b. Four-stage pipeline;
c. Eight-stage pipeline
subtasks performed in pipeline
• After a maximum is reached, the performance would
certainly fall. The second aspect is the specification of
the subtasks to be performed in each of the pipeline
stages and the specification of the subtasks can be done
at a number of levels
layout of the stage sequence
• While processing an instruction, the pipeline stages are usually operated
successively one after the other but certain stage is recycled, that is, used
repeatedly, to accomplish the result while performing a multiplication or
division.
• Recycling allows an effective use of hardware resources, but impedes
pipeline repetition rate.
Dependency resolution
• The other major aspect of pipeline design is dependency
resolution.
• Some early pipelined computers followed the MIPS approach
(Microprocessor without Interlocked Pipeline Stages) .
• MIPS employed a static dependency resolution, also termed
static scheduling or software interlock resolution.
• Here, the compiler is responsible for the detection and proper
resolution of dependencies.
• A more advanced resolution scheme is a combined
static/dynamic dependency resolution, which has been
employed in the MIPS R processors (R2000, R3000, R4000,
R4200, R6000).
Dependency resolution