[科普向]各种内存的理解

科普向的内存理解,非专业。

非分页内存比分页内存

  • not page-locked

Not page-locked memory refers to memory that is not locked in physical memory and can be swapped out to disk if the system needs more physical memory. Page-locked memory, also known as pinned memory, is memory that is locked in physical memory and cannot be swapped out to disk, which is often used in high-performance computing applications to improve performance. The use of page-locked memory can help reduce the overhead of memory management and reduce the frequency of memory-related errors, such as page faults. However, it is important to note that the use of page-locked memory can also increase the memory usage of a program, as the memory is not eligible for paging.

参考: