Question

1) Suppose that an application can take advantage of the parallelism provide by a dual core...

1) Suppose that an application can take advantage of the parallelism provide by a dual core processor 33% of execution time. Use Amdahl's Law to determine the overall speedup of the application on a dual core processor versus a single core processor.

PLEASE EXPLAIN IN DETAIL

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Amdahl's Law for maximum speedup:

  • Let S be the serial component of the program
  • Let n be the number of CPU cores

Then, according to Amdahl's Law,

speedup \leq \frac{1}{S + \frac{1-S}{n}}

In the above problem, it is given that 33% of the application works in parallel. Hence, the serial component(S) of this application is ( 100 - 33 ) 67%.

Therefore, S = 0.67

For two processing cores, (n = 2) speedup gain

=\frac{1}{0.67 + \frac{1-0.67}{2}}

=1.1976

For a single core processor, (n=1), the speedup gain

=\frac{1}{0.67 + \frac{1-0.67}{1}}

=1

Thus, for a dual core processor, the overall speedup is 1.1976 and for a single core processor the speedup is 1.

Add a comment
Know the answer?
Add Answer to:
1) Suppose that an application can take advantage of the parallelism provide by a dual core...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • .13 : Assume that we make an enhancement to a computer that improves some mode of...

    .13 : Assume that we make an enhancement to a computer that improves some mode of execution by a factor of 10. Enhanced mode is used 50% 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 50% measurement to compute speedup with Amdahl’s law....

  • Receive auto thumbs up, thanks for trying! Question 1 (Multicore Performance) Part A Machine A Machine B 1 core 2 core...

    Receive auto thumbs up, thanks for trying! Question 1 (Multicore Performance) Part A Machine A Machine B 1 core 2 core 4 GHz clock 2 GHz clock Assume a computation takes 1000 cycles on a single core processor (Machine A). Seventy-five percent of this computation can be parallelized on a dual-core processor (Machine B). The clock rate on the dual core processor is 2 GHz while the clock rate on the single core processor is 4 GHz. What is the...

  • Problem 3. (25 pts.) Compilers can have a profound impact on the performance of an application....

    Problem 3. (25 pts.) Compilers can have a profound impact on the performance of an application. Assume that for a program, compiler A results in a dynamic instruction count of 1 billion instructions and has an execution time of 1.1 seconds, while compiler B results in a dynamic instruction count of 1.2 billion instructions and an execution time of 1.5 seconds. A) Find the average CPI for each program given that the processor has a clock cycle time of 1...

  • 1) What can you use fluorescence lifetime (FLIM) measurements for and what is the advantage compare...

    1) What can you use fluorescence lifetime (FLIM) measurements for and what is the advantage compare with fluorescence intensity measurements? I have difficult to understand why FLIM is a better technique than fluorescence intensity? by better I mean the advantage FLIM have comparing to fluorescence intensity method? They say its better because FLIM is indenpendent of change in fluorescence intensity, and fluorophore concentration. But in FLIM measurement we measure the intensity of flourophore versus time? just like the fluorescence intensity...

  • #1- Hello please advise and provide examples The financial ratios a firm can use to measure...

    #1- Hello please advise and provide examples The financial ratios a firm can use to measure the time it will take to collect cash from a potential customer on average. How the ratios are computed, and explain how each works. Why this is important to a business.

  • Overview: In this lab, you will write a program called JobScheduler; it should take a single...

    Overview: In this lab, you will write a program called JobScheduler; it should take a single input file as a command-line argument. Each line in the input file has the following format: <job #> <priority> <arrival time (sec)> <duration (sec)> e.g. a file might contain: 1 3 10 100 5 2 20 50 8 4 5 100 (all values will be positive integers) These jobs might represent computer programs (or threads) that need to be run by the operating system....

  • 1. What is end-system? List example of end-systems 2. Define network edge and network core 3....

    1. What is end-system? List example of end-systems 2. Define network edge and network core 3. Explain Packet-switching 4. List five tasks that a computer network layer can perform Is it possible that one (or more) of these tasks could be performed by two (or more) layers? 5. This elementary problem begins to explore propagation delay and transmission delay, two central concepts in data networking. Consider two hosts, A and B, connected by a single link of rate R bps....

  • 2. Consider the 1D heat equation in a rod of length with diffusion constant Suppose the left endp...

    PDE. Please show all steps in detail. 2. Consider the 1D heat equation in a rod of length with diffusion constant Suppose the left endpoint is convecting (in obedience to Newton's Law of Cooling with proportionality constant K-1) with an outside medium which is 5000. while the right endpoint is insulated. The initial temperature distribution in the rod is given by f(a)- 2000 -0.65 300, 0<

  • 1. A user in Chicago, connected to the internet via a 100 Mb/s (b=bits) connection retrieves...

    1. A user in Chicago, connected to the internet via a 100 Mb/s (b=bits) connection retrieves a 250 KB (B=bytes) web page from a server in London, where the page references three images of 500 KB each. Assume that the one-way propagation delay is 75 ms. a- Approximately how long does it take for the page (including images) to appear on the user’s screen, assuming non-persistent HTTP using a single connection at a time b- How long does it take...

  • 1.DNS can not work if the hostnames are not hierarchal? Explain? 2. Give two scenarios where...

    1.DNS can not work if the hostnames are not hierarchal? Explain? 2. Give two scenarios where DNS protocols (from two hosts) gets two different IP address for the same hostname. 3. If you have a 100% reliable network layer, should you use TCP or UDP at the Transport layer? Explain your answer? 4.Is it is possible for an application on top of UDP to have a reliable data transfer? Explain? 5.Suppose that a Web server runs in Host C on...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT