Step 1: Cache size.
Total cache size = 64 KB = \(64 \times 1024 = 65536\) bytes.
Step 2: Assume block size.
By default, block size = 64 bytes (standard unless otherwise mentioned).
Thus, total number of blocks in cache = \(\dfrac{65536}{64} = 1024\) blocks.
Step 3: Number of sets.
It is 8-way set associative. Hence, each set contains 8 blocks.
Number of sets = \(\dfrac{1024}{8} = 128\) sets.
Step 4: Address breakdown.
Address size = 32 bits.
- Block offset bits = \(\log_2(64) = 6\).
- Index bits = \(\log_2(128) = 7\).
- Tag bits = \(32 - (6+7) = 19\).
\[ \boxed{19} \]
A packet with the destination IP address 145.36.109.70 arrives at a router whose routing table is shown. Which interface will the packet be forwarded to?
