[openib-general] sysfs exposure of port counters useless?

Hal Rosenstock halr at voltaire.com
Tue Oct 17 06:59:49 PDT 2006


On Tue, 2006-10-17 at 09:55, Rimmer, Todd wrote:
> > From: Michael Newton
> > Sent: Tuesday, October 17, 2006 3:02 AM
> > To: openib-general at openib.org
> > Subject: [openib-general] sysfs exposure of port counters useless?
> > 
> > 
> > These are 32 bit counters. The rcv/xmit_data counters count 32-bit
> > blocks. Also, these counts do not wrap: they peg at all 1s.
> > At infiniband speeds, these counts can peg out very quickly indeed,
> > to the point they can really only be of use if they can be reset each
> time
> > there read. Now if anyone who wants to use them has to go the CLI to
> reset
> > them, and theres little point in reading them without reset, why would
> > anyone read them via sysfs? so why have them?
> > 
> 
> We have found that while your comment is true for the data movement
> counters, the error counters should not peg quickly, hence it is valid
> to read them without resetting.  However it is also useful to have an
> ability to reset them.  Of course if there are other CLI commands which
> do this easily, the sysfs info is of less value.

There are diag tools for this.

-- Hal

> 
> Todd Rimmer
> 
> 
> _______________________________________________
> openib-general mailing list
> openib-general at openib.org
> http://openib.org/mailman/listinfo/openib-general
> 
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
> 





More information about the general mailing list