HAST initial sync speed

Pawel Jakub Dawidek pjd at FreeBSD.org
Sun Aug 22 09:25:49 UTC 2010


On Wed, Aug 18, 2010 at 12:10:05AM +0200, Thomas Steen Rasmussen wrote:
> I performed the tests with md devices like you asked. It seems like using
> memory disks doesn't make any difference. It is still running at 2-300kBps
> according to gstat. The network is plenty fast, like I mentioned in an
> earlier mail, once the initial sync is done, I can reach almost wire speed,
> over 100 megabytes per second.

Could you edit sbin/hastd/proto_common.c and change MAX_SEND_SIZE at the
begining of the file from 131072 to 32768?

Then do the following:

	# cd /usr/src
	# make buildenv
	# cd sbin/hastd
	# make && make install
	^D

And please rerun the test with md(4) devices.

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20100822/2a8b661f/attachment.pgp


More information about the freebsd-fs mailing list