Page cache recovery method, device and equipment and storage medium

A page caching and recycling method technology, applied in the field of system maintenance, can solve the problems of difficulty in ensuring the data processing performance of the file system, low cache page recycling efficiency, and tight system memory, so as to ensure the overall data processing performance, ensure the overall recycling efficiency, The effect of avoiding lock contention

Pending Publication Date: 2021-01-26
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF1 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] In the Linux system kernel, page cache (page cache) is an important caching method in the file system, which is directly related to the performance of the file system. One of the indicators to measure the quality of page cache is the ratio of effective cache pages to all cache pages , effective cache pages refer to the cache pages that are actually accessed. If the ratio of effective cache pages is low, part of the disk bandwidth will be wasted on reading useless cache pages, and useless cache pages will indirectly lead to system memory tension, and finally May seriously affect system performance
However, the current overall recycling efficiency for cached pages is often low, resulting in a low proportion of valid cached pages per unit time, making it difficult to ensure the overall data processing performance of the file system

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
  • Page cache recovery method, device and equipment and storage medium
  • Page cache recovery method, device and equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of this application.

[0042] Page cache (page cache) is an important cache method in the file system, which is directly related to the performance of the file system. One of the indicators to measure the quality of page cache is the proportion of effective cache pages to all cache pages. Effective cache pages refer to For cache pages that are actually accessed, if the ratio of effective cache pages is low, part of the disk bandwidth will be wasted on reading useless cache pages, and us...

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 discloses a page cache recovery method, device and equipment and a storage medium. The method comprises the steps of obtaining a first list containing cache pages to be recycled; settinga list resource lock for the first list; screening a target to-be-recycled cache page which is not referenced by the thread in the first list; transferring the target cache page to be recycled from the first list to a second list, and releasing a list resource lock of the first list; and performing resource release operation on the target to-be-recycled cache page in the second list. According tothe method, the overall recovery efficiency of the cache page is relatively ensured, and then the overall data processing performance of the file system is ensured. In addition, the invention furtherprovides a page cache recovery device and equipment and a storage medium, and the beneficial effects are the same as described above.

Description

technical field [0001] The present application relates to the field of system maintenance, in particular to a page cache recovery method, device, equipment and storage medium. Background technique [0002] In the Linux system kernel, page cache (page cache) is an important caching method in the file system, which is directly related to the performance of the file system. One of the indicators to measure the quality of page cache is the ratio of effective cache pages to all cache pages , effective cache pages refer to the cache pages that are actually accessed. If the ratio of effective cache pages is low, part of the disk bandwidth will be wasted on reading useless cache pages, and useless cache pages will indirectly lead to system memory tension, and finally The operating performance of the system may be seriously affected. However, the current overall recovery efficiency for cached pages is often low, resulting in a low proportion of valid cached pages per unit time, maki...

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): G06F16/172G06F12/123
CPCG06F16/172G06F12/123
Inventor 吴昊
Owner INSPUR SUZHOU INTELLIGENT 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