cd week_four
Journal Entry Week 4 Topics We Covered Free-space management (malloc/free, fragmentation) TLBs (Translation Lookaside Buffers) Multi-level paging (smaller page tables) Swapping / virtual memory beyond physical memory Page faults and present bit Page replacement policies (FIFO, LRU, Random, Optimal) Cache performance (hit rate, AMAT, locality) Explaining the Topics Free-space management is basically how memory gets handed out and taken back. The tricky part is fragmentation, where memory gets split into little pieces, and even if you technically have enough space, you can’t use it efficiently. TLBs are like a shortcut for address translation. Instead of checking the page table every time, which is slow, we cache recent translations so we can reuse them quickly. That makes a huge difference in performance. Multi-level paging solves the problem of page tables being way too big. Instead of storing one giant table, we break it into smaller piec...