CST 334 Week 4
This week I learned about paging and how it can help virtualize memory. Paging breaks process into pages or small sections of memory so they can be better stored within the physical memory of a system. This helps to address the problem of segmentation within physical memory as these pages can fit into smaller gaps than full processes. The process needs to think it has its own private address space in physical memory so paging sheets, which track where pages are in physical memory, are used so that a virtual address can be seen by the process to create the illusion of a contiguous memory space.
I also learned that it can be costly and consume a lot of time to translate a virtual address to a physical address due to having to transverse the page tables. The translation look aside buffer addresses this problem as common address locations are stored here to allow quick access for the OS to find. Paging is a great way to virtualize memory.
Comments
Post a Comment