CS FundamentalsModerateGATE CS
Which is a disadvantage of a very large page size (e.g. 1 GB pages for all memory)?
- A. Larger page tables
- B. Smaller TLB reach
- C. More TLB misses for big arrays
- D. Heavy internal fragmentation and costly page faults (huge transfers), plus coarse protection/sharing granularity
Correct answer: D. Heavy internal fragmentation and costly page faults (huge transfers), plus coarse protection/sharing granularity
Huge pages shrink page tables and extend TLB reach, but waste memory on partially used pages and make each fault and copy-on-write expensive.
More Operating Systems questions
- Kernel same-page merging (KSM) / page deduplication scans for identical pages across VMs and maps them to one frame. What makes this safe…
- Writes of at most PIPEBUF bytes to a pipe have which guarantee when several writers share the pipe?
- A process reads a file sequentially, and the OS detects this. Which buffer-cache policy is most appropriate?
- Which statement about the unified buffer cache (page cache shared by mmap and read/write) is correct?
- A log-structured file system (LFS) writes all modifications sequentially to a log. What is its main background cost?
- Why do SSDs need the TRIM command and wear levelling, unlike hard disks?