A two level memory is having 140 ns average access time without the level and 30 ns with level. If the fastest memory access time is 20 ns the what will be the hit ratio?
1
Expert's answer
2014-02-06T02:45:16-0500
We can use the formula: average data access time = Cache access time + (1 - hit ratio) main memory access time; So if hit ratio will be x, we can write the next: 20 nS + (1 - x) 140 nS = 30 nS 20 nS + 140 nS - 140 nS x = 30 nS - 140 nS x + 160 nS = 30 nS - 140 nS x = - 130 nS x = 0.928 So hit ratio will be 0.928 or 92.8%
Comments
Dear Sujata Roy, You're welcome. We are glad to be helpful. If you liked our service please press like-button beside answer field. Thank you!
Thank you.
Leave a comment