CST 334 Weekly Journal #4

 Weekly Journal

This week I learned about memory virtualization and the mechanics and policies involved in paging. This paging technique helps improve the way the memory is managed by swapping out less frequently used pages to disk and bringing them back when needed. I read that paging is used for virtual memory systems and helps divide physical and virtual memory into fixed blocks. Furthermore, I read about different algorithms like optimal page replacement, not recently used (NRU), first-in-first-out (FIFO), second chance, and least recently used (LRU). These manage the memory and keep it balanced in order to perform correctly. For example, one of the algorithms FIFO removes the oldest pages while LRU removes the pages that haven't been used for the longest time. I found this very interesting to learn because the algorithms are different in their own way, but they all still remove certain pages in a particular way when they need to be removed. All in all, I learned paging and its algorithms are vital for operating systems and its memory.

Comments

Popular Posts