Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

could testcase run on one node? #108

Open
hongbilu opened this issue Jan 6, 2023 · 2 comments
Open

could testcase run on one node? #108

hongbilu opened this issue Jan 6, 2023 · 2 comments

Comments

@hongbilu
Copy link

hongbilu commented Jan 6, 2023

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
Copy link
Contributor

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
Copy link
Author

thanks, I'll try it then

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants