From: Jeffrey Altman Date: Mon, 20 Sep 2010 12:07:08 +0000 (-0700) Subject: Rx: Change minimum peer timeout to 2ms X-Git-Tag: openafs-devel-1_5_78~125 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=a6e4aac08f5d31ae3a20491be2d54883ccb41649;p=packages%2Fo%2Fopenafs.git Rx: Change minimum peer timeout to 2ms The previous value, 350ms, is historical. Now that networks are so much faster, an artificially high timeout value when backed off results in an extremely long delay before communication can resume. Change-Id: I6207fb3e5c26a36704abc1f9210af53e0ff1fae6 Reviewed-on: http://gerrit.openafs.org/2815 Tested-by: BuildBot Reviewed-by: Derrick Brashear (cherry picked from commit c77f2f1369fead87acb440134213ebf6d23f8fd7) Reviewed-on: http://gerrit.openafs.org/2824 Tested-by: Derrick Brashear --- diff --git a/src/rx/rx_globals.h b/src/rx/rx_globals.h index d3de3b3b0..e24078b6b 100644 --- a/src/rx/rx_globals.h +++ b/src/rx/rx_globals.h @@ -124,7 +124,7 @@ EXT int rx_BusyError GLOBALSINIT(-1); #define RX_FAST_ACK_RATE 1 /* as of 3.4, ask for an ack every * other packet. */ -EXT int rx_minPeerTimeout GLOBALSINIT(350); /* in milliseconds */ +EXT int rx_minPeerTimeout GLOBALSINIT(2); /* in milliseconds */ EXT int rx_minWindow GLOBALSINIT(1); EXT int rx_maxWindow GLOBALSINIT(65535); /* twind is u_short */ EXT int rx_initReceiveWindow GLOBALSINIT(16); /* how much to accept */