I’m using Ubuntu 14.04, UHD_003.008.00-18-g864f84b5 and GNU Radio 3.7.6
Whenever I start uhd_fft from a command line, the window opens and
starts
to plot. After about a second, the window goes into not responding mode,
where it greys out and you can’t click anything. Does anyone know what
could be causing this behaviour? Is it a local setting of mine?
I’m using Ubuntu 14.04, UHD_003.008.00-18-g864f84b5 and GNU Radio 3.7.6
Whenever I start uhd_fft from a command line, the window opens and
starts to plot. After about a second, the window goes into not
responding mode, where it greys out and you can’t click anything. Does
anyone know what could be causing this behaviour? Is it a local setting
of mine?
Are you using Ubuntu’s unity?
It might be a GL issue. Try if setting style = nongl will help.
The key setting that mleech pointed out was setting the fft-rate lower,
uhd-fft --fft-rate 5.
I suppose the N210 can’t handle the default setting, since my laptop
(corei7, 16 gig ram) doesn’t seem to be the bottleneck going by cpu
usage
and mem usage.
The N210 neither knows, nor cares, what is going on on your CPU, nor
whether there’s enough CPU for it to send samples to you. To use a
physical-world analogy, Niagara Falls neither knows, nor cares, whether
the bucket you’re holding at the bottom of it to “capture” it is big
enough–it’ll just keep on being Niagara Falls regardless.
Also, you’d quoted 45% CPU consumption, which is total consumption,
which means that at least ONE CPU was probably totally-pegged.
Individual processes don’t automatically occupy multiple CPUs. That’s
not how multi-core systems work. The kernel schedules threads across
multiple CPUs the best it can. A single process thread can still
“starve” for CPU, even if other threads, on other CPUs are “happy”. In
this case the thread that was doing your FFT display logic was probably
running into CPU limitations–the wxGUI FFT sink (which is what is used
by uhd_fft) isn’t the most efficient. However, on a modern i7 CPU, it
should still be able to support 15 updates/second, so I’m guessing that
your CPU performance profile is set to something like “power saving” or
similar. You’ll have to research how to adjust that on Ubuntu under
Unity, since I don’t know myself.
On 2014-12-18 15:24, Richard B. wrote:
Rich
[wxgui]
Yes I’m using Unity. I forgot to mention my hardware, which is an N210 with WBX
daughterboard.