Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Oct 2010 09:49:17 +0100
From:      Pete French <petefrench@ticketswitch.com>
To:        pjd@FreeBSD.org, to.my.trociny@gmail.com
Cc:        freebsd-stable@freebsd.org
Subject:   Re: hast vs ggate+gmirror sychrnoisation speed
Message-ID:  <E1PAIk1-000Bfy-Jb@dilbert.ticketswitch.com>
In-Reply-To: <20101022181301.GA2014@garage.freebsd.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
> What speed do you expect? IIRC from my tests, I was able to saturate
> 1Gbit link with initial synchronization. Also note, that hast
> synchronize only differences, and not the entire thing after crash or
> power failure.

I should probably have put some numbers in the original email,
sorry! I am looking here at an initial syc of the entire mirror,
not just the differences.

ggate+gmirror gives me about 89 meg/second
hast gives me about 44 meg/second

The boxes have gigabit connectin between them - not directly cross
connected, but they are plugged into the same switch. I have lagg
doing LACP on them.

But, as the setup is identical network-wise for each box then I don't
think it's that. I have this is sysctl.conf

kern.ipc.maxsockbuf=1048576
net.inet.tcp.sendspace=131072
net.inet.tcp.recvspace=131072

I will give the recompile with changed contants a try (maybe later
today) - do I need to do this at both ends though, as I want to avoid
downtime if possible.

cheers,

-pete.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1PAIk1-000Bfy-Jb>