Search the courses, subjects, tracks, games and features, or jump straight to a page.
4 cards from this section. Quick, good the night before a test.
What is a cache hit?
Think about what happens when data is accessed successfully.
Define cache miss.
Consider what happens when data must be fetched from another source.
What does a cache hit indicate?
What is the main characteristic of a cache hit?
Cache misses lead to longer access times. True or False?
Think about the process following a cache miss.
You have a CPU with a cache that has a hit ratio of 80%. If there are 1,000 memory accesses, how many of those will result in cache hits? How many will be misses?
Calculate 80% of the total accesses for hits, and subtract from the total for misses.
A new caching algorithm has increased the hit ratio from 70% to 85%. If the memory access time for hits is 1ns and misses 20ns, what is the overall average access time before and after the update?
Use the formula: average access time = (time for hits * hit ratio) + (time for misses * miss ratio).
5 more questions in this section. Enroll free to practise them all.
Enroll free