










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!











So far our focus have been to study the performance of a single instruction stream computers; and methodologies to enhance the performance of such machines
We studied how
However, further improvements in the performance may be achieved by exploiting parallelism among multiple instruction streams, which uses:
Furthermore, while evaluating the performance enhancement due to parallel processing two important challenges are to be taken into consideration
Here, the fraction enhanced is the fraction in parallel, therefore speedup can be expressed as
80 = 1 / [(Fraction (^) parallel/100 + (1-Fractionparallel )]
Simplifying the expression, we get
0.8Fraction (^) parallel + 80(1-Fraction (^) parallel) = 1
80 - 79.2* Fraction (^) parallel = 1
Fraction (^) parallel = (80-1)/79.2 = 0.
i.e., to achieve speedup of 80 with 100 processors only 0.25% sequential allowed!
The second major challenge in parallel processing is the communication cost that involves the latency of remote access
Now let us consider another example to explain the impact of communication cost on the performance of parallel computers
Example: Consider an application running on 32-processors multiprocessor, with 40 nsec. time to handle remote memory reference
Substituting the values we get:
CPI = [1/Base IPC] + 0.2% x remote request cost = [1/2] + 0.2% x (400 cycle) = 0.5 +0.8 = 1. And, CPI without remote reference = 1/Base IPC = 0. Hence, the multiprocessor with all local reference is 1.3/0.5 = 2.6 times faster as compare to that with no remote reference
In 1966, Flynn proposed simple categorization of computers that is still valid today
This categorization forms the basis to implement the programming and communication models for parallel computing
Flynn looked at the parallelism in the instruction and in the data streams called for by the instructions and proposed the following four categories:
SISD (Single Instruction Single Data)
SIMD (Single Instruction Multiple Data)
MIMD (Multiple Instruction Multiple Data)
MIMD machines have multiple processors and can be used as: