From: Steven Whitehouse <swhiteho@redhat.com>
To: Martin Uecker <muecker@gwdg.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: distributed shared memory / mmap
Date: Wed, 20 Aug 2008 15:43:24 +0100 [thread overview]
Message-ID: <1219243404.20622.156.camel@quoit> (raw)
In-Reply-To: <1219238336.8097.29.camel@localhost>
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.
next prev parent reply other threads:[~2008-08-20 14:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-20 13:18 distributed shared memory / mmap Martin Uecker
2008-08-20 14:43 ` Steven Whitehouse [this message]
2008-08-20 15:04 ` Louis Rilling
2008-08-20 15:27 ` Mark Hounschell
2008-08-20 17:00 ` linux-os (Dick Johnson)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1219243404.20622.156.camel@quoit \
--to=swhiteho@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=muecker@gwdg.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox