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

Hal Rosenstock hrosenstock at xsigo.com
Tue Mar 18 10:58:13 PDT 2008


On Tue, 2008-03-18 at 09:26 -0700, Ira Weiny wrote:
> There is no guarantee against losing counts, however, if you set the sweep time
> fast enough it should be pretty accurate.

Regardless of how fast the polling is, it can never be 100% accurate as
there is no atomic read and reset so there is always that window of
change which is lost in the case of rapidly changing counters. It can be
worse than this if the counters reach their sticky maximums and more
counting is lost.

-- Hal

> Hope this helps,
> Ira




More information about the general mailing list