gpudirect / libgdsync

GPUDirect Async support for IB Verbs
90 stars 13 forks source link

could testcase run on one node? #108

Open hongbilu opened 1 year ago

hongbilu commented 1 year ago

hi, all Now i only have one node which has 8GPUs and 2 NICs, could testcase run on this node to simulate 2 nodes? how to configure?

pakmarkthub commented 1 year ago

Hi @hongbilu,

You can use gds_kernel_loopback_latency, which uses one GPU and one NIC to emulate both server and client.

Another option is to mpirun -n 2 <your-script>. Then, the script determines if it is process 0 or 1. The script then launches ./gds_kernel_latency -d <mlx5_0 or mlx5_1> -G <0 or 1>. This option is more complex but will allow you to use 2 GPUs and 2 NICs.

hongbilu commented 1 year ago

thanks, I'll try it then