HAST initial sync speed
Thomas Steen Rasmussen
thomas at gibfest.dk
Wed Aug 18 11:26:20 UTC 2010
On 18-08-2010 13:15, Thomas Steen Rasmussen wrote:
> On 18-08-2010 13:06, Pawel Jakub Dawidek wrote:
>> 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.
>>
> Woop!
>
> That certaintly did something, it is currently synching the md
> device at almost 80 megabytes/sec according to gstat!
>
Hello again,
Sorry for responding to my own post. I recreated the HAST setup with the
four harddrives and it is now saturating the gigabit link, it is
synching at a steady
rate of 112 megabytes per second, meaning that each of the disks are
reading/writing at just under 30 megabytes per second. It would probably be
even faster if the network wasn't limiting it.
I built ZFS on top of it and everything seems to be working as expected.
Thank you again for looking at this.
Thomas Steen Rasmussen
More information about the freebsd-fs
mailing list