20. Paging: Smaller Tables Flashcards

1
Q

Why is larger page tables not a good idea?

A

Although we are able to have lesser number of page tables, there will be internal fragmentation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is internal fragmentation?

A

A situation when there is unused space in a page

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Why is the hybrid approach of using segmentation and page tables bad?

A

There will still be internal and external fragmentation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a page directory?

A

A data structure that is used in multi-level paging to map the addresses of page tables

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is multi-level paging?

A

A memory management technique that uses a hierarchy of page tables to map virtual addresses to physical addresses.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a page directory entry (PDE)?

A

Similar to a PTE, it has a valid bit and a PFN.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the advantages of multi-level page tables?

A
  1. Compact and supports sparse address spaces
  2. The page tables do not need to be in a contiguous block of memory
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the disadvantages of multi-level page tables?

A
  1. Complexity
  2. Increased memory accesses when TLB misses
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is an inverted page table?

A

A memory management technique where there is a single page table that has an entry for each physical page. Each entry will have the mapping from virtual to physical and which process is currently using it

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly