From ec60b1bae807d8c6fa5752948a0932b3734d673c Mon Sep 17 00:00:00 2001 From: Jianhui <xlbz040302@gmail.com> Date: Wed, 15 Jan 2025 16:47:08 +0800 Subject: [PATCH] Add details for testing RDMA server Signed-off-by: Jianhui <xlbz040302@gmail.com> --- topics/RDMA.md | 2 ++ 1 file changed, 2 insertions(+) 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: