<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.5726" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=785040117-19042009><FONT face=Arial color=#0000ff
size=2>Arkady,</FONT></SPAN></DIV>
<DIV><SPAN class=785040117-19042009><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=785040117-19042009><FONT face=Arial color=#0000ff
size=2>Actually, we encountered these problems running back to back
multi-threaded transaction tests on Windows while trying to get to uDAPL 100%
common code across Windows and Linux. Difference in schedulers bought out some
of these problems along with extended runs with the server running
continuously. We also run dapltest with multiple clients, one
server, so we are pushing this pretty hard.</FONT></SPAN></DIV>
<DIV><SPAN class=785040117-19042009></SPAN> </DIV>
<DIV><SPAN class=785040117-19042009><FONT face=Arial color=#0000ff
size=2>-arlin</FONT> </SPAN></DIV>
<DIV><SPAN class=785040117-19042009><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV><BR>
<BLOCKQUOTE
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> arkady kanevsky
[mailto:arkady.kanevsky@gmail.com] <BR><B>Sent:</B> Sunday, April 19, 2009
6:24 AM<BR><B>To:</B> Davis, Arlin R<BR><B>Cc:</B> OpenIB<BR><B>Subject:</B>
Re: [ofa-general] [PATCH] uDAPL v2: dapltest, adjust next port number for
number of threads to avoid duplication<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>Arlin,</DIV>
<DIV>did we encounter this issue at interop?</DIV>
<DIV>I do not recall seeing it.</DIV>
<DIV>For IB, does Wait period between assigning the same QP# handles it?</DIV>
<DIV>Thanks,</DIV>
<DIV>Arkady<BR><BR></DIV>
<DIV class=gmail_quote>On Sun, Apr 19, 2009 at 4:06 AM, Davis, Arlin R <SPAN
dir=ltr><<A
href="mailto:arlin.r.davis@intel.com">arlin.r.davis@intel.com</A>></SPAN>
wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><BR>To
avoid duplicating port numbers between different tests, the next
port<BR>number to use must increment based on the number of endpoints per
thread *<BR>the number of threads.<BR><BR>Signed-off-by: Sean Hefty <<A
href="mailto:sean.hefty@intel.com">sean.hefty@intel.com</A>><BR>---<BR> test/dapltest/test/dapl_server.c
| 3 +++<BR> 1 files changed, 3 insertions(+), 0
deletions(-)<BR><BR>diff --git a/test/dapltest/test/dapl_server.c
b/test/dapltest/test/dapl_server.c<BR>index d589e7b..4d386fe 100644<BR>---
a/test/dapltest/test/dapl_server.c<BR>+++
b/test/dapltest/test/dapl_server.c<BR>@@ -480,6 +480,9 @@ DT_cs_Server
(Params_t * params_ptr)<BR> case
TRANSACTION_TEST:<BR> {<BR>
/* create a thread to handle
this pt_ptr; */<BR>+
ps_ptr->NextPortNumber +=<BR>+
(pt_ptr->Params.u.Transaction_Cmd.eps_per_thread - 1) *<BR>+
pt_ptr->Client_Info.total_threads;<BR>
DT_Tdep_PT_Debug (1,(phead,"%s: Creating Transaction
Test Thread\n", module));<BR>
pt_ptr->thread = DT_Thread_Create (pt_ptr,<BR>
DT_Transaction_Test_Server,<BR>--<BR>1.5.2.5<BR><BR>_______________________________________________<BR>general
mailing list<BR><A
href="mailto:general@lists.openfabrics.org">general@lists.openfabrics.org</A><BR><A
href="http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general"
target=_blank>http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general</A><BR><BR>To
unsubscribe, please visit <A
href="http://openib.org/mailman/listinfo/openib-general"
target=_blank>http://openib.org/mailman/listinfo/openib-general</A><BR></BLOCKQUOTE></DIV><BR><BR
clear=all><BR>-- <BR>Cheers,<BR>Arkady Kanevsky<BR></BLOCKQUOTE></BODY></HTML>