[ofa-general] Re: [Repost][PATCH] opensm: Added support for select counters (xmit_wait)

Sasha Khapyorsky sashak at voltaire.com
Mon Jul 20 03:17:11 PDT 2009


On 08:39 Mon 20 Jul     , Nicolas Morey-Chaisemartin wrote:
> So what is best in your mind?
> Bring everything path into the perf counter struct (meaning all plugin 
> will have to change to fit the new API) or keeping the approach I proposed.

We can add new counter to existing structure at the end and to not break
API.

The better option is to unify API (counter structures) of course, but it
is different change. Basically using current (modified) plugin API it is
not required to put a counters to plugin, some sort of "counters ready"
event would be enough.

> I'd rather choose the second solution not only because it's already 
> done, but in the future I'd like to have as many information as possible 
> on contention related counters (xmit_wait per VL for examples) and 
> probably some day vendor specific info will appear in this struct.

Yes, but it is different counters and you will need to add something
anyway.

Sasha



More information about the general mailing list