LWN.net Logo

Fast IPC

Fast IPC

Posted Sep 16, 2010 23:56 UTC (Thu) by vomlehn (subscriber, #45588)
In reply to: Fast IPC by vomlehn
Parent article: Fast interprocess messaging

Ah, I get it. The idea is to copy into memory not visible from the other process. Never mind.


(Log in to post comments)

Fast IPC

Posted Sep 17, 2010 3:09 UTC (Fri) by cma (subscriber, #49905) [Link]

Yep ;)

The problem is that with this kind of IPC "shared-memory" based it would be possible to code a "self-cotained" app that would not depend on a typical shared-memory which Java native code is not possible to implement (i'm not talking of a JNI based solution). Semophores, locks and so on would not be needed here since with this "new IPC model" we would just stick with file/socket io programming making it possible to obtain really awesome inter-process communication latency and throught put using a unique programming semantics, like async-io on top of NIO, epoll, or even libevent/libev.

The trick is that the kernel should be doing all the complex stuff like cache aware, numa etc affinities exposing just what we need, a file descriptor ;) Regards

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds