alibaba / PhotonLibOS

Probably the fastest coroutine lib in the world!
https://PhotonLibOS.github.io
Apache License 2.0
873 stars 116 forks source link

Example for RDMA #456

Open kosav7r opened 5 months ago

kosav7r commented 5 months ago

According to #59 , it is supported. It's not very clear how to use it. Is it possible to add an example?

lihuiba commented 5 months ago

Simply use following client and server for socket:

    extern "C" ISocketClient* new_smc_socket_client();
    extern "C" ISocketServer* new_smc_socket_server();

These will use kernel-supported RDMA transport, namely SMC-R.

https://www.ibm.com/docs/en/linux-on-z?topic=sps-setup

lihuiba commented 5 months ago

@beef9999 @Coldwings More examples on this is indeed a good advice.