linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Armin Steinhoff <armin@steinhoff.de>
To: Pradyumna Sampath <pradysam@gmail.com>
Cc: linux-rt-users@vger.kernel.org
Subject: Re: fast interprocess communication ?
Date: Mon, 05 Jul 2010 18:48:49 +0200	[thread overview]
Message-ID: <4C320CF1.7080803@steinhoff.de> (raw)
In-Reply-To: <AANLkTikM-AhROT6GJULLhzNZUVfdFEGt6VoZHC-86wEf@mail.gmail.com>


Hi Prady,

Pradyumna Sampath wrote:
> Hi Armin,
>
> On Wed, Jun 30, 2010 at 1:33 PM, Armin Steinhoff <armin@steinhoff.de> 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



  reply	other threads:[~2010-07-05 16:45 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-11 14:42 PREEMPT_RT patch vs RTAI/Xenomai Asier Tamayo
2010-05-11 15:20 ` Nivedita Singhvi
2010-05-11 15:30   ` Asier Tamayo
2010-05-12 16:07     ` Steven Rostedt
     [not found]       ` <4BEAFB7E.90304@steinhoff.de>
2010-05-13  1:27         ` Nivedita Singhvi
2010-05-13  8:07           ` Armin Steinhoff
2010-05-13  8:01       ` Armin Steinhoff
2010-05-13 17:58         ` Robert Schwebel
2010-05-14  9:34           ` Armin Steinhoff
2010-05-14 11:46             ` Robert Schwebel
2010-05-14 12:32               ` Armin Steinhoff
2010-05-14 16:36                 ` Robert Schwebel
2010-05-14 16:29                   ` Armin Steinhoff
2010-05-14 20:53                     ` Robert Schwebel
2010-06-30 11:33               ` fast interprocess communication ? Armin Steinhoff
2010-06-30 11:39                 ` Pradyumna Sampath
2010-07-05 16:48                   ` Armin Steinhoff [this message]
2010-07-06 10:29                     ` Pradyumna Sampath

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C320CF1.7080803@steinhoff.de \
    --to=armin@steinhoff.de \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=pradysam@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).