1. Storage Managementhistorical

    1. What Is Memory Management? Manage the computer's memory. 2. Memory Allocation and Reclamation Memory Allocation and Reclamation 3. Memory Management Schemes 3.1. Segmentation and Paging Segmentation and Paging 3.2. Virtual Memory Virtual Memory

  2. Virtual Memoryhistorical

    [toc] 1. Why Virtual Memory Is Needed To solve the problem of insufficient physical memory. For example, if we have a 16GB game but only 4GB of physical memory, how can it run? Traditional memory management has two problems: A job must be loaded into

  3. Memory Allocation and Reclamationhistorical

    [toc] 1. Memory Allocation There are three main allocation methods: 1.1. Single Contiguous Allocation Can only be used in single user, single process operating systems. Memory is divided into a system area and a user area. The system area is used to

  4. Segmentation and Paginghistorical

    1. Address Space 1.1. Physical Address Space To better manage memory, the operating system assigns an address to every byte of memory, forming the physical address space. The maximum size of this space is the size of memory. 1.2. Virtual Address Spac

  5. Linux Memory Managementhistorical

    1. Linux Memory Management 2. Swap Space It is a partition on disk. When Linux memory is full, some memory is swapped to the Swap space. 2.1. Swap Space vs Virtual Memory Swap Space Virtual Memory Exists on disk Exists on disk Swapped with main memor

  6. Page Replacementhistorical

    1. What Is It? Page replacement algorithms are similar to cache eviction policies. The former solve a capacity problem, while the latter solve a speed problem. Cache eviction policy: memory can be viewed as a cache for disk. Data that will be used sh