Question

Problem 1: You are working on a program with an execution time of 3.5 days.  You are...

Problem 1: You are working on a program with an execution time of 3.5 days.  You are looking for ways to speed up the program, and have come up with 2 options.

Option 1: Optimization that reduces memory access from 35% to 15% of total execution time.

Option 2: Reduce the number of I/O operations by a factor of 10.  I/O operations currently make up 22% of the execution time.

(A) What is the speedup of option 1?

(B) What is the speedup of option 2?

(C) If you are only able to implement one of these two options, which should you choose? What is the new execution time?

(D) If you implement both options, what is the new execution time?

Homework Answers

Answer #1

That was a nice question to answer
Friend, If you have any doubts in understanding do let me know in the comment section. I will be happy to help you further.
Please like if you think effort deserves a like.
Thanks

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
1- In process creation, what are the possibilities in concerned (1) Parent execution (2) Address space...
1- In process creation, what are the possibilities in concerned (1) Parent execution (2) Address space of the new process (child)? 2- A parent may terminate the execution of one of its children. What are the reasons? 3- What are the CPU scheduling algorithm criteria? 4- What are the events occur when the process allocate to the CPU and is executing? 5- What are the differences between: (1) Long-term scheduler and short-term scheduler? (2) Preemptive and non-preemptive scheduling? (3) CPU-bound...
PLEASE POST IN C++ : Thank you!! 5.27 LAB*: Program: Soccer team roster (Vectors) This program...
PLEASE POST IN C++ : Thank you!! 5.27 LAB*: Program: Soccer team roster (Vectors) This program will store roster and rating information for a soccer team. Coaches rate players during tryouts to ensure a balanced team. (1) Prompt the user to input five pairs of numbers: A player's jersey number (0 - 99) and the player's rating (1 - 9). Store the jersey numbers in one int vector and the ratings in another int vector. Output these vectors (i.e., output...
A track coach claims that their new month long training program will reduce your mile time...
A track coach claims that their new month long training program will reduce your mile time by 1 minute.You want to statistically test if the training program reduces your mile time by something other than 1minute. You decide to randomly select 8 people and record their mile times. You then have them follow thecoach’s training program for a month and record their mile times post training program. The times of thesubjects are listed below. Subject#1-8 Mile Time Before Training -...
This program will store roster and rating information for a soccer team. Coaches rate players during...
This program will store roster and rating information for a soccer team. Coaches rate players during tryouts to ensure a balanced team. (1) Prompt the user to input five pairs of numbers: A player's jersey number (0 - 99) and the player's rating (1 - 9). Store the jersey numbers in one int vector and the ratings in another int vector. Output these vectors (i.e., output the roster). (3 pts) Ex: Enter player 1's jersey number: 84 Enter player 1's...
BUSI 320 Problem#3 (Decision #1) Use what you have learned about the time value of money...
BUSI 320 Problem#3 (Decision #1) Use what you have learned about the time value of money to analyze each of the following decisions: Decision #1:   Which set of Cash Flows is worth more now? Assume that your grandmother wants to give you generous gift. She wants you to choose which one of the following sets of cash flows you would like to receive:      Option A: Receive a one-time gift of $10,000 today.    Option B: Receive a $1600 gift...
1. What is NOT considered one of Medicare Access and Children’s Health Insurance Program Reauthorization Act...
1. What is NOT considered one of Medicare Access and Children’s Health Insurance Program Reauthorization Act of 2015 (MACRAs) most important changes to how Medicare pays health care providers who care for beneficiaries?                              [A]       Establish two payment options             [B]       Incentivize practice transformation             [C]       Establish only one new payment option             [D]       Repeal the SGR formula 2. What is NOT an example of price control?                [A]       Hiring experienced workers             [B]       Reduction in quality in...
1. Given an n-element array A, Algorithm X executes an O(n)-time computation for each even number...
1. Given an n-element array A, Algorithm X executes an O(n)-time computation for each even number in A and an O(log n)-time computation for each odd number in A. What is the best-case running time of Algorithm X? What is the worst-case running time of Algorithm X? 2. Given an array, A, of n integers, give an O(n)-time algorithm that finds the longest subarray of A such that all the numbers in that subarray are in sorted order. Your algorithm...
1. If you have a coin (you may assume that it is perfectly weighted and cannot...
1. If you have a coin (you may assume that it is perfectly weighted and cannot land on its side). The coin then can land on heads or tails. What are the chances of you flipping it 4 times in a row and having it come up heads each time? What are the chances of you flipping it 4 times in a row and having it come up tails each time? What are the chance of it coming up heads...
Consider the C program (twoupdate) to demonstrate race condition. In this assignment, we will implement Peterson's...
Consider the C program (twoupdate) to demonstrate race condition. In this assignment, we will implement Peterson's algorithm to ensure mutual exclusion in the respective critical sections of the two processes, and thereby eliminate the race condition. In order to implement Peterson's Algorithm, the two processes should share a boolean array calledflagwith two components and an integer variable called turn, all initialized suitably. We will create and access these shared variables using UNIX system calls relating to shared memory – shmget,...
This program extends the earlier "Online shopping cart" program. (Consider first saving your earlier program). Extend...
This program extends the earlier "Online shopping cart" program. (Consider first saving your earlier program). Extend the ItemToPurchase class per the following specifications              Private fields string itemDescription - Initialized in default constructor to "none" Parameterized constructor to assign item name, item description, item price, and itemquantity (default values of 0).             Public instance member methods setDescription() mutator & getDescription() accessor (2 pts) printItemCost() - Outputs the item name followed by the quantity, price, and subtotal printItemDescription() - Outputs the...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT