[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] A silly question
From: |
sumitstop |
Subject: |
Re: [Discuss-gnuradio] A silly question |
Date: |
Fri, 24 Aug 2012 06:26:00 -0700 (PDT) |
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:
>
> 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
>
> sudo sysctl -w net.core.rmem_max=50000000
> sudo sysctl -w net.core.wmem_max=1048576
>
> You could add these lines in "/etc/sysctl.conf" if you don't want to type
> those lines every time your system restarts.
>
> Regards,
> Ryan
>
> On Fri, Aug 24, 2012 at 6:41 AM, sumitstop
> <address@hidden>wrote:
>
>>
>> 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
>> --
>> View this message in context:
>> http://old.nabble.com/A-silly-question-tp34343561p34343561.html
>> Sent from the GnuRadio mailing list archive at Nabble.com.
>>
>>
>> _______________________________________________
>> Discuss-gnuradio mailing list
>> address@hidden
>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>
-----
Sumit Kr.
Research Assistant
Communication Research center
IIIT Hyderabad
India
--
View this message in context:
http://old.nabble.com/A-silly-question-tp34343561p34344165.html
Sent from the GnuRadio mailing list archive at Nabble.com.