Re: Shared memory IPC using NIO memory-mapped files -- anyone done this?

Randall R Schulz <[email protected]>
Newsgroups gmane.comp.windows.devel.java.advanced
Message-ID <[email protected]>
On Saturday 18 August 2007 08:19, Bob Lee wrote:
> Memory mapped files are not the way to got about this. Having to
> write everything to disk would kind of kill your "high performance"
> requirement. :)

In any decent operating system, memory-mapped file pages are kept in
core as much as other concurrent file access and RAM demand allows.
Assuming one's (system-wide) working set does not exceed physical RAM,
paging of memory-mapped file contents is probably not much of a
problem.

What's more, since the kernel manages memory globally, it can optimize
with more comprehensive information than any single process (easily)
could.


> ...
>
> Bob


Randall Schulz

===================================
This list is hosted by DevelopMentor®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com
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.