From owner-freebsd-fs@FreeBSD.ORG Sun Aug 22 09:25:49 2010 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6AF2610656A9 for ; Sun, 22 Aug 2010 09:25:49 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (60.wheelsystems.com [83.12.187.60]) by mx1.freebsd.org (Postfix) with ESMTP id 1489E8FC28 for ; Sun, 22 Aug 2010 09:25:39 +0000 (UTC) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 7D92E45E91; Wed, 18 Aug 2010 13:07:01 +0200 (CEST) Received: from localhost (pdawidek.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 9B77345E86; Wed, 18 Aug 2010 13:06:56 +0200 (CEST) Date: Wed, 18 Aug 2010 13:06:55 +0200 From: Pawel Jakub Dawidek To: Thomas Steen Rasmussen Message-ID: <20100818110655.GA2177@garage.freebsd.pl> 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> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dDRMvlgZJXvWKvBx" Content-Disposition: inline In-Reply-To: <4C6B08BD.9080206@gibfest.dk> User-Agent: Mutt/1.4.2.3i X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 9.0-CURRENT amd64 X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=4.5 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-fs@freebsd.org Subject: Re: HAST initial sync speed X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Aug 2010 09:25:49 -0000 --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--