[ofa-general] Obtaining RDMA statistics for an InfiniBand	interface
    Hal Rosenstock 
    hrosenstock at xsigo.com
       
    Tue Mar 18 05:53:06 PDT 2008
    
    
  
On Tue, 2008-03-18 at 09:17 +0100, Bart Van Assche wrote:
> 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
Depending on which fabric management (usually bundled with the SM) is
being used, you may be able to obtain this information via the
Performance Manager (and not be limited to 32 bit counters).
-- Hal
> Bart.
> _______________________________________________
> general mailing list
> general at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
> 
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
    
    
More information about the general
mailing list