Question
Assume that we are considering enhancing a quad-core machine by adding encryption hardware to it. When computing encryption operations, it is 10 times faster than
Assume that we are considering enhancing a quad-core machine by adding encryption hardware to it. When computing encryption operations, it is 10 times faster than the normal mode of execution. We will define the percentage of encryption as the percentage of time in the original execution that is spent performing encryption operations.
a. If the percentage of encryption is 20%, what is the speedup after the new encryption hardware is added?
b. With what percentage of encryption will adding encryption hardware result in a speedup of 2?
c. What percentage of time in the new execution will be spent on encryption operations if a speedup of 2 is achieved?
d. Suppose you have measured the percentage of encryption to be 20% in the original execution. The hardware design group estimates it can speed up the encryption hardware even more with significant additional investment. You wonder whether adding a second unit in order to support parallel encryption operations would be more useful. Imagine that in the original program, 60% of the encryption operations could be performed in parallel. What is the speedup of providing two or four encryption units, assuming that the parallelization allowed is limited to the number of encryption units? Note: using two encryption units can get speedup of 20 on the encryption operation portion that can be parallelized and get speedup of 10 on the operation portion that cannot be parallelized.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started