Difficulty: Medium
Correct Answer: internal fragmentation is increased with small pages
Explanation:
Introduction / Context:Choosing a page size affects memory overhead, fragmentation, locality, and I/O efficiency. Understanding these trade-offs helps in OS and architecture design and in tuning applications for systems with different page sizes.
Given Data / Assumptions:
Concept / Approach:
Smaller pages reduce internal fragmentation because wasted space per allocated page decreases. However, smaller pages increase the number of pages needed to cover an address space, increasing page table size and TLB pressure. Bigger pages improve sequential disk I/O efficiency but may bring in unnecessary data and instructions, potentially increasing cache and memory bandwidth waste.
Step-by-Step Reasoning:
Evaluate option A: Smaller pages imply more pages; thus larger page tables. True.Evaluate option B: Smaller pages reduce, not increase, internal fragmentation. False (therefore the correct choice).Evaluate option C: Larger pages fetch more contiguous data; some may be unused. True.Evaluate option D: Larger transfer sizes often yield better I/O efficiency. True.Verification / Alternative check:
OS literature and performance studies confirm the general relationships: small pages reduce internal waste but increase metadata overhead; large pages improve I/O and TLB reach but can cause overfetch.
Why Other Options Are Wrong:
Common Pitfalls:
Confusing internal with external fragmentation; assuming larger pages always improve performance (they may hurt locality for sparse accesses).
Final Answer:
internal fragmentation is increased with small pages
Discussion & Comments