Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Amdahl s law assumes that the sequential portion of execution cannot be sped up and that the parallel portion can be indefinitely parallelized. In more

Amdahls law assumes that the sequential portion of execution cannot be sped up and
that the parallel portion can be indefinitely parallelized. In more general models, both
assumptions can be relaxed: some parallel segments might have limited parallelism and
there are techniques to speed up the execution of sequential sections (as we will see later
in the course).
Assume you have a multi-core processor with n Cores. You can configure the system
before running a program so that r cores work together as a single larger r-Core that can
run sequential code
r times as fast as a primitive core; the resulting system therefore
will have one r-Core and n r primitive cores.
You have an application that runs in three phases. Phase 1(20% of computation) is
sequential; Phase 2(50% of computation) is linearly and indefinitely parallelizable while
Phase 3(30% of computation) can be linearly parallelized up to 3 ways. Assume that
parallelization adds no overhead.
(a) For the application on a system with one r-Core and n r primitive cores (n >=
1, n >= r), give the general formula for the speedup over sequential execution on a single
primitive core.
(b) Find the optimal r that offers the highest possible speedup for the following systems:
n =2, n =4 and n =16

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Programming With Visual Basic .NET

Authors: Carsten Thomsen

2nd Edition

1590590325, 978-1590590324

More Books

Students also viewed these Databases questions

Question

(2) What model will be fit to the data?

Answered: 1 week ago