lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 20 Aug 2008 17:04:08 +0200
From:	Louis Rilling <Louis.Rilling@...labs.com>
To:	Martin Uecker <muecker@...g.de>
Cc:	Steven Whitehouse <swhiteho@...hat.com>,
	linux-kernel@...r.kernel.org
Subject: Re: distributed shared memory / mmap

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

Download attachment "signature.asc" of type "application/pgp-signature" (190 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ