From: Ian Jackson Subject: Re: [PATCH 4 of 5 V3] tools/libxl: Control network buffering in remus callbacks [and 1 more messages] Date: Mon, 4 Nov 2013 17:33:16 +0000 Message-ID: <21111.55900.65778.33113@mariner.uk.xensource.com> References: <21107.62159.140005.466786@mariner.uk.xensource.com> <21111.36679.369553.735409@mariner.uk.xensource.com> <1383579138.8826.95.camel@kazak.uk.xensource.com> <21111.50707.178276.553159@mariner.uk.xensource.com> <21111.53967.622234.211632@mariner.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: Andrew Cooper , Stefano Stabellini , Ian Campbell , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org Shriram Rajagopalan writes ("Re: [PATCH 4 of 5 V3] tools/libxl: Control network buffering in remus callbacks [and 1 more messages]"): > Frankly I don't know. At the moment, I am trying to make sure that > the libxl-remus implementation is correct before I attempt to make > it fast. > > With/without these patches, there is a huge overhead per > checkpoint. I cannot get to a 20ms checkpoint interval. Time to > suspend/resume a domain is on the order of tens of milliseconds even > if it was a PV domain with fast suspend support -- where it used to > take under 1ms to suspend, checkpoint and resume an idle PV domain > on Xend+Remus. Oh dear. > This was one of the issues I raised a long time back. And this is > currently the second element in my queue, the first being to get the > patches mainline, then slowly tighten up relevant code for > performance. I think this is probably a bad approach. Under the circumstances, it seems like you really need to move the relevant code lower in the call stack. In particular, you want everything to be handled synchronously in the same process as is doing the save/restore, at least for PV domains. That's likely to involve substantially rewriting it. Ian.