you can see introduction on original page efficient/HERD (github.com)
- make sure the network environment support ROCE (IB not tested)
- make sure the port start from 13000 on the server machine is available, you can modify it in ./run.sh
- change the cpu-core-binding in function main() for server
- make sure you have enough shared memory and hugepages (page of 2M or 1G, any is OK)
- run "sudo ./run.sh" on server machine, and "sudo ./run.sh id IP" on client machine, note that "id" is the client machine's number, start from 0, and "IP" is the server IP address.
- If you want to change the number of server processes, client machines, or client processes on each client machine, you need to change ./run.sh and ./num.h