infiniband: add EFA (AWS Elastic Fabric Adapter) support#3668
Open
jyizheng wants to merge 1 commit into
Open
Conversation
infiniband: add EFA collector unit tests docs: document EFA support in the infiniband collector Signed-off-by: Yizheng Jiao <jyizheng@gmail.com>
66dd657 to
fab5e77
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Add support for AWS Elastic Fabric Adapter (EFA) NICs in the infiniband collector.
Why
EFA devices show up under
/sys/class/infiniband/like IB HCAs but don'tfollow the IB spec — they store bytes/packets in
hw_counters/{tx,rx}_{bytes,pkts}instead of
counters/port_xmit_dataetc. As a result, the collector emitsstate_idandrate_bytes_per_secondforrdmap*devices butport_data_*/port_packets_*are silently absent on AWS p4d/p5/p6instances.
How
0x1d0f.hw_counters/and emit under the same existingport_data_*/port_packets_*metric names so IB dashboards just work.efa_*prefix(retrans / rx_drops / rdma_read / rdma_write / ...).
Tests
Update()93%.p6-b200.48xlargenode: exporter output matchescat /sys/class/infiniband/rdmap*/ports/1/hw_counters/tx_bytesbyte-for-byte.
Docs:
docs/INFINIBAND_EFA.md.