Unlock instant, AI-driven research and patent intelligence for your innovation.

Method, device, user equipment, and storage medium for improving the performance of transparent large pages in memory

A memory page, transparent technology, applied in the computer field, can solve problems such as memory waste, and achieve the effect of increasing flexibility and improving memory utilization.

Active Publication Date: 2022-08-02
HYGON INFORMATION TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] In the process of realizing the present invention, the inventor found that there are at least the following technical problems in the prior art: when the application only needs a small amount of bytes, allocating a 2MB large page will lead to a huge waste of memory

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, device, user equipment, and storage medium for improving the performance of transparent large pages in memory
  • Method, device, user equipment, and storage medium for improving the performance of transparent large pages in memory
  • Method, device, user equipment, and storage medium for improving the performance of transparent large pages in memory

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] In order to make the purposes, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments It is only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0050] like figure 1As shown, it is a method for improving the performance of memory transparent huge pages according to the present invention, including:

[0051] Step 11: The memory management unit MMU sets a partition parameter value HPZ on a register in a predetermined position, where the partition parameter va...

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 present invention provides a method, device, user equipment, and storage medium for improving the performance of transparent large pages in memory. The method includes: the memory management unit MMU divides the memory space managed by the memory management unit MMU into a normal page area and a transparent huge page area; the memory management unit MMU obtains a memory allocation request; according to the memory allocation request, allocates different types of applications to applications The corresponding memory page is generated for the memory page, and the corresponding page table and the fast lookup page table TLB are generated for the memory page. The present invention can increase the flexibility of memory management, thereby improving memory utilization.

Description

technical field [0001] The present invention relates to the field of computer technology, and in particular, to a method, device, user equipment, and storage medium for improving the performance of transparent large pages in memory. Background technique [0002] Memory management is one of the most important and complex aspects of operating system design. Although computer hardware has been developing rapidly and the memory capacity is also increasing, it is still impossible to put all the programs and data required by all user processes and systems into the memory, so the operating system must divide the memory space reasonably and efficiently. dynamically allocated. [0003] The memory management unit (MMU) is located between the processor core and the bus connecting the cache and physical memory. When the processor core fetches instructions or accesses data, it provides an effective address or virtual address. The effective address does not need to match the actual har...

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): G06F9/50
CPCG06F9/5016
Inventor 蔡云龙
Owner HYGON INFORMATION TECH CO LTD