Coder Social home page Coder Social logo

rdma_fc's Introduction

RDMA flow-control demo

This program demonstrates an RDMA_READ-based flow control over RDMA fabric:

  • Communication pattern: a single server reads large data from multiple clients
  • Connection are established using rdma_cm library
  • RC and DC1 transports are supported
  • Buffers are aligned to 4096 bytes
  • A single client can create multiple connections to a server. In this case, the -n parameter for the server must be the total number of connections the server should accept.

Flow control scheme:

  • Each read operation is limited to "max_read_size" (32768) bytes by default. Larger requests are split to multiple segments of up to max_read_size.
  • The total number of outstanding reads is limited to max_outstanding_reads (8 by default).
  • Reads from multiple connections are scheduled by round-robin.
  • The function do_rdma_reads implements the above scheme.

Server side:

./rdma_fc -n 1 -r 32768 -o 8 -i 1000

Client side:

./rdma_fc -n 1 <server-address>

(1) DC transport in the test supports RoCE link only (not InfiniBand). In addition, it may be needed to pass some of the following parameters to the test:

Parameter Description ah_attr field Default value
-G index GID index to use. The full table can be shown by "show_gids" command grh.sgid_index 3 (usually means RoCEv2 with IPv4)
-T tclass Ethernet DSCP grh.traffic_class 0
-S sl Ethernet priority sl 0

rdma_fc's People

Contributors

yosefe avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.