discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] FIFO latency


From: Marcus D. Leech
Subject: Re: [Discuss-gnuradio] FIFO latency
Date: Mon, 30 May 2011 09:55:17 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10

On 30/05/2011 9:51 AM, Alexander Chemeris wrote:

Linux' pipe implementation is known to be quite slow. I would suggest to
use UNIX sockets instead. They should perform much better in terms of
latency and performance.
Good idea.

I'm dubious of such a claim--the core mechanisms between Unix-domain sockets and FIFOs are very similar.

While it's true that it *used* to be the case that pipes/FIFOs were handled as disk files, that's no longer true--they just implement ring-buffer objects within the kernel, and Unix-domain sockets are also quite similar--in fact, they are likely higher overhead, because they have to go through the labyrinthine socket stack, which FIFOs don't.

I did my part to put together a FIFO test, so if someone wants to do a Unix-domain socket benchmark we could settle
  that question.







reply via email to

[Prev in Thread] Current Thread [Next in Thread]