Coder Social home page Coder Social logo

yinan's Introduction

#Dmm_rsocket **    Librdmacm accomplish interfaces between TCP and UDP protocol, but go through RDMA network internally. The dmm_rsocket become a Protocol stack in DMM by adapting to the DMM based on the librdmacm 1.1.0 version to framework.**

##Based on the DMM framework

###Compile

CMakeList.txt defines the compilation process, including two compiled items

The external project rdmacm could download the librdmacm version automatically and patch it with "rsocket.patch". The patch will add a static library of "libdmm_rdmacm.a" to the original compilation process,and modify the related documents if it's necessary.

Dmm_rsocket compiles the adaptation code mainly for "rsocket_adpt.c", links to libdmm_rdmacm.a, and generates the libdmm_rsocket.so protocol stack module finally.

Both can only compile by calling "make dmm_rsocket" instead of compiling automatically because both of them have set flag.

###File List

#####CMakeLists.txt Cmake compiles the control file, Module_config.json & rd_config.json

In these two example configuration files, the type configuration of RD is "nstack-rsocket" means use RSOCKET protocol stack.

#####Rsocket.patch For the librdmacm patch, the key modification is to find the point where the epoll event is executed, all using the DMM_RSOCKET macro control.

Other changes are to package the hijacked API so that the code can calls libc's API directly to avoid calls to the hijacked functions in the DMM, all using GSAPI macro control

#####Rsocket_rdma.h Public header file

#####Rsocket_adpt.c & rsocket_adpt Rsocket adaptation section, including initialization and adaptation functions

#####Rsocket_in.h Included in rsocket.c

#####Rsocket_rs.c Embedded into the end of rsocket.c as an "include"

#####Rsocket_sapi.h List of libc functions which only be used internally.

##About author

  var ihubo = {
    nickName  : "yinan",
  }

yinan's People

Contributors

julisjohn 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.