Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Easy extending page architecture based on Linux large page memory

An easy-to-expand, large-page technology, applied in the field of communication, can solve problems affecting small pages, unfavorable development and expansion, and limitations, and achieve the effect of convenient compression

Active Publication Date: 2017-07-21
ZHEJIANG UNIV
View PDF5 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in essence, the implementation of hugetlbfs is only a means of "patching" to support flexible memory page sizes, which is limited by the Linux kernel
The large page file system and the small page still share the partner system, which makes the development and design on the large page inevitably affect the small page, which is not conducive to further development and expansion

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
  • Easy extending page architecture based on Linux large page memory
  • Easy extending page architecture based on Linux large page memory

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0038] In order to describe the present invention more specifically, the technical solutions of the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0039] The present invention is based on the memory management of the Linux system, and according to the large page mode under the "paging mechanism" in the kernel. Through simplification, a non-partner system large page architecture based on Linux memory management is realized. The organization method in the kernel is completely different from the original huge page architecture.

[0040] Such as figure 1 Shown is the organization mode adopted by the huge page memory in this embodiment. In the computer of NUMA system, the large page memory is divided into 3 nodes Node, and the memory of each node is divided into 3 partition sections. Considering performance reasons, the size of the partition is set to 1G; each partition is composed of a doubly linked l...

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 an easy extending page architecture based on a Linux large page memory. The easy extending page architecture comprises the large page memory and an interface function for calling the large page memory, wherein the large page memory is divided into a plurality of nodes; each node is divided into a plurality of partitions; each partition consists of a plurality of 2M large pages connected into a whole in a double linked list form; and the interface function comprises an application function used for obtaining a single large page, a release function used for releasing the large page, a locking function used for occupying the large page and preventing other processes from accessing, and an unlocking function used for recovering the freedom of the large page. The architecture does not share a buddy system with a small page file system, is independently managed and can carry out decoupling with a Linux kernel, and the independence of memory storage calling is improved.

Description

technical field [0001] The invention belongs to the technical field of communication, and in particular relates to an easily expandable page architecture based on Linux large page memory. Background technique [0002] Memory management is the most important part of the Linux kernel. The memory adopts a "paging mechanism" to support fast and efficient management of large address spaces. Although the memory page size is configurable in principle, the default 4KB (4096 bytes) pages, or small pages, are used in the Linux kernel. When an application program with a large memory requirement is run on the Linux operating system, because the default page size is 4KB, it will generate many TLB Miss and page fault interrupts, which will greatly affect the performance of the application program. Therefore, the Linux kernel Huge page support was also introduced in . When the operating system uses 2MB or more as the paging unit, this will greatly reduce the number of TLB Miss and page ...

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 Applications(China)
IPC IPC(8): G06F12/123G06F12/128
CPCG06F12/123G06F12/128
Inventor 陈文智王总辉王金昱李国玺
Owner ZHEJIANG UNIV
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
Eureka Blog
Learn More
PatSnap group products