Memory management method used in Linux system
A memory management and memory technology, applied in memory system, memory architecture access/allocation, memory address/allocation/relocation, etc., can solve problems such as reducing memory usage, performance loss, increasing overhead, etc., to reduce the possibility of TLBmiss , the effect of saving query time and improving memory access speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0039] The technical solution of the present invention will be described in detail below in conjunction with the drawings and embodiments.
[0040] The embodiment of the present invention provides a memory management method under a Linux system, which uses a 2M hugepage physical memory page to reduce TLB miss; by calculating the relationship between the virtual address and the physical address, it is obtained which numa node the mapped hugepage belongs to, and according to the physical address Sort, apply for a fixed-length memory pool in hugepage; apply for free heap in hugepage; legal memory release.
[0041] Specifically, it includes pre-setting n 2M hugepage physical memory in the Linux operating system, and then using the Hugetlbfs file system to map the preset hugepage physical memory to the hugefile file in the directory mounted by Hugetlbfs; by reading / proc / self / pagemap page file, get the mapping relationship between virtual address and physical address in this proce...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com