If it takes 50ns to search associative registers and also about 100ns ...
To find out the percentage of slowdown in memory access time, we need to compare the time taken for a hit in the associative registers with the time taken for a miss in the associative registers.
Given:
Time taken for a hit in associative registers = 50ns
Time taken for access to main memory = 100ns
Hit ratio = 90%
Let's calculate the time taken for a miss in the associative registers.
1. Time taken for a miss in associative registers:
The hit ratio is given as 90%, which means 90% of the time there is a hit in the associative registers. Therefore, the remaining 10% of the time, there is a miss.
Time taken for a miss = Time taken for access to main memory = 100ns
2. Calculation of average memory access time:
To calculate the average memory access time, we need to consider both hits and misses.
Average memory access time = (Hit ratio * Time taken for a hit) + (Miss ratio * Time taken for a miss)
Let's calculate the average memory access time:
Hit ratio = 90%
Miss ratio = 100% - Hit ratio = 100% - 90% = 10%
Average memory access time = (0.9 * 50ns) + (0.1 * 100ns)
= 45ns + 10ns
= 55ns
3. Calculation of slowdown in memory access time:
The slowdown in memory access time is calculated by comparing the average memory access time with the time taken for a hit in the associative registers.
Slowdown = ((Average memory access time - Time taken for a hit) / Time taken for a hit) * 100
Substituting the values:
Slowdown = ((55ns - 50ns) / 50ns) * 100
= (5ns / 50ns) * 100
= 10%
Therefore, the percentage of slowdown in memory access time is 10%.
Since the correct answer is not provided in the options, it is not possible to determine the correct option.
If it takes 50ns to search associative registers and also about 100ns ...
Effective access time = (hit ratio) + (memory access time + search time in associative registers) + (fail ratio) × (search time in associative registers)
= (0.90 × 150) + (0.10 × 250)
=160 ns
% slowdown = 160-100= 60 ns.