Re: fast interprocess communication ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hi Prady,

Pradyumna Sampath wrote:
Hi Armin,

On Wed, Jun 30, 2010 at 1:33 PM, Armin Steinhoff <armin@xxxxxxxxxxxx> wrote:

what are you using if you need a "real fast"  interprocess communication ?

Does the posix mqueue's not fit your need ?

The mqueue system is based on the file system and isn't the fastest.
The concept of mqueue is OK ...

Have you tried them ? Do
have some kind of numbers about your definition of fast ?

Local message exchange between lokal processes in less than 10us.

For me, the POSIX mqueues seemed to work, though with some initial
trouble which was fixed with a patch to the kernel follow this thread
( http://lkml.org/lkml/2010/4/2/293 ) , this patch is now queued for
mainline inclusion for 2.6.35.

There is also a new test suite to measure message queue perf in the
rt-tests. Its called pmqtest.

Interesting ... I will give it a try.

I plan do some conceptual work for a UIO based message passing solution.
It should be possible to use read and write (triggering uio_event_notify() ) and a UIO device memory to implement a non-copy data exchange.

Regards

--Armin


--
To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [RT Stable]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux