Large-page memory configuration method and system in cloud service page table and related device

A configuration method and cloud service technology, applied in the field of cloud computing, can solve problems such as not being able to be used alone, and achieve the effect of improving application performance and memory space utilization

Pending Publication Date: 2021-11-23
济南浪潮数据技术有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Huge pages are different from CPU or memory, they do not support excessive use, because setting the number of huge page resources is limited b

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
  • Large-page memory configuration method and system in cloud service page table and related device
  • Large-page memory configuration method and system in cloud service page table and related device

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0038] In order to make the objects, technical solutions, and advantages of the present application, the technical solutions in the present application embodiment will be described in connext of the present application embodiment, and It is a part of the present application, not all of the embodiments. Based on the embodiments in the present application, one of ordinary skill in the art is in the scope of the present application without making creative labor premistence.

[0039] Please refer to figure 1 , figure 1 A flow chart of a large page memory configuration method in a cloud service page provided herein, including:

[0040] S101: Get the total number of pages and idle pages of the current node master;

[0041] S102: Depending on the main page history memory usage data and the empty page number to determine if the total number of pages of the page is insufficient; if yes, enter S103; if, enter S104;

[0042] S103: Set the large page adjustment flag is the first sign;

[0043...

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 large page memory configuration method in a cloud service page table. Accurate and real-time statistics is carried out on the total page number and the free page number of large pages of a current node. Then, whether the total page number of the large pages is insufficient or not can be determined according to the counted historical use data of the large-page memory. If the number of the large pages is too large or not enough, corresponding marking is carried out, so that dynamic adjustment of the large-page memory and the system memory can be conveniently executed according to the marks, the memory space utilization rate can be increased, the upper-layer business load can be automatically adapted, the number of the large-page memory can be adjusted, and then the application performance is improved. The invention further provides a large-page memory configuration method in the cloud service page table, a large-page memory configuration system, a computer readable storage medium and electronic equipment, which have the above beneficial effects.

Description

technical field [0001] The present application relates to the field of cloud computing, and in particular to a large page memory configuration method, system and related devices in a cloud service page table. Background technique [0002] The memory capacity in the current system far exceeds that in the early days, and most operating systems use segmentation or paging for management. Paging is a fine-grained management method that can avoid wasting memory space. The page in Linux is a small page (4KB) by default, and the mapped page table entry is proportional to the size of the physical memory. The page table entry itself will occupy a certain amount of memory and will affect the access efficiency of the CPU. At present, a more mature and feasible method is to use large-size pages. [0003] If the memory used by the process is too large, such as 1GB, it will occupy 1GB / 4KB=262144 page table entries in the page table, and the page table entries that the system TLB can acc...

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
IPC IPC(8): G06F9/445G06F9/50
CPCG06F9/44505G06F9/5016
Inventor 肖润坤
Owner 济南浪潮数据技术有限公司
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