Answered step by step
Verified Expert Solution
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 multicore processor with n Cores. You can configure the system
before running a program so that r cores work together as a single larger rCore that can
run sequential code
r times as fast as a primitive core; the resulting system therefore
will have one rCore and n r primitive cores.
You have an application that runs in three phases. Phase of computation is
sequential; Phase of computation is linearly and indefinitely parallelizable while
Phase of computation can be linearly parallelized up to ways. Assume that
parallelization adds no overhead.
a For the application on a system with one rCore and n r primitive cores n
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 n and n
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started