Hot writing page prediction method based on memory access
A technology for memory access and prediction methods, which is applied in the input/output process of instrumentation, data processing, electrical digital data processing, etc. Longevity, avoidance of performance impairment
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
specific Embodiment approach 1
[0029] Specific implementation mode 1: In this implementation mode, a specific process of a method for predicting hot pages written based on memory access is as follows:
[0030] Step 1. At time t, when a page P is accessed, first determine which storage medium the operation occurs in:
[0031] If it occurs in DRAM and page P is not in DRAM cache, put page P into DRAM cache and go to step 5;
[0032] If it occurs in DRAM and page P is in DRAM cache, go to step 5;
[0033] If it occurs in PCM, go to step 2;
[0034] The DRAM (Dynamic Random Access Memory) is a dynamic random access memory;
[0035] The PCM is a phase-change memory in a non-volatile memory;
[0036] Step 2. If the operation occurring in the PCM is a read operation, go to step 5;
[0037] If the operation occurring in the PCM is a write operation and the page P is not in the PCM cache, add the page P to the PCM cache and go to step 5;
[0038] If the operation occurring in the PCM is a write operation and th...
specific Embodiment approach 2
[0048] Specific embodiment two: the difference between this embodiment and specific embodiment one is that in the step 3, a replacement page is searched in the DRAM, and the specific process is:
[0049] Determine whether there are empty pages in DRAM:
[0050] If there is an empty page, the empty page in the DRAM is used as a replacement page. If there is no empty page, determine whether there is a page in the DRAM that has not been accessed:
[0051] If there is a page that has not been accessed, use the page that has not been accessed in the DRAM as a replacement page. If there is no page that has not been accessed, determine whether there are m consecutive pages that have not been accessed in the DRAM :
[0052] If there are pages that have not been accessed for m consecutive times, the pages that have not been accessed for m consecutive times in the DRAM are used as replacement pages; if there are no pages that have not been accessed for m consecutive times, then there i...
specific Embodiment approach 3
[0054] Specific embodiment 3: The difference between this embodiment and specific embodiment 1 or 2 is that 1≤m≤20.
[0055] Other steps and parameters are the same as those in Embodiment 1 or Embodiment 2.
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