<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hello,<br>
We are using at CEA on our machines a modified version of perfquery
command. <br>
This version allows to interface efficiently perfquery and collectl
in order to collect HCA 64 bits counters and reset some others (32
bits)I<br>
<br>
The modification includes two patches (originally written by
Matthieu Hautreux from CEA) adding two options :<br>
<ul>
<li>perfquery --ext_mask option to specify the reset mask to apply
using a parameter instead of adding it at the end of the line.
This enables to use a reset mask when using -C and -P option
like
in
<br>
</li>
</ul>
'/usr/sbin/perfquery --ext_mask 0x10000 -x -C mlx4_0 -P
1'
<br>
<ul>
<li> perfquery -Y option to collect hybrid basic/extended port
counters showing the same informations than perfquery -x but
replacing 32 bits counters by 64 bits counters.
</li>
</ul>
<br>
With this two patches, we are able in collectl to collect 64 &
32 bits counters and reset some of the 32 bits counters (XmitWait)
in one perfquery command : '/usr/sbin/perfquery --ext_mask 0x10000
-Y -C mlx4_0 -P 1' <br>
<br>
Could you include these patches in the next release of
infiniband-diags ?<br>
The patches have been generated from the last infiniband-diags
source
(<a class="moz-txt-link-freetext" href="http://git.openfabrics.org/?p=~iraweiny/infiniband-diags.git">http://git.openfabrics.org/?p=~iraweiny/infiniband-diags.git</a>)<br>
<br>
<br>
Regards<br>
<br>
Philippe Gregoire<br>
CEA/DAM <br>
<ul>
</ul>
</body>
</html>