[linux-audio-dev] FIFOs vs. sockets
ingo.oeser at informatik.tu-chemnitz.de
Fri May 16 05:14:00 UTC 2003
On Thu, May 15, 2003 at 02:59:25PM -0600, Hans Fugal wrote:
> On linux, which is faster, pipe, FIFO, or socket? What about shared
> memory - is it faster, and if so is it faster enough to warrant the
> extra programming overhead?
This depends on how much data you usally transfer at a time, the
kernel used and the machine under it.
LMBench will show you the differences per system on any system
where it compiles. Just google for it (Author is Larry McVoy).
The decision you have to make is, whether a copy will take longer
than the synchronisation overhead. Don't forget the sleep/wakeup
More information about the Linux-audio-dev