Tagged articles
4 articles
Page 1 of 1
Code Wrench
Code Wrench
Aug 21, 2024 · Fundamentals

OS Memory Management Explained: Allocation Strategies & Page Replacement in Go

This article delves into operating system memory management, covering continuous and fragmented allocation strategies such as First‑Fit, Next‑Fit, Best‑Fit, and Worst‑Fit, explains swapping and overlay techniques, analyzes page replacement algorithms like Optimal, FIFO, and LRU, and offers practical Go implementations and optimization tips.

Memoryallocationos
0 likes · 12 min read
OS Memory Management Explained: Allocation Strategies & Page Replacement in Go
IT Services Circle
IT Services Circle
Jun 10, 2022 · Fundamentals

Page Replacement Algorithms: OPT, FIFO, LRU, CLOCK, and LFU

This article reviews virtual memory concepts and explains five page replacement algorithms—Optimal (OPT), First‑In‑First‑Out (FIFO), Least Recently Used (LRU), CLOCK (including a simple and improved version), and Least Frequently Used (LFU)—detailing their principles, operation, advantages, drawbacks, and illustrative examples.

FIFOLRUOPT
0 likes · 14 min read
Page Replacement Algorithms: OPT, FIFO, LRU, CLOCK, and LFU
Liangxu Linux
Liangxu Linux
Jan 10, 2021 · Fundamentals

Why Does Your Computer Need Virtual Memory? A Deep Dive into Memory Management

This article explains the fundamentals of operating‑system memory management, covering physical memory limits, the need for address spaces, base‑limit protection, paging, virtual memory mapping, page‑fault handling, and a comprehensive review of page‑replacement algorithms such as FIFO, LRU, Clock, and Working‑Set.

Memory ManagementPagingTLB
0 likes · 26 min read
Why Does Your Computer Need Virtual Memory? A Deep Dive into Memory Management