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

A dynamic allocation method of rdma buffer based on iterative approximation

An RDMA and dynamic allocation technology, applied in the computer field, can solve the problems of RDMA buffer occupying memory, insufficient RDMA buffer, memory waste, etc., and achieve the effect of reducing the number of RDMA buffers, reducing memory consumption, and high bandwidth

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

AI Technical Summary

Problems solved by technology

[0013] The disadvantage of this method is: the RDMA initiator needs to wait for the passive party to allocate the RDMA buffer before performing RDMA operations, which introduces additional message delays
[0016] The disadvantage of this method is that a large number of RDMA buffers need to be allocated in advance to prevent insufficient RDMA buffers; and in the case of low load, this will cause the RDMA buffer to occupy a large amount of memory, resulting in memory waste

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
  • A dynamic allocation method of rdma buffer based on iterative approximation
  • A dynamic allocation method of rdma buffer based on iterative approximation
  • A dynamic allocation method of rdma buffer based on iterative approximation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0033] Embodiment: A method for dynamic allocation of RDMA buffer based on iterative approximation, comprising the following steps:

[0034] S1. During initialization, the RDMA initiator makes the following settings: the number of buffers allocated by the request is recorded as rbuf_thresh, the initial value is set as 4, the time when rbuf_thresh expands is recorded as epoch_start, the initial value is set as the current time, and the rbuf_thresh before expansion rbuf_thresh is recorded as R min , the initial value is set to 2, and the expanded rbuf_thresh of rbuf_thresh is recorded as R max , the initial value is set to 4, R after expansion by rbuf_thresh max reduce to R min The time is recorded as K, initialized as K = , where C is a constant coefficient;

[0035]S2. The RDMA initiator checks the locally stored RDMA buffer list, which contains all available RDMA buffers allocated by the RDMA passive party for the RDMA initiator, and determines whether the RDMA passive ...

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 dynamic allocation method for RDMA buffers based on iterative approximation, comprising the following steps: S1. During initialization, the RDMA initiator makes the following settings: the number of buffers requested to be allocated is recorded as rbuf_thresh, the initial value is set as 4, and the rbuf_thresh The time during expansion is recorded as epoch_start, the initial value is set as the current time, and the rbuf_thresh before the expansion of rbuf_thresh is recorded as R min , the initial value is set to 2, and the rbuf_thresh expanded by rbuf_thresh is recorded as R max , the initial value is set to 4, R after expansion by rbuf_thresh max reduce to R min The time is recorded as K, initialized as K=, where C is a constant coefficient; S2, the RDMA initiator checks the locally saved RDMA buffer list to determine whether the RDMA passive party has an available RDMA buffer; S3, the RDMA passive party receives After the RDMA active party sends the request to allocate the RDMA buffer, allocate a new RDMA buffer according to the rbuf_thresh in the request, and notify the RDMA active party. The invention realizes the dynamic allocation of RDMA buffers, and can significantly reduce the number of pre-allocated RDMA buffers and memory consumption while ensuring high network bandwidth.

Description

technical field [0001] The invention relates to an RDMA buffer dynamic allocation method based on iterative approximation, and belongs to the technical field of computers. Background technique [0002] The exchange-based interconnection network architecture, including IB, provides data transmission types such as Send / Receive, RDMA Write, and RDMARead. The Send / Receive operation is similar to the send / receive semantics in socket programming, which can write the data specified by the sender into the receive buffer specified by the receiver. RDMA Write, RDMA Read and other operations (hereinafter collectively referred to as RDMA operations) can write the data specified by the sender into the remote receive buffer specified by the sender without the participation of the remote host, thus providing direct access to the upper-layer software. The programming semantics of remote memory have become the most common type of operation for programming interfaces such as IBVerbs. [000...

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): G06F15/173
CPCG06F15/17331
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