diff --git a/topics/RDMA.md b/topics/RDMA.md index d003d633..aea90459 100644 --- a/topics/RDMA.md +++ b/topics/RDMA.md @@ -40,6 +40,8 @@ Or append `loadmodule src/valkey-rdma.so bind=192.168.122.100 port=6379` in valk ./src/valkey-server valkey.conf +To test whether the RDMA server is working properly, do not use `valkey-cli`, which actually uses IPoIB. Instead, there is a shell script `./runtest-rdma`, which simply wraps a Python script `./tests/rdma/run.py`. The Python script would start a server locally, start a client locally and test for ~6000 KVs using RDMA write/read operations. To test remote RDMA connections, specify `./tests/rdma/rdma-test -h $remote_rdma_ip`. + ### Prerequisites Note that the network interface (192.168.122.100 of this example) should support RDMA. To test a server supports RDMA or not: