Why do modern systems use multi-level (hierarchical) page tables?

Correct answer B. To avoid allocating page table space for the large unused regions of the virtual address space

Explanation

A flat table must hold an entry for every virtual page, used or not. With a multi-level table, second-level tables are created only for regions actually in use, saving a great deal of memory for sparse address spaces. The cost is that a TLB miss needs several memory reads to walk the levels, which is why the TLB matters even more.

Report a problem

Answer checked How we write and check questions

Tip: press A, B, C or D to answer, and N for the next question.

Advertisement

Have a question about this answer?

Your email address will not be published. Required fields are marked *

Links and website addresses are not allowed in comments.