Unlock instant, AI-driven research and patent intelligence for your innovation.

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

Active Publication Date: 2016-06-01
UNITED INFORMATION TECH H K COMPANY +1
View PDF3 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] For some memory, it has been reclaimed before its newly written data is accessed (that is, a read operation is performed), so that when a subsequent read operation is received to access the newly written data, it has to be redirected to the disk The read operation is completed, which affects the read performance and reduces the efficiency of business access

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for controlling memory release
  • Method and device for controlling memory release
  • Method and device for controlling memory release

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method and device for controlling memory release. A time parameter value is selectively set for a memory in a cache so as to ensuring that data in the memory which is set with the time parameter value is reserved for a period of time (that is, the time parameter value), and the memory is prevented from being randomly released. In this way, the probability of subsequent services to hit the memory can be improved, and the service reading performance and the service access efficiency are effectively improved.

Description

technical field [0001] The present application relates to data storage technology, in particular to a method and device for controlling memory recovery. Background technique [0002] In the current memory recovery mechanism, the recovery of memory other than dirty memory is random, and it is impossible to precisely control at which point in time the memory is recovered. [0003] The current method of randomly reclaiming memory may enable fast access to data newly written into memory, but it has the following defects: [0004] For some memory, it has been reclaimed before its newly written data is accessed (that is, a read operation is performed), so that when a subsequent read operation is received to access the newly written data, it has to be redirected to the disk The read operation is completed, which affects the read performance and reduces the efficiency of business access. Contents of the invention [0005] The present application provides a method and device for ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F12/02
CPCG06F12/0276
Inventor 金振成
Owner UNITED INFORMATION TECH H K COMPANY