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 the situation where you request an item and get it immediately from storage.
What does the word offset indicate in memory addresses?
Consider how you might find a particular section within a large document.
What is a cache miss?
Think of what happens when you cannot find an item in storage.
True or False: A cache hit leads to retrieving data from main memory.
Review the definitions of hit and miss.
Given a memory system with 64 bytes of cache, where each block is 16 bytes, determine the number of blocks in the cache. Then, if you access a byte at address 20, what cache line will it map to?
Start by calculating the number of blocks, then determine the mapping.
Design a cache system with 8 lines, each with a tag size of 3 bits. If your total addressable memory is 32 bytes, how many bits will be reserved for cache indices and offsets?
Break it into parts: identify how many bits go where and sum them correctly.
6 more questions in this section. Enroll free to practise them all.
Enroll free