Computer Organization and Design MIPS Edition, Fifth Edition: The Hardware/Software Interface (The Morgan Kaufmann Series in Computer Architecture and Design)
Expert Solution & Answer
Book Icon
Chapter 1, Problem 1.15E

Explanation of Solution

Processor numberRequired timeWaiting timeSpeedupRatio
1100   
250541.850.93
425293.440.86
812.516.56.060.75
166.2510.259.760.61

The execution time of the processor can be calculated using the following formula

Requiredtime=ExecutiontimeProcessornumber

Substitute, “100” for “execution time” and “1” for “processor number” in the above formula is given below:

Requiredtime=1001=100

Thus the time required by the first processor is 100 seconds.

Substitute, “100” for “execution time” and “2” for “processor number” in the above formula is given below:

Requiredtime=1002=50

Thus the time required by 2 processors is 50 seconds.

Substitute, “100” for “execution time” and “4” for “processor number” in the above formula is given below:

Requiredtime=1004=25

Thus the time required by 4 processors is 25 seconds.

Substitute, “100” for “execution time” and “8” for “processor number” in the above formula is given below:

Requiredtime=1008=12.5

Thus the time required by 8 processors is 12.5 seconds.

Substitute, “100” for “execution time” and “16” for “processor number” in the above formula is given below:

Requiredtime=10016=6.25

Thus the execution time of 16 processors is 6.25 seconds.

The waiting time of the processor can be calculated using the formula Waitingtime=Requiredtime+Overheadtime

The waiting time of the first processor is 0 because the processor itself starts the process on the requirement.

Substitute, “50” for “required time” and “4” for “overhead time” in the above formula is given below:

Waitingtime=50+4=54

Thus, the waiting time of 2 processors is 54 seconds.

Substitute, “25” for “required time” and “4” for “overhead time” in the above formula is given below:

Waitingtime=25+4=29

Thus, the waiting time of 4 processors is 29 seconds.

Substitute, “12.5” for “required time” and “4” for “overhead time” in the above formula is given below:

Waitingtime=12.5+4=16

Blurred answer
Knowledge Booster
Background pattern image
Recommended textbooks for you
Text book image
Computer Networking: A Top-Down Approach (7th Edi...
Computer Engineering
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:PEARSON
Text book image
Computer Organization and Design MIPS Edition, Fi...
Computer Engineering
ISBN:9780124077263
Author:David A. Patterson, John L. Hennessy
Publisher:Elsevier Science
Text book image
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:9781337569330
Author:Jill West, Tamara Dean, Jean Andrews
Publisher:Cengage Learning
Text book image
Concepts of Database Management
Computer Engineering
ISBN:9781337093422
Author:Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:Cengage Learning
Text book image
Prelude to Programming
Computer Engineering
ISBN:9780133750423
Author:VENIT, Stewart
Publisher:Pearson Education
Text book image
Sc Business Data Communications and Networking, T...
Computer Engineering
ISBN:9781119368830
Author:FITZGERALD
Publisher:WILEY