Explanation of Solution
Processor number Required time Waiting time Speedup Ratio 1 100 2 50 54 1.85 0.93 4 25 29 3.44 0.86 8 12.5 16.5 6.06 0.75 16 6.25 10.25 9.76 0.61
Processor number | Required time | Waiting time | Speedup | Ratio |
1 | 100 | |||
2 | 50 | 54 | 1.85 | 0.93 |
4 | 25 | 29 | 3.44 | 0.86 |
8 | 12.5 | 16.5 | 6.06 | 0.75 |
16 | 6.25 | 10.25 | 9.76 | 0.61 |
The execution time of the processor can be calculated using the following formula
Substitute, “100” for “execution time” and “1” for “processor number” in the above formula is given below:
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:
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:
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:
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:
Thus the execution time of 16 processors is 6.25 seconds.
The waiting time of the processor can be calculated using the formula
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:
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:
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:
Want to see the full answer?
Check out a sample textbook solutionChapter 1 Solutions
Computer Organization and Design MIPS Edition, Fifth Edition: The Hardware/Software Interface (The Morgan Kaufmann Series in Computer Architecture and Design)
- Computer Networking: A Top-Down Approach (7th Edi...Computer EngineeringISBN:9780133594140Author:James Kurose, Keith RossPublisher:PEARSONComputer Organization and Design MIPS Edition, Fi...Computer EngineeringISBN:9780124077263Author:David A. Patterson, John L. HennessyPublisher:Elsevier ScienceNetwork+ Guide to Networks (MindTap Course List)Computer EngineeringISBN:9781337569330Author:Jill West, Tamara Dean, Jean AndrewsPublisher:Cengage Learning
- Concepts of Database ManagementComputer EngineeringISBN:9781337093422Author:Joy L. Starks, Philip J. Pratt, Mary Z. LastPublisher:Cengage LearningPrelude to ProgrammingComputer EngineeringISBN:9780133750423Author:VENIT, StewartPublisher:Pearson EducationSc Business Data Communications and Networking, T...Computer EngineeringISBN:9781119368830Author:FITZGERALDPublisher:WILEY