* distributed shared memory / mmap @ 2008-08-20 13:18 Martin Uecker 2008-08-20 14:43 ` Steven Whitehouse 2008-08-20 15:27 ` Mark Hounschell 0 siblings, 2 replies; 5+ messages in thread From: Martin Uecker @ 2008-08-20 13:18 UTC (permalink / raw) To: linux-kernel Hi! Is there any easy way to get shared memory between to processes on different machines? It seems possible using mmap on a file system like GFS on top of a distributed block device. Sincerly, Martin Uecker ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: distributed shared memory / mmap 2008-08-20 13:18 distributed shared memory / mmap Martin Uecker @ 2008-08-20 14:43 ` Steven Whitehouse 2008-08-20 15:04 ` Louis Rilling 2008-08-20 15:27 ` Mark Hounschell 1 sibling, 1 reply; 5+ messages in thread From: Steven Whitehouse @ 2008-08-20 14:43 UTC (permalink / raw) To: Martin Uecker; +Cc: linux-kernel Hi, On Wed, 2008-08-20 at 15:18 +0200, Martin Uecker wrote: > > Hi! > > Is there any easy way to get shared memory between to > processes on different machines? It seems possible using mmap > on a file system like GFS on top of a distributed block device. > > > Sincerly, > Martin Uecker > Yes, you can do it using GFS/GFS2 and it should work. On the other hand, don't do it. Its probably not what you want and unlikely to give you good performance since the locking is "per inode" and thus you'll generate a lot of cache flushing if there is any appreciable amount of writing to the shared region. If you have a read mostly (or only) workload, then it will work much better. There are often better solutions though, depending on the application in question, Steve. ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: distributed shared memory / mmap 2008-08-20 14:43 ` Steven Whitehouse @ 2008-08-20 15:04 ` Louis Rilling 0 siblings, 0 replies; 5+ messages in thread From: Louis Rilling @ 2008-08-20 15:04 UTC (permalink / raw) To: Martin Uecker; +Cc: Steven Whitehouse, linux-kernel [-- Attachment #1: Type: text/plain, Size: 1271 bytes --] On Wed, Aug 20, 2008 at 03:43:24PM +0100, Steven Whitehouse wrote: > Hi, > > On Wed, 2008-08-20 at 15:18 +0200, Martin Uecker wrote: > > > > Hi! > > > > Is there any easy way to get shared memory between to > > processes on different machines? It seems possible using mmap > > on a file system like GFS on top of a distributed block device. > > > > > > Sincerly, > > Martin Uecker > > > Yes, you can do it using GFS/GFS2 and it should work. On the other hand, > don't do it. Its probably not what you want and unlikely to give you > good performance since the locking is "per inode" and thus you'll > generate a lot of cache flushing if there is any appreciable amount of > writing to the shared region. If you have a read mostly (or only) > workload, then it will work much better. Alternatively, you can use kernel-level DSM like provided by Kerrighed. Kerrighed provides cluster-wide SYSV shm segments, which sharing is handled at the page level -> far better than the inode level. You may find this solution not-so-easy though... Regards, Louis -- Dr Louis Rilling Kerlabs Skype: louis.rilling Batiment Germanium Phone: (+33|0) 6 80 89 08 23 80 avenue des Buttes de Coesmes http://www.kerlabs.com/ 35700 Rennes [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: distributed shared memory / mmap 2008-08-20 13:18 distributed shared memory / mmap Martin Uecker 2008-08-20 14:43 ` Steven Whitehouse @ 2008-08-20 15:27 ` Mark Hounschell 2008-08-20 17:00 ` linux-os (Dick Johnson) 1 sibling, 1 reply; 5+ messages in thread From: Mark Hounschell @ 2008-08-20 15:27 UTC (permalink / raw) To: Martin Uecker; +Cc: linux-kernel Martin Uecker wrote: > > Hi! > > Is there any easy way to get shared memory between to > processes on different machines? It seems possible using mmap > on a file system like GFS on top of a distributed block device. > > There is hardware available, designed just for this. Reflective Memory pci cards. Mark ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: distributed shared memory / mmap 2008-08-20 15:27 ` Mark Hounschell @ 2008-08-20 17:00 ` linux-os (Dick Johnson) 0 siblings, 0 replies; 5+ messages in thread From: linux-os (Dick Johnson) @ 2008-08-20 17:00 UTC (permalink / raw) To: Mark Hounschell; +Cc: Martin Uecker, linux-kernel On Wed, 20 Aug 2008, Mark Hounschell wrote: > Martin Uecker wrote: >> >> Hi! >> >> Is there any easy way to get shared memory between to >> processes on different machines? It seems possible using mmap >> on a file system like GFS on top of a distributed block device. >> >> > > There is hardware available, designed just for this. Reflective Memory > pci cards. > > Mark > -- Check out "Fabric." There is even an InfiniBand driver in the kernel. Fabric attached memory is used for HPC (High Performance Computing). It's been around for a couple of years and is fairly mature. Cheers, Dick Johnson Penguin : Linux version 2.6.22.1 on an i686 machine (4785.87 BogoMips). My book : http://www.AbominableFirebug.com/ _ **************************************************************** The information transmitted in this message is confidential and may be privileged. Any review, retransmission, dissemination, or other use of this information by persons or entities other than the intended recipient is prohibited. If you are not the intended recipient, please notify Analogic Corporation immediately - by replying to this message or by sending an email to DeliveryErrors@analogic.com - and destroy all copies of this information, including any attachments, without reading or disclosing them. Thank you. ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-08-20 17:04 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2008-08-20 13:18 distributed shared memory / mmap Martin Uecker 2008-08-20 14:43 ` Steven Whitehouse 2008-08-20 15:04 ` Louis Rilling 2008-08-20 15:27 ` Mark Hounschell 2008-08-20 17:00 ` linux-os (Dick Johnson)
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox