Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Memory page recycling method and system based on page classification

A memory page and page classification technology, which is applied in the direction of memory system, memory address/allocation/relocation, data processing input/output process, etc., can solve problems such as reducing memory pressure, multiprocessor resource timeliness, etc. The effect of small multiple page changes, performance improvement, and efficiency improvement

Active Publication Date: 2019-12-31
INST OF INFORMATION ENG CHINESE ACAD OF SCI
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The main problem with this mechanism is: 1) how to determine the size of the "balloon", that is, how much memory should be taken from a client; high execution cost
The problem with this mechanism is: 1) It needs to consume more processor resources and has poor timeliness; 2) It may not be able to significantly reduce memory pressure, it needs to be determined according to the degree of repetition of page content

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
  • Memory page recycling method and system based on page classification
  • Memory page recycling method and system based on page classification
  • Memory page recycling method and system based on page classification

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] In order to make the above-mentioned features and advantages of the present invention more comprehensible, the following specific embodiments are described in detail in conjunction with the accompanying drawings.

[0046] In the Linux system, memory pages are divided into three categories: Anonymous Pages, File Cache Pages, and Free Pages. Among them, anonymous pages can be divided into active anonymous pages (Active Anonymous Page) and inactive anonymous pages (Inactive Anonymous Page) according to different page activity levels, and file cache pages are divided into active file cache pages (Active File Cache Page) and Inactive File Cache Page. In the KVM virtualization environment (the Linux system with the KVM module inserted), the KVM client is managed by a process in the host, so the memory pages used by the KVM client are all identified as anonymous pages by the host. However, the Linux operating system in the guest computer also divides the memory pages used by ...

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 memory page recovery method and system based on page classification. The method includes the steps that 'struct page' structures corresponding to all memory pages in a host are regularly and cyclically scanned, and page types of the memory pages in the host are analyzed according to the 'struct page' structures; when the page types of the memory pages in the host are anonymous pages, whether the memory pages belong to a client process or not is judged according to a reverse mapping relation provided by a kernel of the host, 'struct page' structures of the memory pages belonging to the client process in a client are obtained, and the page types of the memory pages in the client are analyzed according to the 'struct page' structures; all the pages are linked to a corresponding type link table according to page classification information; the number of each kind of pages is read, a recovery strategy of a current moment is determined according to a client page classification recovery sequence model, and the memory pages are recovered according to the recovery strategy.

Description

technical field [0001] The invention relates to the technical field of computer operating systems and virtualization, in particular to a method and system for reclaiming memory pages based on page classification. Background technique [0002] With the continuous improvement of computer hardware performance, how to make software more effectively use the powerful computing power of modern hardware has always been the focus of industry and academia. The emergence of hardware virtualization technology provides a new solution for this problem. With the support of hardware virtualization technology, multiple virtual clients can run simultaneously on the same physical host, which greatly improves the hardware utilization efficiency of the host. However, the contradiction of multiple virtual machines competing for physical host resources has become increasingly prominent. [0003] Memory is one of the most important hardware resources in computer systems. How to effectively manage...

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 Patents(China)
IPC IPC(8): G06F3/06G06F12/02
CPCG06F3/061G06F3/0662G06F3/0679G06F12/0253
Inventor 郝志宇徐晶崔磊彭亚琼
Owner INST OF INFORMATION ENG CHINESE ACAD OF SCI
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products