[Spread-cvs] cvs commit: spread/daemon Readme.txt protocol.c
jonathan at spread.org
jonathan at spread.org
Sun Feb 8 09:17:49 EST 2004
jonathan 04/02/08 09:17:49
Modified: daemon Readme.txt protocol.c
Log:
Only rotate token 1 extra time after daemons stop sending messages instead
of 100 times. This will remove the extra network traffic that several people
saw.
Revision Changes Path
1.45 +2 -0 spread/daemon/Readme.txt
Index: Readme.txt
===================================================================
RCS file: /storage/cvsroot/spread/daemon/Readme.txt,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- Readme.txt 8 Feb 2004 14:13:38 -0000 1.44
+++ Readme.txt 8 Feb 2004 14:17:49 -0000 1.45
@@ -70,6 +70,8 @@
*) Zero buffer in c library before sending multicast.
Reported by Panagiotis Kougiouris.
*) Send fewer lookup probe messages when only a single segment is configured.
+*) Remove extra token rotations when no messages are sent. Will decrease
+ network packet overhead.
June 20, 2003 Ver 3.17.1
----------------------------
1.7 +2 -2 spread/daemon/protocol.c
Index: protocol.c
===================================================================
RCS file: /storage/cvsroot/spread/daemon/protocol.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- protocol.c 24 Oct 2003 21:47:37 -0000 1.6
+++ protocol.c 8 Feb 2004 14:17:49 -0000 1.7
@@ -1154,7 +1154,7 @@
if( ( Memb_state() == OP ||
( Memb_state() == GATHER && Memb_token_alive() ) )&&
Get_retrans(Last_token->type) <= 1 &&
- Aru == Highest_seq && Token_counter > 100 ) return ( 1 );
+ Aru == Highest_seq && Token_counter > 1 ) return ( 1 );
else return( 0 );
}
@@ -1163,7 +1163,7 @@
if( ( Memb_state() == OP ||
( Memb_state() == GATHER && Memb_token_alive() ) )&&
Get_retrans(Last_token->type) <= 1 &&
- Aru == Highest_seq && Token_counter > 100 ) return ( 1 );
+ Aru == Highest_seq && Token_counter > 1 ) return ( 1 );
else return( 0 );
}
More information about the Spread-cvs
mailing list