[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] CPU Utilization and USRP2
From: |
Marcus D. Leech |
Subject: |
Re: [Discuss-gnuradio] CPU Utilization and USRP2 |
Date: |
Thu, 04 Nov 2010 16:25:38 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.12) Gecko/20100907 Fedora/3.0.7-1.fc12 Thunderbird/3.0.7 |
On 11/04/2010 03:23 PM, Josh Blum wrote:
> Well, there is extra overhead. A "pirate" thread in the the receive
> path spins on the socket and inspects the contents. The packet may be
> an asynchronous message packet for flow control or destined for the
> user. Or it may be a data packet, in which case it is placed into a
> queue to be popped off by the device::recv() call. No extra memcopies,
> its just managing pointers.
When you say that this thread "spins", do you mean that it's in an
infinite loop, waiting on blocking,
or non-blocking I/O? That is, does it pause while it waits for data,
or is it in a tight CPU loop?
--
Principal Investigator
Shirleys Bay Radio Astronomy Consortium
http://www.sbrac.org