Re: [LAD] Pipes vs. Message Queues

From: Nick Copeland <nickycopeland@email-addr-hidden>
Date: Sat Nov 26 2011 - 21:41:34 EET

> On my computer, sockets are sometimes slower than both pipes and queues.
>
> However, by making sure the two processes doesn't change CPU during
> runtime, sockets are always the fastest, and I get consistent results:

That is useful. How consistent are the results people are getting though? When
I run with 1M messages the results are generally very flakey, 2, 4, 6 seconds
between different runs. If I use 10M then due to the far longer run time then
the differences are will 2 to 6 seconds but the run time is a whole order of
magnitude different give a different picture.

Will try and find an hour to run the tests with this CPU selection code.

Regards, nick.
                                               

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Sun Nov 27 00:15:02 2011

This archive was generated by hypermail 2.1.8 : Sun Nov 27 2011 - 00:15:03 EET