Method and device for realizing cold and hot data migration between DRAM and PMEM
A technology of hot and cold data and hot pages, which is applied in the field of realizing hot and cold data migration between DRAM and PMEM, can solve the problems of application performance degradation and PMEM memory access speed, etc., and achieves simple structure, improved memory access performance, wide The effect of the application foreground
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0084] like figure 1 As shown, the present invention provides a kind of method that realizes cold and hot data migration between DRAM and PMEM, comprises the steps:
[0085] S1. Divide PMEM memory and DRAM memory on the same memory controller into different numa nodes, and set the corresponding numa nodes of PMEM memory as slow nodes, and set the corresponding numa nodes of DRAM memory as fast nodes;
[0086] S2. Obtain the distance between each numa node, and divide the nearest slow node and fast node into a node group;
[0087] S3. Identify cold pages on the fast nodes according to the first time threshold, and identify hot pages on the slow nodes according to the second time threshold, and migrate the cold pages on the fast nodes to the slow nodes in the same node group, And migrate hot pages on slow nodes to fast nodes in the same node group;
[0088] S4. When performing cold page migration, if the slow nodes in the node group have been used up, increase the first time t...
Embodiment 2
[0090] like figure 2 As shown, the present invention provides a kind of method that realizes cold and hot data migration between DRAM and PMEM, comprises the steps:
[0091] S1. Divide PMEM memory and DRAM memory on the same memory controller into different numa nodes, and set the corresponding numa nodes of PMEM memory as slow nodes, and set the corresponding numa nodes of DRAM memory as fast nodes; the specific steps are as follows:
[0092] S11. Obtain the number of CPUs of the operating system, and create different numa nodes for the PMEM memory and DRAM memory on the corresponding memory controller of each CPU;
[0093] S12. Divide the numa node corresponding to the PMEM memory into a slow node, and divide the numa node corresponding to the DRAM memory into a fast node;
[0094] S2. Obtain the distance between each numa node, and divide the nearest slow node and fast node into a node group; the specific steps are as follows:
[0095] S21. Obtain the distance between ea...
Embodiment 3
[0137] Such as image 3 As shown, the present invention provides a kind of device that realizes cold and hot data migration between DRAM and PMEM, comprising:
[0138] Node division module 1 is used to divide the PMEM memory and DRAM memory on the same memory controller into different numa nodes, and set the numa nodes corresponding to PMEM memory as slow nodes, and set the numa nodes corresponding to DRAM memory as fast nodes ; Node division module 1 includes:
[0139] The numa node creation unit 1.1 is used to obtain the number of CPUs of the operating system, and create different numa nodes for the PMEM memory and DRAM memory on the corresponding memory controller of each CPU;
[0140] The slow node and fast node division unit 1.2 is used to divide the numa node corresponding to the PMEM memory into a slow node, and divide the numa node corresponding to the DRAM memory into a fast node;
[0141] The node group setting module 2 is used to obtain the distance between each n...
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