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

The memory management method of segment page combination

A technology of memory management and physical memory, applied in the direction of electrical digital data processing, multi-program device, program control design, etc., to achieve the effect of providing usability

Active Publication Date: 2022-07-12
JIANGNAN INST OF COMPUTING TECH
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The object of the present invention is to provide a memory management method combining segments and pages. The memory management method combining segments and pages solves the needs of special computing components for large continuous physical memory through flexible memory management strategies, and at the same time takes into account common user programs. Memory usage requirements, flexibly adapt to different memory demand scenarios

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
  • The memory management method of segment page combination

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0016] Embodiment: A memory management method for combining segment pages, comprising the following steps:

[0017] S1, the operating system kernel starts, and obtains the physical memory available on the entire server;

[0018] S2. The operating system is initialized. The operating system kernel reserves one or more segments of contiguous physical memory from the available physical memory according to the reserved contiguous physical memory capacity parameter in the kernel boot parameter configuration, and adds the reserved contiguous physical memory to the The segmented physical memory resource pool is managed by the segmented memory management algorithm. The segmented physical memory resource pool can support the use of the segmented memory application interface to apply for continuous segmented physical memory space from the segmented physical memory resource pool, and Support the corresponding release interface;

[0019] S3. Add the remaining physical memory in the avail...

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 memory management method for combining segments and pages, comprising the following steps: S1, obtaining available physical memory on the entire server; S2, reserving one or more segments of continuous physical memory from the available physical memory, and Add the reserved contiguous physical memory to the segmented physical memory resource pool; S3. Add the remaining physical memory that is not added to the segmented physical memory resource pool in the available physical memory to the paged physical memory resource pool; S4. When computing When a component needs physical memory, it applies for physical memory from the segmented physical memory resource pool through the segmented memory application interface; S5. When a common user program needs physical memory, the operating system kernel will apply for physical memory as large as the size supported by the processor. page page size for comparison. Through the flexible memory management strategy, the present invention solves the requirement of a special computing component for large blocks of continuous physical memory, takes into account the memory usage requirement of common user programs, and flexibly adapts to different memory requirement scenarios.

Description

technical field [0001] The invention relates to a memory management method for combining segment pages and belongs to the technical field of computers. Background technique [0002] Special accelerated computing components have clear requirements for the use of large blocks of contiguous physical memory. First, the required capacity is large, often several GB, and the second is high availability. Failure to apply means that the computing task cannot be deployed, and it is necessary to avoid this situation as much as possible. To meet the above requirements, a large block of memory is usually reserved as the dedicated memory for special acceleration components for special management. For example, the current page-based memory management of the Linux system can easily lead to fragmentation of memory usage. Even after sorting, it cannot guarantee the successful application of large blocks of continuous physical memory. Therefore, in order to meet the application of large blocks...

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/5016Y02D10/00
Inventor 郑岩王星焱黄高阳林海南刘松邹通
Owner JIANGNAN INST OF COMPUTING TECH
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