[Discuss-gnuradio] Understanding Reported Overruns

2012-01-19 Thread Ryan Pape
I have an application running on USRP1 @ 6.4M SPS. With the processing I am doing I have an i7 2600k that an just BARELY keep up. I have been having problems where my app "goes dark", either with all zero input or garbage. I have not been able to confirm which, but I suspect it is being zeroed b

Re: [Discuss-gnuradio] how to learn of decimation rate in general_work() ?

2012-01-19 Thread Tom Rondeau
On Thu, Jan 19, 2012 at 3:09 PM, George Nychis wrote: > I am using stream tags to get the timestamp of its corresponding sample in > general_work(). Now, if I want to calculate the time of an arbitrary > sample in the incoming sample stream I need to know the decimation rate. > This tells me ho

[Discuss-gnuradio] how to learn of decimation rate in general_work() ?

2012-01-19 Thread George Nychis
I am using stream tags to get the timestamp of its corresponding sample in general_work(). Now, if I want to calculate the time of an arbitrary sample in the incoming sample stream I need to know the decimation rate. This tells me how much clock time is added per-sample. So I can calculate the o

Re: [Discuss-gnuradio] Try to improve E100's performance at high sample rate

2012-01-19 Thread ziyang
Optimizing an algorithm is a hard and sometimes counterintuitive process. You might benchmark the following: - Gnuradio's atan2 WITHOUT any Volk multiplications (just comment out the volk mults in your block) - The Volk multiplications WITHOUT Gnuradio's atan2 (just comment out the atan2 i

Re: [Discuss-gnuradio] Try to improve E100's performance at high sample rate

2012-01-19 Thread Nick Foster
On Thu, Jan 19, 2012 at 10:04 AM, ziyang wrote: > > I dont recommend using the extra blocks, that would probably cause more >> overhead. Looking at gr_quadrature_demod_cf::work, it looks like you can >> vectorize the operation of the conjugate multiply, then the atan, then >> the gain scaler. So

Re: [Discuss-gnuradio] Try to improve E100's performance at high sample rate

2012-01-19 Thread ziyang
I dont recommend using the extra blocks, that would probably cause more overhead. Looking at gr_quadrature_demod_cf::work, it looks like you can vectorize the operation of the conjugate multiply, then the atan, then the gain scaler. So, that would be one for loop that operates on 4 samples at a

Re: [Discuss-gnuradio] [USRP-users] Register reading from the USRP2

2012-01-19 Thread Ian Buckley
Eduardo, On Jan 19, 2012, at 7:37 AM, Eduardo Lloret Fuentes wrote: > Hello, > > I am working with a USRP2 board and the old GNU Radio driver (not the > UHD driver) under Ubuntu 10.04. I added a module to the FGPA in the > file named u2_core.v and I defined some setting registers in order to > c

Re: [Discuss-gnuradio] Really big items, best practices?

2012-01-19 Thread Tom Rondeau
On Thu, Jan 19, 2012 at 5:22 AM, Martin Braun wrote: > On Mon, Jan 16, 2012 at 08:03:52PM -0500, Tom Rondeau wrote: > > Thinking of the results as one large matrix item probably isn't going to > work. > > As you said, there's a system limitation at play here. What if, > instead, you > > passed t

[Discuss-gnuradio] [USRP-users] Register reading from the USRP2

2012-01-19 Thread Eduardo Lloret Fuentes
Hello, I am working with a USRP2 board and the old GNU Radio driver (not the UHD driver) under Ubuntu 10.04. I added a module to the FGPA in the file named u2_core.v and I defined some setting registers in order to control it. On the other hand, in the host side, I used the poke32 method to set th

Re: [Discuss-gnuradio] Really big items, best practices?

2012-01-19 Thread Martin Braun
On Mon, Jan 16, 2012 at 08:03:52PM -0500, Tom Rondeau wrote: > Thinking of the results as one large matrix item probably isn't going to work. > As you said, there's a system limitation at play here.  What if, instead, you > passed the data along as though it were a stream of floats (or complex > f