Question

A certain program consists of three independent parts A, B and C that can execute in...

A certain program consists of three independent parts A, B and C that can execute in parallel on separate processors within a multiprocessor system. None of the parts can be further subdivided and each part must execute on a single processor. Part A requires 78 billion cycles to complete, part B requires 40 billion cycles to complete and part C requires 62 billion cycles. The program is executed on an SMP system with 4 identical processors all running at the same 2 GHz clock rate.

a) How long does it take to execute the entire program (all 3 parts) if only one of the processors is used to execute the program (the other 3 processors remain idle)?

b) What is the minimum time required to execute the entire program (all 3 parts) if only two of the processors are used to execute the program (the other 2 processors remain idle)?

c) What is the minimum time required to execute the entire program (all 3 parts) if all 4 processors are used?

Homework Answers

Answer #1

(a) If only 1 processor works, all the parts will be sequentially executed hence:
the total time required will be = (78+40+62) x 10^9 cycles / 2GHz = 90 seconds

(b) If only two processors are working then to avoid starvation of minimum time consuming program results
in executing Part B and C together on a processor while A on another processor (as it required highest cycles)
Hence the minimum time required will be: (40+62 = 102) billion cycles / 2GHz = 51 seconds

(c) With all the four processors working, the minimum time required will be that of the highest time consuming program (as they are running in parallel and can't be further subdivided hence leaving the 4th processor unused).
Hence the required time = 78 billion cycles / 2GHz = 39 seconds

Know the answer?
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
Similar Questions
Another different program consists of a purely sequential part that requires 20 seconds to execute on...
Another different program consists of a purely sequential part that requires 20 seconds to execute on a single-core processor. The sequential part must execute first and is followed by a parallel part containing 4 independent tasks each of which takes 12 seconds to run? a) What is the total execution time for the entire program on the single-core processor? b) Compared to the single-core processor, what is the actual speedup achieved by running the program on a 4-core version of...
(a) A uniprocessor system uses a separate instruction and data caches with the hit ratios hi...
(a) A uniprocessor system uses a separate instruction and data caches with the hit ratios hi and hd, respectively. The access time from the processor to either cache is c clock cycles, and the block is transfer time between the caches and main memory is b block cycles. Among all memory references made by the CPU, fi is the percentage of the references to instructions. Among blocks replaced in the data cache, fdir is the percentage of dirty blocks. Assuming...
I'm currently stuck on Level 3 for the following assignment. When passing my program through testing...
I'm currently stuck on Level 3 for the following assignment. When passing my program through testing associated with the assignment it is failing one part of testing.   Below is the test that fails: Failed test 4: differences in output arguments: -c input data: a b c -c expected stdout: b observed stdout: a b expected stderr: observed stderr: ./test: invalid option -- 'c' Unsure where I have gone wrong. MUST BE WRITTEN IN C++ Task Level 1: Basic operation Complete...
The picture shown below shows variation among three individuals with respect to 4 nucleotides - AGAT....
The picture shown below shows variation among three individuals with respect to 4 nucleotides - AGAT. What do you think what type of variation is this? AGAT different repeat numbers in different individuals .png Minisatellite Single nucleotide polymorphism Short Tandem Repeats Which of the following statements is TRUE about DNA matching? Typical difference between the genomes of human beings and Chimpanzees is estimated to be 25 % Typical difference between the genomes of human beings and Drosophila is   estimated to...
CASE STUDY – Jacobson Carpet Company In January 2002, Ms. Mary Lewis was preparing to meet...
CASE STUDY – Jacobson Carpet Company In January 2002, Ms. Mary Lewis was preparing to meet with Mr. Carpenter, President of Jacobson Carpet Company. Ms. Lewis assumed that the meeting was related to the recent Board of directors of the company. As a direct assistant to the President, she knew from experience that this type of meeting often resulted in a project to be studied. Her expectation was confirmed as soon as Mr. Carpenter began to inform her of the...
Discuss ethical issues that can be identified in this case and the mode of managing ethics...
Discuss ethical issues that can be identified in this case and the mode of managing ethics Enron finds itself in this case. How would you describe the ethical culture and levels of trust at Enron? Provide reasons for your assessment. THE FALL OF ENRON: A STAKEHOLDER FAILURE Once upon a time, there was a gleaming headquarters office tower in Houston, with a giant tilted "£"' in front, slowly revolving in the Texas sun. The Enron Corporation, which once ranked among...
QUESTION: Why do governments typically take an unsupportive stance on countertrade arrangements? Article Below: The Bell...
QUESTION: Why do governments typically take an unsupportive stance on countertrade arrangements? Article Below: The Bell Boeing V-22 Program, a strategic alliance between Bell Helicopter, a Textron Company, and the Boeing Company,1,2 announced the V-22 Osprey tiltrotor will be featured at the Dubai International Air Show in the United Arab Emirates (UAE) from November 13 to 17, 2011. The Air Show, held biennially, is organized in cooperation with the government of Dubai, the Department of Civil Aviation, and Dubai International...
Wal-Mart Online Wal-Mart is one of the largest companies in America. It is definitely the largest...
Wal-Mart Online Wal-Mart is one of the largest companies in America. It is definitely the largest retailer, both in terms of the number of stores (8,970 worldwide in 2011) and the level of sales ($419 billion from the 2011 Annual Report). By pushing suppliers to continually reduce costs, Wal-Mart is known for pursuing low prices and the stores often attract customers solely in-terested in lower prices. With Wal-Mart’s expansion into groceries, the company has be-come the largest retail grocer in...
Sign In INNOVATION Deep Change: How Operational Innovation Can Transform Your Company by Michael Hammer From...
Sign In INNOVATION Deep Change: How Operational Innovation Can Transform Your Company by Michael Hammer From the April 2004 Issue Save Share 8.95 In 1991, Progressive Insurance, an automobile insurer based in Mayfield Village, Ohio, had approximately $1.3 billion in sales. By 2002, that figure had grown to $9.5 billion. What fashionable strategies did Progressive employ to achieve sevenfold growth in just over a decade? Was it positioned in a high-growth industry? Hardly. Auto insurance is a mature, 100-year-old industry...
Please read the article and answear about questions. Determining the Value of the Business After you...
Please read the article and answear about questions. Determining the Value of the Business After you have completed a thorough and exacting investigation, you need to analyze all the infor- mation you have gathered. This is the time to consult with your business, financial, and legal advis- ers to arrive at an estimate of the value of the business. Outside advisers are impartial and are more likely to see the bad things about the business than are you. You should...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT