Author: pjd
Date: Wed Aug 18 12:09:27 2010
New Revision: 211452
URL: http://svn.freebsd.org/changeset/base/211452

Log:
  For some setups sending data in 128kB chunks makes communication very slow. No
  idea why. 32kB on the other hand seems to work properly everywhere.
  
  Reported by:  Thomas Steen Rasmussen <tho...@gibfest.dk>
  MFC after:    3 weeks

Modified:
  head/sbin/hastd/proto_common.c

Modified: head/sbin/hastd/proto_common.c
==============================================================================
--- head/sbin/hastd/proto_common.c      Wed Aug 18 09:28:12 2010        
(r211451)
+++ head/sbin/hastd/proto_common.c      Wed Aug 18 12:09:27 2010        
(r211452)
@@ -42,8 +42,7 @@ __FBSDID("$FreeBSD$");
 
 /* Maximum size of packet we want to use when sending data. */
 #ifndef MAX_SEND_SIZE
-//#define      MAX_SEND_SIZE   32768
-#define        MAX_SEND_SIZE   131072
+#define        MAX_SEND_SIZE   32768
 #endif
 
 int
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to