Method and device for controlling memory release
A memory reclamation and memory technology, applied in the direction of memory address/allocation/relocation, memory system, instrument, etc., can solve problems affecting read performance and reduce business access efficiency, so as to improve read performance, improve business access efficiency, and improve The effect of the probability of memory
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] In this embodiment 1, in step 101, the time parameter value of the estimated memory setting time that satisfies the setting conditions may include figure 2 Process shown:
[0030] see figure 2 , figure 2 A flow chart is implemented for step 101 provided in Embodiment 1 of the present invention. In practical applications, this process is generally applied to a cache control application program. Such as figure 2 As shown, the process may include the following steps:
[0031] Step 201, receiving a service write operation.
[0032] Among them, when the client needs to apply for memory for the business according to the business requirements, the client will send the business write operation to the control application program of the cache. Based on this, the control application program of the cache will receive the business write operation.
[0033] Step 202: Determine the memory associated with the service write operation, and write data into the determined memory ...
Embodiment 2
[0042] In the second embodiment, the time parameter value of the estimated memory setting time in step 101 that satisfies the setting conditions may include image 3 Process shown:
[0043] see image 3 , image 3 A flow chart is implemented for step 101 provided in Embodiment 2 of the present invention. In practical applications, this process is generally applied to a cache control application program. Such as image 3 As shown, the process may include the following steps:
[0044] Step 301, receiving a service read operation.
[0045] Among them, when reading the data in the memory according to the business requirement, the client will send the business read operation to the control application program of the cache. Based on this, the control application program of the cache will receive the business read operation.
[0046] Step 302, determining the memory associated with the service read operation.
[0047] When the cache control application receives a business read...
Embodiment 3
[0055] In the third embodiment, the time parameter value of the estimated memory setting time in step 101 that satisfies the setting conditions may include Figure 4 Process shown:
[0056] see Figure 4 , Figure 4 A flow chart is implemented for step 101 provided in Embodiment 3 of the present invention. In practical applications, this process is generally applied to a cache control application program. Such as Figure 4 As shown, the process may include the following steps:
[0057] Step 401, when performing memory pre-reading, judge whether the data in the pre-read memory is accessed again in T1 according to business requirements, if yes, execute step 402, if not, end the current process.
[0058] Usually, the cache control application program will perform underlying read-ahead according to business needs. When performing pre-read memory, the business requirements associated with the data can be known for the data in the pre-read memory. According to the business requ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 