Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Aug 2010 13:06:55 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Thomas Steen Rasmussen <thomas@gibfest.dk>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: HAST initial sync speed
Message-ID:  <20100818110655.GA2177@garage.freebsd.pl>
In-Reply-To: <4C6B08BD.9080206@gibfest.dk>
References:  <4C57E20E.2030908@gibfest.dk> <20100806135001.GF1710@garage.freebsd.pl> <4C5ECA78.6010803@gibfest.dk> <20100810075528.GA1754@garage.freebsd.pl> <4C61CF4D.4060009@gibfest.dk> <4C651B7E.5000805@gibfest.dk> <20100816221059.GE2611@garage.freebsd.pl> <4C6B08BD.9080206@gibfest.dk>

next in thread | previous in thread | raw e-mail | index | archive | help

--dDRMvlgZJXvWKvBx
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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 spee=
d,
> 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.

--=20
Pawel Jakub Dawidek                       http://www.wheelsystems.com
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--dDRMvlgZJXvWKvBx
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iEYEARECAAYFAkxrvs8ACgkQForvXbEpPzQpzQCgviN7W2k5NGkEK6BZ2SeKCdwm
6+UAoKlYS50hpu65dRMiRV6zIwd1XnSq
=ElmX
-----END PGP SIGNATURE-----

--dDRMvlgZJXvWKvBx--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100818110655.GA2177>