From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Mike D. Day" Subject: Re: Synchronisation between a Linux dom0 and a hvm Windows guest Date: Wed, 26 Jul 2006 09:39:19 -0400 Message-ID: <44C77087.90803@us.ibm.com> References: <20060725141030.1509aedb@vidal.eve> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20060725141030.1509aedb@vidal.eve> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Quentin Garnier Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Quentin Garnier wrote: > So right now I'm looking for idea to synchronise the two domains that > wouldn't cost me too much in terms of latency. Getting rid of the > caching issue that seems to be part of the problem would be a start, but > I really lack ideas and I don't really know where to hack to do that in > Linux. A better way would of course to use Xen to have the relevant > pages explicitely set dirty before reading them in Linux, and something > mostly equivalent in Windows. > > Anyone can point to something to start with? Have you tried simply using IP? Networking is pretty fast between domain 0 and other domains on the same hardware. If you use a pair of tcp sockets synchronization is handled for you. Of course I'm assuming that you are exchanging data by passing messages via the shared memory. Not sure if that is your actual application. Also, you don't mention your latency and performance requirements. Mike