In virtual memory systems, what is the trade-off involved in choosing a larger page size (e.g., "huge pages")?
Correct! Well done.
Incorrect.
The correct answer is A) Larger pages reduce the number of TLB entries needed to cover a given amount of memory (improving TLB hit rates for large working sets), but can increase internal fragmentation since memory is allocated in larger chunks than may be needed
Correct Answer
Larger pages reduce the number of TLB entries needed to cover a given amount of memory (improving TLB hit rates for large working sets), but can increase internal fragmentation since memory is allocated in larger chunks than may be needed
Huge pages can significantly reduce TLB misses for applications with large memory footprints by covering more memory per TLB entry, but if a process only needs a small portion of a huge page, the unused space is wasted — an internal fragmentation trade-off.