Date: Fri, 03 Jun 2011 01:26:11 -0700 From: Maxim Sobolev <sobomax@FreeBSD.org> To: Mikolaj Golub <trociny@freebsd.org> Cc: Pawel Jakub Dawidek <pjd@FreeBSD.ORG>, "current@freebsd.org" <current@FreeBSD.ORG> Subject: Re: Weird issue with hastd(8) Message-ID: <4DE89AA3.908@FreeBSD.org> In-Reply-To: <86hb8du5fo.fsf@kopusha.home.net> References: <4DDD4890.70604@FreeBSD.org> <86hb8du5fo.fsf@kopusha.home.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 5/29/2011 4:11 AM, Mikolaj Golub wrote: > This might be MSG_WAITALL issue I described on net@ (look for the thread > "recv() with MSG_WAITALL might stuck when receiving more than rcvbuf", and > also kern/154504). > > Could you please try the patch? > > http://people.freebsd.org/~trociny/uipc_socket.c.patch Yes, installing this patch on both client and server has solved this issue. Synchronization now goes much faster. I would also like to get your input on my two other patches - randomization of the synchronization pattern and ad-hoc asynchronous more. Hastd appears extremely useful to synchronize large virtual disks over slow links without taking live virtual machine offline. -Maxim
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4DE89AA3.908>