Bird
Raised Fist0

In a system combining segmentation with paging, what is the primary performance bottleneck during address translation, and how can it be mitigated?

hard⚙️ Functional Understanding Q10 of Q15
Operating Systems - Paging vs Segmentation - Address Translation
In a system combining segmentation with paging, what is the primary performance bottleneck during address translation, and how can it be mitigated?
ASegment faults are frequent; mitigated by increasing page size.
BLarge segment tables cause memory overflow; mitigated by segment compaction.
CPaging causes external fragmentation; mitigated by segment resizing.
DDouble table lookup (segment then page) increases latency; mitigated by using a two-level TLB.
Step-by-Step Solution
Solution:
  1. Step 1: Identify address translation steps

    Address translation requires first accessing the segment table, then the page table for that segment.
  2. Step 2: Recognize performance bottleneck

    This double lookup increases translation latency compared to pure paging or segmentation.
  3. Step 3: Mitigation strategy

    Using a two-level Translation Lookaside Buffer (TLB) caches both segment and page translations to reduce latency.
  4. Final Answer:

    Option D -> Option D
  5. Quick Check:

    Double lookup -> two-level TLB reduces delay [OK]
Quick Trick: Double lookup slows translation; two-level TLB speeds it up [OK]
Common Mistakes:
MISTAKES
  • Confusing fragmentation issues with translation latency
  • Assuming segment compaction solves lookup delay
  • Misunderstanding page size impact on segment faults
Trap Explanation:
PITFALL
  • Other options confuse fragmentation or fault frequency with translation performance.
Interviewer Note:
CONTEXT
  • Tests understanding of address translation overhead in combined segmentation and paging.
Master "Paging vs Segmentation - Address Translation" in Operating Systems

2 interactive learning modes - each teaches the same concept differently

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Operating Systems Quizzes