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 by the size of system memory, and when requesting huge page resources, you must also request memory or CPU resources, which cannot be used alone

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

Embodiment Construction

[0038] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this 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 scope of protection of this application.

[0039] Please refer to figure 1 , figure 1 It is a flow chart of a method for configuring large page memory in a cloud service page table provided by an embodiment of the present application, and the solution includes:

[0040] S101: Obtain the total number of pages and the number of free pages of the current node huge pages;

[0041] S10...

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/5016Y02D10/00
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