Similar questions 4 more →
Cache Memory


Shared context
32-bit byte addresses; cache data capacity 256 KB=2^18 bytes; 4-way set associative; 16-byte blocks.
Answer & solution
Answer: 32,768 bytes = 32 KiB for tags only. (no official key was published)
Step through it (8 steps)
1. Total cache blocks equal 256×1024/16=16,384. Every resident block requires its own tag even though blocks share a set index.
2. Each tag has 32−12−4=16 bits. Thus tag storage is 16,384×16=262,144 bits.
3. Convert bits to bytes by dividing by 8: 262,144/8=32,768 bytes, or 32 KiB.
4. This is only the requested tag-bit memory. Valid bits, dirty bits, and replacement metadata would add storage, but their costs are not part of the tag-only question and are not silently included.