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 of the cache as a quick-access store for frequently used items.
Define a cache miss.
Consider what happens when you search for something that's not in a cupboard but in a larger storage area.
What happens during a cache hit?
Think of a cache hit as finding your book on the desk instead of having to look for it in the library.
Is it true that a cache miss indicates that data is absent from the cache?
If you can't find something where you expect it, it's likely misplaced or absent.
Design a direct mapped cache with a capacity of 32 KB, where each block consists of 8 bytes. Determine the total number of cache lines and tag bits required.
Start by calculating the number of lines and then factor in the remaining bits for the tag.
If a sequence of addresses is accessed in a direct mapped cache and the access pattern leads to continual misses despite having data in previous blocks, analyze why this occurs and suggest an improvement.
Consider how reorganizing access patterns can lead to better cache utilization.
5 more questions in this section. Enroll free to practise them all.
Enroll free