Machine-translated by Google. Questions are authored in English.
Top

Parallel Processing and Multiprocessors Questions and Answers

11.

Let f be the fraction of a computation (in terms of time) that is parallelizable, P the number of processors in the system, and \(s_p\) the speed up achievable in comparison with sequential execution – then the \(s_p\) can be calculated using the relation :

Exam Year(s)

UGC NET - 2012,

Answer: C

If a fraction f of the computation is parallelisable and P processors are used, the parallel part takes time f/P, while the serial part, 1 - f, remains. The speed up is the old time divided by the new time

\[ s_p = \frac{1}{(1 - f) + f/P} \]

which is Amdahl's law. The first option has the term f/P subtracted, which would make the speed up larger than P, and the second and fourth options do not reduce to Amdahl's formula. The keyed answer is the third option.

Please log in or register to report this question.

12.

Suppose that a given application is run on a 64-processor machine and that 70 percent of the application can be parallelized. Then the expected performance improvement using Amdahl's law is

Exam Year(s)

UGC NET - 2012,

Answer: B

Amdahl's law gives the speed-up as 1 divided by the sum of the serial fraction and the parallel fraction divided by the number of processors. Here 30 per cent is serial and 70 per cent is parallel on 64 processors.

\[ S = \frac{1}{0.3 + 0.7/64} \]

\[ S = \frac{1}{0.3 + 0.01094} = 3.22 \]

So the expected improvement is about 3.22, option (B). The other values, 4.22, 3.32 and 3.52, do not come from this formula with these data.

Please log in or register to report this question.

13.

A set of processors P1, P2, ……, Pk can execute in parallel if Bernstein's conditions are satisfied on a pairwise basis; that is P1 || P2 || P3 || ….. || Pk if and only if :

Exam Year(s)

UGC NET - 2013,

Answer: A

Bernstein's conditions are checked pairwise, and the processors P1 to Pk can execute in parallel if and only if every pair of different processors satisfies them, that is Pi || Pj for all i not equal to j, option (A). Since the relation is symmetric, it is enough that all distinct pairs are independent. The conditions i = j+1 in (B) cover only consecutive pairs, and i less than or equal to j in (C) and i greater than or equal to j in (D) include i = j, where a processor would be compared with itself, which is not a pair of different processors, and each covers only half of the pairs.

Please log in or register to report this question.

Loading…

Other Subjects

Tags: Parallel Processing and Multiprocessors Questions and Answers || Parallel Processing and Multiprocessors MCQ Questions and Answers || Parallel Processing and Multiprocessors GK Questions and Answers || Parallel Processing and Multiprocessors GK MCQ Questions || Parallel Processing and Multiprocessors Multiple Choice Questions and Answers || Parallel Processing and Multiprocessors GK || GK on Parallel Processing and Multiprocessors || Computer Organization and Architecture Questions and Answers || Computer Organization and Architecture MCQ Questions and Answers || Computer Organization and Architecture GK Questions and Answers || GK on Computer Organization and Architecture