Question: Q 4 . [ 2 0 points ] Assume that we make an enhancement to a computer that improves some mode of execution by a
Q points Assume that we make an enhancement to a computer that improves
some mode of execution by a factor of Enhanced mode is used of the time,
measured as a percentage of the execution time when the enhanced mode is in use. Recall
that Amdahl's law depends on the fraction of the original, unenhanced execution time that
could make use of enhanced mode. Thus, we cannot directly use this measurement to
compute speedup with Amdahl's law. a What is the speedup we have obtained from
enhanced mode? b What percentage of the original execution time has been converted to
enhanced mode?
Q points When making changes to optimize part of a processor, it is often the
case that speeding up one type of instruction comes at the cost of slowing down
something else. For example, if we put in a complicated fast floating point unit, that takes
space, and something might have to be moved farther away from the middle to
accommodate it adding an extra cycle in delay to reach that unit. The basic Amdahl's law
equation does not take into account this tradeoff.
a If the new fast floatingpoint unit speeds up floatingpoint operations by on average,
and floatingpoint operations take of the original program's execution time,
what is the overall speedup ignoring the penalty to any other instructions
b Now assume that speeding up the floatingpoint unit slowed down data cache
accesses, resulting in a slowdown or speedup Data cache accesses consume
of the execution time. What is the overall speedup now?
c After implementing the new floatingpoint operations, what percentage of
execution time is spent on floatingpoint operations? What percentage is spent on data
cache accesses.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
