RE: L4Re IPC share memory that share file in one Linux filesystem and be visible to other Linuxes

Joyce Peng(彭美僑) <[email protected]>
Newsgroups gmane.comp.micro-kernel.l4.devel
Message-ID <[email protected]>
Yes, I know this easiest way that mount filesystem via NFS, NBD or SMB.
But I have a mission to evaluate the IPC performance between two Linuxes that run on top of Fiasco.OC.
So our evaluated environment is run a media player in one Linux and this player will access media data in other Linux. And we use uvmm to run two vms that run Linux respectively. 

Regards,
Joyce.Peng(彭美僑)

-----Original Message-----
From: Matthias Lange [mailto:[email protected]] 
Sent: Thursday, July 06, 2017 4:58 AM
To: [email protected]
Cc: Joyce Peng(彭美僑)
Subject: Re: L4Re IPC share memory that share file in one Linux filesystem and be visible to other Linuxes

Hi,

On 07/05/2017 05:47 AM, Joyce Peng(彭美僑) wrote:
> Hi L4,
> 
>   I want to share a file in one Linux filesystem and be visible to 
> other Linuxes that all run on top Fiasco.OC. It seems an IPC 
> communication between L4re vm tasks. And access a file in Linux 
> filesystem is a mechanism of kernel block device driver. But I only 
> notice two char device drivers that use L4re library l4shmc in 
> L4linux. It is l4ser_shm and l4shmnet. May you give some information about this work how to work.
> Thanks.

Have you thought about how to syncronize access to the filesystem between the two VMs?

The easiest approach would be to setup a (virtual) network connection between the two VMs and let one VM provide the filesystem via NFS, NBD or SMB.

Regards,
Matthias.

> 
> Joyce.peng(彭美僑)
_______________________________________________
l4-hackers mailing list
[email protected]
http://os.inf.tu-dresden.de/mailman/listinfo/l4-hackers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.