Fraction of time spent doing floating-point operations

Assignment Help Operating System
Reference no: EM13943331

Amdahl's law is sometimes given in another form that yields the speedup. Speedup is the measure of how a computer performs after some enhancement relative to how it performed previously. Thus, if some feature yields a speedup ratio of 2, performance with the enhancement is twice what it was before the enhancement. Hence, we can write
The earlier version of Amdahl's law was given as

4.19 [5] <§4.3> Suppose we enhance a computer to make all floating-point instructions run five times faster. Let's look at how speedup behaves when we incorporate the faster floating-point hardware. If the execution time of some benchmark before the floating-point enhancement is 10 seconds, what will the speedup be if half of the 10 seconds is spent executing floating-point instructions?

4.20 [10] <§4.3> We are looking for a benchmark to show off the new floating-point unit described in Exercise , and we want the overall benchmark to show a speedup of 3. One benchmark we are considering runs for 100 seconds with the old floating-point hardware. How much of the initial execution time would floating-point instructions have to account for to show an overall

speedup of 3 on this benchmark?
Speedup Performance after improvement
Performance before improvement
= ---------------------------------------------------------------------------------
Execution time before improvement
Execution time after improvement
= -------------------------------------------------------------------------------------- -
Execution time after improvement Execution time affected by improvement
Amount of improvement
= -------------------------------------------------------------------------------------------------
1 + Execution time unaffected
IMD 4.8-2 In More Depth

4.21 [10] <§4.3> Assuming that we enhance the floating-point unit as described in Exercise , plot the speedup obtained, versus the fraction of time in the original program spent doing floating-point operations, on a graph of the following form:

4.22 [5] <§4.3> You are going to enhance a computer, and there are two possible improvements: either make multiply instructions run four times faster than before, or make memory access instructions run two times faster than before. You repeatedly run a program that takes 100 seconds to execute. Of this time, 20% is used for multiplication, 50% for memory access instructions, and 30% for other tasks. What will the speedup be if you improve only multiplication? What will the speedup be if you improve only memory access? What will the speedup be if both improvements are made?

4.23 [5] <§4.3> You are going to change the program described in Exercise so that the percentages are not 20%, 50%, and 30% anymore. Assuming that none of the new percentages is 0, what sort of program would result in a tie (with
regard to speedup) between the two individual improvements? Provide both a formula and some examples.

4.24 [20] <§4.3> Amdahl's law is often written in terms of overall speedup as a function of two variables: the size of the enhancement (or amount of improvement) and the fraction of the original execution time that the enhanced feature is being used. Derive this form of the equation from the two equations above.

Speedup

0.25 0.50

Fraction of time spent doing floating-point operations in the original

0.75 1.00
5.0
4.0
3.0
2.0
1.0
0

Reference no: EM13943331

Questions Cloud

What is the overall corporate beta of apex health : Why do the corporate and market beta differ for the same project? What is the overall corporate beta of Apex Health Services? k Is the calculated beta consistent with corporate risk theory?
Both entering and leaving gas streams : A mixture of 25% ammonia gas and 75 % air ( dry basis) is passed upward through a vertical scrubbing tower , to the top of which water is pumped. Scrubbed gas containing 0.5 % ammonia leaves the top of the tower, and an aqueou..
Undertaking a literature review : In order to produce a project proposal you need to know what work has already been done in that area by undertaking a literature review, that provides you some research questions/aims with a contextual framework. In essence it should:
Reliable source of product at an economical price : BSBFIM501 - Provide a sound and reliable source of product at an economical price for use in the café and catering parts of the business - contact for issues and changes to process and budget.
Fraction of time spent doing floating-point operations : We are looking for a benchmark to show off the new floating-point unit described in Exercise , and we want the overall benchmark to show a speedup of 3. One benchmark we are considering runs for 100 seconds with the old floating-point hardware. Ho..
Write a short paragraph- front doors to the library : The problem: The front doors to the library. Write a short paragraph (25 words or less) indicating the problem.
Risk management and malicious attacks : With regards to risk-response planning, there are four (4) responses to negative risks that an organization may pursue: avoid, transfer, mitigate, and accept. Develop an original and unique scenario to describe and contrast each of these responses..
What role phyllis attitude plays on her condition : The value of social support in general and as it applies to this case, How Phyllis might learn to thrive more fully in her current situation, along with evidence-based recommendations for intervention and What role Phyllis's attitude plays on her co..
How does nace define the modern corporation : How does Nace define the modern corporation and how is it different from the ‘classical' form? What are the ‘essential characteristics' of the corporation, according to Glasbeek?

Reviews

Write a Review

Operating System Questions & Answers

  How operating system is clearly superior for any application

Consider the advantages and disadvantages of each major operating system that Amy might use on the Web server. If you don't think that one operating system is clearly superior for this application, describe why.

  Describe the osi reference model

Describe the OSI Reference Model. List the seven layers of the OSI model. Write the name of the layer next to the number to which it corresponds

  Rights to privacy

Determine what rights to privacy do people have when using the Internet at home? Are their privacy rights limited? Do those same rights and limits exist at work? Describe your view.

  Compare windows operating system with mac os

Compare windows Operating system with mac OS. write advantages and disadvantages of both (400 words). 2. Briefly discuss the usage of the following Microsoft office software (800 words)

  Describe lean operating systems

Lean Operating Systems, From the first e-Activity, examine at least three different types of waste that can be found in an organization of your choice. Suggest the lean strategies to confront them.

  Implement distributed system facility

In this assignment you will implement a distributed system facility based on Client-Server programming -  The client and server processes will be on different machines. In this case, the server is a stateful server.

  Three-process 4 resource system

Give an example of a three-process 4 resource system that is in an unsafe state. Explain why it is in an unsafe state. How many more resources would need to be added to make it a safe state?

  Question about electronic monitoring

Give some discussion about Electronic checking, such as what is used in stores, through employers and by the public. Planning these questions in the response.

  Write about the dual roles for the operating system

The dual operating system roles by presenting a GUI to the user and hardware resources management are conflict one with another.

  Inter process communication services implementation

You will provide a diagram illustrating the Linux kernel architecture and various components and classify it according to what we discussed in class, Inter Process Communication services implementation

  Explain how would implement a similar scenario using unix

Explain how you would implement a similar scenario using UNIX?

  Describe different ways to program producer-consumer problem

Describe two different ways to program producer-consumer problems using shared buffers and semaphores in Windows 7. Think about how to implement the shared buff- er in each case.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd