From: Ian Campbell Subject: Re: [PATCH v16 2/7] remus: introduce remus device Date: Fri, 18 Jul 2014 17:17:22 +0100 Message-ID: <1405700242.6419.12.camel@kazak.uk.xensource.com> References: <1405406805-1455-1-git-send-email-yanghy@cn.fujitsu.com> <1405406805-1455-3-git-send-email-yanghy@cn.fujitsu.com> <21445.29371.640484.799653@mariner.uk.xensource.com> <53C658F9.3090507@cn.fujitsu.com> <21446.26151.961369.811500@mariner.uk.xensource.com> <53C8F1BC.7030705@cn.fujitsu.com> <21449.11824.616690.772949@mariner.uk.xensource.com> <1405699116.6419.1.camel@kazak.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: rshriram@cs.ubc.ca Cc: Lai Jiangshan , Wen Congyang , Andrew Cooper , Jiang Yunhong , Ian Jackson , "xen-devel@lists.xen.org" , Dong Eddie , Hongyang Yang List-Id: xen-devel@lists.xenproject.org On Fri, 2014-07-18 at 12:08 -0400, Shriram Rajagopalan wrote: > The keyword above is "may". Without network buffering, ongoing TCP > connections "may" be hung, depending on whether any communication > happened during the failed checkpoint. Same applies to disk. That doesn't sound like a good reason to offer this amount of rope to an innocent user. > If one can control the network interactions or if the application is > capable of recovering > from lost TCP connections (or lost UDP packets for that matter), then > it stands to benefit > from no-network buffering as it eliminates the latency overhead > introduced by buffering every > packet [ 0.5 x checkpoint-interval + RTT between primary-backup]. Now *this* might be a reason to offer such an option for network traffic. But is there an existing real world requirement to support this now or is this just a theoretical desire? Seems like punting on it for the time being would let the rest of the series make progress. It seems harder to imagine a case where not replicating a disk would be tolerable. Ian.