30. Changing a certain cache from direct mapped to two-way set-associative caused the hit ratio measured for a certain set of benchmarks to improve from 0.91 to 0.96, with TC = 20 ns, and TM = 70 ns. What is the speedup, assuming no change in TC from the set-associative multiplexer? Speedup is the ratio of the time to complete a process without the improvement to the same process with the improvement.
(A) 1.00 (B) 1.11 (C) 0.89 (D) 0.96 (E) 1.89
Before the improvement, the total time to service all requests is
91*2+9*7=245
After the improvement, the total time to service all requests is
96*2+4*7 = 220