Skip to main content

Translation prediction practice

  1. Translate 0x2345 and 0x2FFF with VPN 2 mapped to frame 9. Predict what changes at 0x3000.
  2. Trace pages 1,2,1,3,1 with capacity 2; record cache order and physical address after every access. Repeat at capacities 1 and 3.
  3. Warm a read-only mapping with a read, then write through the cached translation. Predict cache outcome and access outcome separately.
  4. Map a readable nonresident page, access it, install frame 7 and retry. Contrast an absent mapping. Do not invent a disk access in the model.
  5. Give two ASIDs different frames for the same VPN. Alternate reads, then downgrade only one ASID's permission. Record which entries are invalidated.
  6. Produce a minimal stale-frame example: map, warm, remap, access. Explain why the static five-page trace would not detect missing invalidation.

Keep predictions before execution, counter reconciliation and one corrected misconception. Repeat a fresh mapping-change case after 48 hours without solutions. Record assistance.