<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:w =
"urn:schemas-microsoft-com:office:word" xmlns:o =
"urn:schemas-microsoft-com:office:office"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<STYLE>@page Section1 {size: 612.0pt 792.0pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; }
P.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
FONT-SIZE: 12pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal-compose
}
DIV.Section1 {
page: Section1
}
OL {
MARGIN-BOTTOM: 0cm
}
UL {
MARGIN-BOTTOM: 0cm
}
</STYLE>
<META content="MSHTML 6.00.6000.16587" name=GENERATOR></HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV><SPAN class=334430910-13012009><FONT face=Arial color=#0000ff size=2>Please
see bellow.</FONT></SPAN></DIV>
<DIV><SPAN class=334430910-13012009><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=334430910-13012009><FONT face=Arial color=#0000ff
size=2>Thanks</FONT></SPAN></DIV>
<DIV><SPAN class=334430910-13012009><FONT face=Arial color=#0000ff
size=2>Tzachi</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=ltr
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Moshe Haim
[mailto:Moshe-ha@orbotech.com] <BR><B>Sent:</B> Monday, January 12, 2009 4:32
PM<BR><B>To:</B> Tzachi Dar; ofw@lists.openfabrics.org<BR><B>Subject:</B>
[ofw] Adding Performance Counters support for WinOF<BR></FONT><BR></DIV>
<DIV></DIV>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hi
Tzachi,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">A few months ago I posted the
following thread, when trying to figure out how to use WinOF counters for
checking the usage over IB (uDapl).<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><A
href="http://lists.openfabrics.org/pipermail/ofw/2008-May/002627.html">http://lists.openfabrics.org/pipermail/ofw/2008-May/002627.html</A><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">To summarize, I suggested
implementing windows performance counters dll to be included in WinOF bundle
since it looks to me as the right thing to do in order to get that
information.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Since then, I had to drop the
issue temporarily due to issues with my product.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">I would like to get back on this
soon and have several questions:<o:p></o:p></SPAN></FONT></P>
<DIV class=Section1>
<OL style="MARGIN-TOP: 0cm" type=1>
<LI class=MsoNormal style="mso-list: l0 level1 lfo1"><FONT face=Arial
size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Is there anyone
that already works on adding this feature? If so can you please point me to
that person?<o:p></o:p></SPAN></FONT> <SPAN
class=334430910-13012009><FONT face=Arial color=#0000ff
size=2> </FONT></SPAN></LI></OL></DIV>
<DIV class=MsoNormal style="mso-list: l0 level1 lfo1"><SPAN
class=334430910-13012009><FONT face=Arial color=#0000ff size=2>I don't know of
any one working on this issue. The work that Sean mentioned doesn't seem what
you want as they are working on a library that is not a performance counter
dll.</FONT></SPAN></DIV>
<OL style="MARGIN-TOP: 0cm" type=1>
<LI class=MsoNormal style="mso-list: l0 level1 lfo1"><FONT face=Arial
size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">In my pervious
attempts to get the performance counters of IB I used the code inside
vstat.c to retrieve the information:<o:p></o:p></SPAN></FONT>
<OL style="MARGIN-TOP: 0cm" type=a>
<LI class=MsoNormal style="mso-list: l0 level2 lfo1"><FONT face=Arial
size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Is this method of
accessing the counter data the mostly recommended method? If not, can you
please point me to one?<o:p></o:p></SPAN></FONT>
<LI class=MsoNormal style="mso-list: l0 level2 lfo1"><FONT face=Arial
size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">The counter data
is 32-bit long, and as far as I recall was to be multiplied by 4 in order
to get the actual number of transferred bytes.<BR>This means that the
counter maximum is 2^34-1, which is only 16GB of data.<BR>Using IB at full
or even less capacity would fill up the counters very quickly (16 seconds
in rate of 1GB/sec…).<BR>From this post: <A
href="http://lists.openfabrics.org/pipermail/ofw/2008-May/002602.html">http://lists.openfabrics.org/pipermail/ofw/2008-May/002602.html</A>
I understood there is an option of using extended 64-bit counters.<BR>Is
this mechanism implemented in WinOF?<o:p></o:p></SPAN></FONT>
</LI></OL></LI></OL>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> <SPAN
class=334430910-13012009><FONT color=#0000ff>The method that in vstat is
actually sending a local mad to the hca. This is indeed the recommended method
to get this data from the port.</FONT></SPAN></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p><SPAN
class=334430910-13012009><FONT color=#0000ff>Currently there is no way to get
the 64 bits information, since the hca's fw doesn't support
it.</FONT></SPAN></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p><SPAN
class=334430910-13012009><FONT
color=#0000ff></FONT></SPAN></o:p></SPAN> </P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p><SPAN
class=334430910-13012009><FONT
color=#0000ff></FONT></SPAN></o:p></SPAN> </P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p><SPAN
class=334430910-13012009><FONT
color=#0000ff></FONT></SPAN></o:p></SPAN> </P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thanks,<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Moshe.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT></P></BLOCKQUOTE></BODY></HTML>