[linux-audio-dev] FIFOs vs. sockets

Paul Davis paul at linuxaudiosystems.com
Fri May 16 08:40:01 UTC 2003


>[...]
>> anyway, they are inherently slower than a pipe, because the pipe model
>> doesn't require creation and use of a signal handling stack for the
>> task. the task is already blocked, and you just wake it up. with any
>> signal (including an rtsignal) you have to setup the signal call
>> stack first. 
>
>Also when using sigwait()?

probably depends on the thread library implementation. sigwait in
linuxthreads is just a complete hack.

i never tried rtsignals, but the first implementation of JACK tried to
use signals for IPC, and i found it 3-5 times slower than using pipes.



More information about the Linux-audio-dev mailing list