A program's execution time consists of 60% CPU time and 40% I/O time. Using Amdahl's Law, determine which solution offers better overall performance improvement: Enhancing the CPU speed by 30%, or Reducing the I/O time by 25%.
Added by Daniel M.
Step 1
- Let the total execution time be represented as \( T \). - CPU time = 60% of \( T \) = \( 0.6T \) - I/O time = 40% of \( T \) = \( 0.4T \) Show more…
Show all steps
Your feedback will help us improve your experience
Akash M and 83 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
1. Calculate the overall speedup of a system that spends 65% of its time in calculations with a processor upgrade that provides for 125% greater throughput. 2. Suppose your company has decided that it needs to make certain busy servers faster to achieve an overall system speedup of 35%. Processes in the workload spend 65% of their time using the CPU and 45% on I/O: How much faster does the CPU need to be? How much faster does the disk need to be?
Akash M.
Computer Architecture Lesson What is the overall speedup of a system that spends 65% of its time on I/O with a disk upgrade that provides for 70% greater throughput?
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
Transcript
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD