Other Linux IPC mechanisms
Posted Nov 10, 2011 20:28 UTC (Thu) by
abacus (guest, #49001)
Parent article:
Fast interprocess communication revisited
I'm afraid the above overview is incomplete. At least the following inter-process communication methods are supported by the Linux kernel but were not mentioned in the above article:
- Shared memory. Processes can choose to share one or more memory segments and can even create POSIX mutexes etc. in shared memory segments. For more information, see e.g. the documentation of the PTHREAD_PROCESS_SHARED attribute.
- RDMA or Remote Direct Memory Access. Although this API was added in the Linux kernel to add support for the InfiniBand transport, the RDMA API can also be used for inter-process communication. For who's not familiar with this API, it is an API that unlike the socket API can be implemented such that data is not copied (zero-copy).
(
Log in to post comments)