[ofa-general] Obtaining RDMA statistics for an InfiniBand interface

Bart Van Assche bart.vanassche at gmail.com
Tue Mar 18 01:17:52 PDT 2008


On Mon, Mar 17, 2008 at 6:07 PM, Boris Shpolyansky <boris at mellanox.com> wrote:
> Check :
>
>  /sys/class/infiniband/[mlx4_*|mthca*]/ports/*/counters/*

Thanks, these are interesting counters. Unfortunately these counters
are 32-bit counters and already overflowed during the test I ran (less
than one day of SRP communication):

$ uname -r
2.6.24
$ uname -m
x86_64
$ head /sys/class/infiniband/mthca0/ports/1/counters/*_{data,packets}
==> /sys/class/infiniband/mthca0/ports/1/counters/port_rcv_data <==
4294967295

==> /sys/class/infiniband/mthca0/ports/1/counters/port_xmit_data <==
4294967295

==> /sys/class/infiniband/mthca0/ports/1/counters/port_rcv_packets <==
4294967295

==> /sys/class/infiniband/mthca0/ports/1/counters/port_xmit_packets <==
4294967295

Bart.



More information about the general mailing list