- Newest
- Most votes
- Most comments
When testing EFA with fi_pingpong, using the loopback address (127.0.0.1) will not work because EFA is designed for network communication between separate instances, not for loopback communication on the same instance.
To properly test EFA connectivity, you need to use two separate EC2 instances that are:
- Both EFA-enabled
- In the same subnet
- In the same availability zone (EFA doesn't work across different availability zones)
- Configured with appropriate security groups that allow all traffic within the security group
The correct way to test EFA is:
- On the first instance (server):
/opt/amazon/efa/bin/fi_pingpong -p efa - On the second instance (client):
/opt/amazon/efa/bin/fi_pingpong -p efa [IP-of-first-instance]
Where [IP-of-first-instance] is the private IP address of the first instance (not the loopback address).
For example, if your first instance has IP 10.3.140.69, you would run:
/opt/amazon/efa/bin/fi_pingpong -p efa 10.3.140.69 on the second instance.
When properly configured, you should see output showing data transfer rates between the instances.
Sources
(Optional) Test EFA - AWS PCS
Elastic Fabric Adapter - AWS ParallelCluster
answered a year ago
Relevant content
asked 7 years ago
asked a year ago
asked a year ago
