WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] shared-memory filesystem

To: "Mark Williamson" <mark.williamson@xxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] shared-memory filesystem
From: "King, Steven R" <steven.r.king@xxxxxxxxx>
Date: Thu, 3 Nov 2005 16:57:57 -0800
Delivery-date: Fri, 04 Nov 2005 00:58:18 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcXgzZe9fp8GMgN6RK+uI4j1ZafiRAABnogA
Thread-topic: shared-memory filesystem
Hi Mark,

Will your Xen guest memory sharing approach create OS portability
headaches?  It would obviously be desirable to maintain one general
scheme that works in *nix, Windows, etc.  Windows processes can map
files with MapViewOfFile(), but my understanding is that creating a
Windows file system is difficult.

Sending IOCTL's to exotic character devices is boring and not half as
elegant, but isn't it the most portable approach?

-steve

-----Original Message-----
From: Mark Williamson [mailto:mark.williamson@xxxxxxxxxxxx] 
Sent: Thursday, November 03, 2005 3:22 PM
To: xen-devel@xxxxxxxxxxxxxxxxxxx
Cc: Christopher Clark; King, Steven R; NAHieu
Subject: Re: [Xen-devel] Question on xc_gnttab_map_grant_ref()

To expand:

I'm working towards a shared-memory NFS-style filesystem for Xen guests.
This will allow high-performance data sharing within one host.  This
leverages direct memory sharing to maximise performance and make better
use of the available RAM.

A bonus feature of this direct sharing approach is that applications
running in different domains on the same host should be able to share
memory by both using a simple mmap() call.  This avoids us having to
introduce any new wacky semantics / exotic character devices; sharing
should work similarly to the case of two applications in one domain.

Cheers,
Mark

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>