COMP 3430 – Operating Systems
Paging part 2
April 13th, 2022
Copyright By PowCoder代写 加微信 powcoder
By the end of today’s lecture, you should be able to:
▶ Describe the concept of paging.
▶ Compare and contrast methods for
address translation.
▶ Explain how paging solves the problems
introduced with segmentation.
The Woggle-Bug Book (Public Domain)
Let’s take a look at the course schedule.
▶ Base and bounds: Internal fragmentation .
▶ Segmentation: external fragmentation . ▶ Paging: Similar idea to segmentation
▶ Don’t allocate full address spaces.
▶ Logically separate memory into chunks.
▶ Chunks are fixed in size.
▶ Let’s draw some pictures. ▶ Let’s have a quiz.
Drawers and boxes. (Pexels License)
Paging and segmentation
Paging and segmentation are similar, but different. Let’s look at some questions.
▶ Paging solves external fragmentation.
▶ At the cost of complexity (speed and space)!
▶ Paging is a more general solution than segmentation.
程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com