[ofa-general] [RFC 0/2] ib/cm: add message counters
Sean Hefty
sean.hefty at intel.com
Thu Sep 13 10:32:33 PDT 2007
The following patches provide an initial attempt at providing performance
counters to the ib_cm. I still need to export the counters, but wanted to
get feedback about the counters that were selected, along with how they
are being gathered.
The cm tracks the number of sends, receives, sent retries, and received
duplicates. It does this per message (REQ, REP, etc.), per port. In total,
there are 11 cm message types, giving 44 counters per port, though a small
number of these are not possible (e.g. REJ retries).
I did not want to add or change the cm state tracking just for message
counters, so detecting a received duplicate is not always possible. A
message is counted as a duplicate when it is clearly a duplicate,
or when it has a high likelihood of being a duplicate.
Signed-off-by: Sean Hefty <sean.hefty at intel.com>
More information about the general
mailing list