Method for determining memory recovery threshold and related equipment

A memory recovery and threshold technology, applied in the computer field, can solve problems such as not being able to give full play to the advantages of memory recovery technology

Pending Publication Date: 2022-03-11
HUAWEI TECH CO LTD
View PDF0 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since the minimum number of free bytes in a computer device is fixed, the determined memory recovery threshold is also fixed, so that the advantages of memory recovery technology cannot be fully utilized when performing memory recovery based on this memory recovery threshold

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 for determining memory recovery threshold and related equipment
  • Method for determining memory recovery threshold and related equipment
  • Method for determining memory recovery threshold and related equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the following will further describe the embodiments of the present application in detail in conjunction with the accompanying drawings.

[0035] Before explaining the embodiment of the present application in detail, the application scenario of the embodiment of the present application will be described first.

[0036] At present, no matter how much memory is configured for the computer device, the operating system of the computer device may always run out of memory when it is running. When insufficient memory occurs, the operating system needs to take various measures to prevent the operating system from running abnormally. In a possible implementation manner, the operating system may reclaim a portion of memory currently in use to meet new memory requirements. In the Linux system, this method of reclaiming memory is also called "page reclaim (page re...

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 embodiment of the invention discloses a method for determining a memory recovery threshold value and related equipment, and belongs to the technical field of computers. The method comprises the step of adjusting a memory recovery threshold value based on a memory use parameter or a processor operation parameter in the computer equipment. Therefore, the embodiment of the invention provides a method for flexibly adjusting the memory recovery threshold value, so that the problem that the memory recovery threshold value is usually fixed in a memory recovery mechanism such as a ZRAM (Zero Random Access Memory) technology is avoided. Besides, the memory recovery threshold value can be flexibly adjusted, so that the problem that the advantages of a memory recovery technology cannot be fully played due to a relatively low memory recovery threshold value can be avoided, and the problem that the system performance is relatively low due to a relatively high memory recovery threshold value can also be avoided.

Description

technical field [0001] The embodiments of the present application relate to the field of computer technology, and in particular to a method and related equipment for determining a memory recovery threshold. Background technique [0002] In order to cope with insufficient memory in the computer device, a compressed partition is divided in the memory of the computer device. In this way, the original memory of the computer device includes the system partition and the compressed partition. The system partition is used to store the data originally placed in the memory, and the compressed partition is used to store the compressed data in the system partition. In addition, a memory recovery threshold is pre-configured, and the memory recovery threshold includes a low (low) threshold and a high (high) threshold. When the remaining capacity of the system partition is lower than the low threshold, some data is obtained from the system partition and compressed and placed in the compr...

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/0253
Inventor 李国军黄金奎
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products