Hi Community ,
Whenever we open a UHD device following message appears on the terminal
:
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
linux; GNU C++ version 4.4.3; Boost_104000;
UHD_003.004.003-177-g584b7ae2
– Opening a USRP2/N-Series device…
– Current recv frame size: 1472 bytes
– Current send frame size: 1472 bytes
UHD Warning:
The recv buffer could not be resized sufficiently.
Target sock buff size: 50000000 bytes.
Actual sock buff size: 1000000 bytes.
See the transport application notes on buffer resizing.
Please run: sudo sysctl -w net.core.rmem_max=50000000
UHD Warning:
The recv buffer could not be resized sufficiently.
Target sock buff size: 50000000 bytes.
Actual sock buff size: 1000000 bytes.
See the transport application notes on buffer resizing.
Please run: sudo sysctl -w net.core.rmem_max=50000000
UHD Warning:
The send buffer could not be resized sufficiently.
Target sock buff size: 1048576 bytes.
Actual sock buff size: 1000000 bytes.
See the transport application notes on buffer resizing.
Please run: sudo sysctl -w net.core.wmem_max=1048576
Using Volk machine: sse4_1_32
gain = 35.0
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
And after that the program continues. I have made my own customized
spectrum
sensing python script which is controlled by another bash script. I need
to
make a screencast when the whole process goes, but this much long
warning at
the beginning of every iteration is kind of irritating. I tried to find
form
where these are been echoed or printed but no help.
If any body know the location of those files kindly help me out. I need
to
temporarily disable this echo.
** I tried >/dev/null thing but it is suppressing all the required
contents
also.
Thanks :working:
Sumit Kr.
Research Assistant
Communication Research center
IIIT Hyderabad
India
If you execute the following commands you will get rid of those
warnings.
These adjust the maximum read and write buffer sizes allowed that the OS
is
allowed to use for network interfaces. See more here: http://wwwx.cs.unc.edu/~sparkst/howto/network_tuning.php
Thanks Ryan…it worked for the three UHD warnings. Now I shall do
something
about
linux; GNU C++ version 4.4.3; Boost_104000;
UHD_003.004.003-177-g584b7ae2
-- Opening a USRP2/N-Series device...
-- Current recv frame size: 1472 bytes
-- Current send frame size: 1472 bytes
Wolfarth, Ryan wrote:
You could add these lines in “/etc/sysctl.conf” if you don’t want to type
Whenever we open a UHD device following message appears on the terminal :
Actual sock buff size: 1000000 bytes.
UHD Warning:
spectrum
temporarily disable this echo.
IIIT Hyderabad Discuss-gnuradio Info Page
How can we do that in a C++/Python hybrid flowgraph? Is there a Python
interface out there?
So to register a python callback into C++ is tricky. The answer is SWIG
directors. However, I nearly killed myself yesterday trying to get that
madness to work.
On Mon, 27 Aug 2012 09:46:56 -0700, Josh B. wrote:
How can we do that in a C++/Python hybrid flowgraph? Is there a Python
interface out there?
So to register a python callback into C++ is tricky. The answer is SWIG
directors. However, I nearly killed myself yesterday trying to get that
madness to work.
Oh, this let me recall that I spent lots of time to make SWIG interfaces
between C++ vector of vector to Python tuple of typle… C++ reference
to vector of vector won’t work. I finally use vector of vector, which
mighe be more expensive because of copy construction. I find SWIG can be
tricky indeed.