Date: Wed, 18 Aug 2010 12:09:28 +0000 (UTC) From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r211452 - head/sbin/hastd Message-ID: <201008181209.o7IC9Shj068296@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <thomas@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201008181209.o7IC9Shj068296>