Quiz 7, Q&A

Q. What are the advantages of segmentation with paging?

A. Advantages of Segments; Supports sparse address spaces. If segment is not used, no need for page table. Decreases memory required for page tables.

Advantages of Paging; Eliminate external fragmentation. Segments to grow without any reshuffling

Advantages of Both. Increases flexibility of sharing. Share at two levels: Page or segment (entire page table)

Q. What is the block device? Explain.

Q. What are the disadvantages of segmentation with paging?

A. Internal fragmentation increases. Last page of every segment in every process Increases overhead of accessing memory. Large page tables.

Q. What is the character device? Explain.