[openib-general] [PATCH] OpenSM: Extend default transaction timeout from 100 msec to 1 second
Hal Rosenstock
halr at voltaire.com
Tue Dec 20 05:38:22 PST 2005
OpenSM: Extend default transaction timeout from 100 msec to 1 second.
With the advent of long distance IB and software SMAs, 100 msec is no
longer adaquete as a default transaction timeout. Increase this to 1
second which so that the default is sufficient in most common cases.
Signed-off-by: Hal Rosenstock <halr at voltaire.com>
Index: include/opensm/osm_base.h
===================================================================
--- include/opensm/osm_base.h (revision 4549)
+++ include/opensm/osm_base.h (working copy)
@@ -246,7 +246,7 @@ BEGIN_C_DECLS
*
* SYNOPSIS
*/
-#define OSM_DEFAULT_TRANS_TIMEOUT_MILLISEC 100
+#define OSM_DEFAULT_TRANS_TIMEOUT_MILLISEC 1000
/***********/
/****d* OpenSM: Base/OSM_DEFAULT_SUBNET_TIMEOUT
Index: opensm/main.c
===================================================================
--- opensm/main.c (revision 4549)
+++ opensm/main.c (working copy)
@@ -153,7 +153,7 @@ show_usage(void)
" used for transaction timeouts.\n"
" Specifying -t 0 disables timeouts.\n"
" Without -t, OpenSM defaults to a timeout value of\n"
- " 100 milliseconds.\n\n" );
+ " 1 second (1000 milliseconds).\n\n" );
printf( "-maxsmps <number>\n"
" This option specifies the number of VL15 SMP MADs\n"
" allowed on the wire at any one time.\n"
More information about the general
mailing list