Supercharge Your Innovation With Domain-Expert AI Agents!

Method for sharing memory among cluster system nodes on demand based on RDMA (Remote Direct Memory Access)

A cluster system and shared memory technology, applied in the direction of inter-program communication, multi-program devices, instruments, etc., can solve the problems of affecting node fairness, high overhead, waste of resources, etc., to achieve convenient scheduling and information indexing, convenient data storage. The effect of taking and increasing the total cost

Pending Publication Date: 2022-07-15
BEIHANG UNIV +1
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This results in a waste of resources
[0015] (2) Patent [2], a distributed high-performance computing method based on RDMA technology, patent number: CN 111382099A; in order to make memory sharing consistent, this method adopts directory control, and needs to control the free memory of each node state mark, this can achieve the purpose of memory sharing, but it still needs to build a global memory address lookup table; in addition, this method does not divide the nodes according to the actual usage of the nodes, often in a cluster system, the nodes It is mainly divided into calculation-intensive and memory-intensive. If the state directory is set for the memory of all nodes, the overhead here is very large. If it is in a cluster with millions of nodes, the situation is more complicated.
[0017] (4) Patent [4], a distributed memory file system based on RDMA, patent number: CN 108268208 A; from the method image 3 It can be seen that it is obvious that this method constructs a shared memory layout graph through service nodes, and it is necessary to divide and integrate free memory resources in all nodes. Therefore, this method is not equivalent to all nodes in the cluster. And still need to build a global memory address lookup table; in addition, this method does not divide the nodes according to the actual usage of the nodes, often in a cluster system, the nodes are mainly divided into computing-intensive and memory-intensive, if the The memory setting state directory of all nodes, the overhead here is very large, if in a cluster with millions of nodes, the situation is more complicated
[0021] (2) In related research, the server and client are often divided. Such hierarchical division itself will affect the fairness between nodes, resulting in the fact that a node as a client cannot provide free memory to other nodes.
Secondly, the server node needs to maintain a global memory address lookup table to schedule the request and release of all client memory resources, which increases the operating load of the server node, thereby reducing the overall performance and communication efficiency of the cluster system

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 for sharing memory among cluster system nodes on demand based on RDMA (Remote Direct Memory Access)
  • Method for sharing memory among cluster system nodes on demand based on RDMA (Remote Direct Memory Access)
  • Method for sharing memory among cluster system nodes on demand based on RDMA (Remote Direct Memory Access)

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056] The present invention is described below with reference to the accompanying drawings. Before introducing the embodiments of the present invention, terminology appearing in the present invention will be explained.

[0057] High-speed is a common term in the field. RDMA is a communication technology with kernel bypass. This communication method is about 60 times faster than the traditional Ethernet transmission method. The high-speed here is used to mean: it is based on this A "high-speed" interconnection technology can support the distributed memory pool of this method;

[0058] Remote Direct Memory Access (RDMA) is a direct memory access technology that transfers data directly from one computer's memory to another without the intervention of both operating systems.

[0059] The traditional TCP / IP technology needs to take up a lot of server resources and memory bus bandwidth through the operating system and other software layers in the process of data packet processing,...

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 method for sharing a memory on demand among cluster system nodes based on RDMA (Remote Direct Memory Access). The method comprises the following steps: dividing the nodes in a cluster system into three types, namely a memory supplier, a memory requester and a self-sufficiency; a memory supplier announces memory sharing information in the cluster system, and remote shared memory is provided for other nodes by taking a block as a unit; when the memory in the memory requester is insufficient, the shared memory provided by the memory supplier is used through the RDMA, and the shared memory is mapped to a virtual address space of the memory requester by taking a block as a unit to serve as an extended memory; when the application program in the memory requester accesses the extended memory, a missing page is triggered to be interrupted, the virtual memory management subsystem performs swap-in and swap-out of the memory page, and transparent memory access of the application program is realized. The method has the characteristics of high memory access speed, simple system architecture and low software system overhead, and can improve the resource utilization rate of the cluster system and reduce the cost through memory sharing among the nodes.

Description

technical field [0001] The invention relates to the technical field of distributed storage systems, in particular to a method for sharing memory on demand between cluster system nodes based on RDMA (Remote Direct Memory Access). Background technique [0002] Memory is the most confiscated and least resilient resource in today's data center servers, and applications can only use local memory even if memory is available on another server. Such situations unnecessarily terminate workloads under memory pressure and reduce server utilization. In order to meet diverse application requirements, data centers usually configure sufficient hardware resources for nodes. With the support of virtualization and multi-tenancy technology for resource allocation centered on the CPU, processor (core) resources can usually be fully utilized, while memory allocation is generally left over. The average server memory utilization of Google and Alibaba is only 60%, while the memory utilization of ...

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): G06F9/54G06F9/50G06F13/28
CPCG06F9/544G06F9/5016G06F13/28G06F9/5022
Inventor 刘轶穆鹏宇王锐崔洋谢宝娣蔡继红卿杜政
Owner BEIHANG UNIV
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More