Final answer:
To calculate the effective access time, consider both the TLB access time and the TLB miss rate. The effective access time is the sum of the TLB access time and the time it takes to read a value from memory.
Step-by-step explanation:
a) To calculate the effective access time, we need to consider both the TLB access time and the TLB miss rate. First, we calculate the time it takes to access the TLB: 500 ns x 0.2 (20% miss rate) = 100 ns. Then, we calculate the time it takes to read a value from memory: 3 microseconds. Finally, we add these two times together to get the effective access time: 100 ns + 3 microseconds = 3.1 microseconds.
b) In this case, the TLB hit rate is 95%, so we calculate the time it takes to access the TLB: 900 ns x 0.95 (95% hit rate) = 855 ns. Again, we add the time it takes to read a value from memory: 3 microseconds. The effective access time is therefore: 855 ns + 3 microseconds = 3.855 microseconds.