discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] gr-ieee-80211: UDP Warning and another error


From: sumit kumar
Subject: Re: [Discuss-gnuradio] gr-ieee-80211: UDP Warning and another error
Date: Thu, 27 Jun 2019 18:42:50 +0200

This happens after running sudo sysctl -w net.core.rmem_max=50000000

[INFO] [UHD] linux; GNU C++ version 7.4.0; Boost_106501; UHD_3.15.0.git-1-gf83faf28
[INFO] [USRP2] Opening a USRP2/N-Series device...
[INFO] [USRP2] Current recv frame size: 1472 bytes
[INFO] [USRP2] Current send frame size: 1472 bytes
[WARNING] [UDP] The recv buffer could not be resized sufficiently.
Target sock buff size: 50000000 bytes.
Actual sock buff size: 212992 bytes.
See the transport application notes on buffer resizing.
Please run: sudo sysctl -w net.core.rmem_max=50000000
[WARNING] [UDP] The current recv_buff_size of 212992 is less than the minimum recommended size of 307200 and may result in dropped packets on some NICs
[WARNING] [UDP] The recv buffer could not be resized sufficiently.
Target sock buff size: 50000000 bytes.
Actual sock buff size: 212992 bytes.
See the transport application notes on buffer resizing.
Please run: sudo sysctl -w net.core.rmem_max=50000000
[WARNING] [UDP] The current recv_buff_size of 212992 is less than the minimum recommended size of 307200 and may result in dropped packets on some NICs
[WARNING] [UDP] The recv buffer could not be resized sufficiently.
Target sock buff size: 2500000 bytes.
Actual sock buff size: 212992 bytes.
See the transport application notes on buffer resizing.
Please run: sudo sysctl -w net.core.rmem_max=2500000
[WARNING] [UDP] The current recv_buff_size of 212992 is less than the minimum recommended size of 307200 and may result in dropped packets on some NICs
[WARNING] [UDP] The recv buffer could not be resized sufficiently.
Target sock buff size: 2500000 bytes.
Actual sock buff size: 212992 bytes.
See the transport application notes on buffer resizing.
Please run: sudo sysctl -w net.core.rmem_max=2500000
[WARNING] [UDP] The current recv_buff_size of 212992 is less than the minimum recommended size of 307200 and may result in dropped packets on some NICs
[WARNING] [UHD] Unable to set the thread priority. Performance may be negatively affected.
Please see the general application notes in the manual for instructions.
EnvironmentError: OSError: error in pthread_setschedparam
Traceback (most recent call last):
  File "/home/sumit/gradio/src/gr-ieee-80211/examples/wifi_rx.py", line 374, in <module>
    main()
  File "/home/sumit/gradio/src/gr-ieee-80211/examples/wifi_rx.py", line 362, in main
    tb = top_block_cls()
  File "/home/sumit/gradio/src/gr-ieee-80211/examples/wifi_rx.py", line 151, in __init__
    self.uhd_usrp_source_0.set_auto_dc_offset("", 0)
  File "/home/sumit/gradio/lib/python2.7/dist-packages/gnuradio/uhd/uhd_swig.py", line 3499, in set_auto_dc_offset
    return _uhd_swig.usrp_source_sptr_set_auto_dc_offset(self, enb, chan)
TypeError: in method 'usrp_source_sptr_set_auto_dc_offset', argument 2 of type 'bool'

On Thu, 27 Jun 2019 at 18:34, sumit kumar <address@hidden> wrote:
Hi Michael, Yes indeed, tried till  5000000, still no luck. 

Regards
Sumit 

On Thu, 27 Jun 2019 at 18:30, Michael Dickens <address@hidden> wrote:
Hi Sumit - Just out of curiosity, have you tried the command the warning asks you to execute?
{{{
sudo sysctl -w net.core.wmem_max=2500000
}}}
If not then please try it & see if that helps. - MLD

On Thu, Jun 27, 2019, at 12:27 PM, sumit kumar wrote:
OS: Ubuntu 18.04
Laptop: Dell Latitude 5490
GNU Radio : 3.7.13.5
UHD : UHD_3.15.0.git-1-gf83faf28
SDR: Ettus N200

I did a fresh install today using pybombs. 

Then tried running wifi_rx.grc from gr-ieee-80211 package and flooded with errors. Never seen them before. Bold marked part is coming with all the programs where I am connected to USRP such as uhd_fft while the rest happens with wifi_rx.grc (this is what I have observed so far).

However, all the programs are working flawlessly with older version.

Any tips to solve it.

Regards
Sumit  

[INFO] [UHD] linux; GNU C++ version 7.4.0; Boost_106501; UHD_3.15.0.git-1-gf83faf28
[INFO] [USRP2] Opening a USRP2/N-Series device...
[INFO] [USRP2] Current recv frame size: 1472 bytes
[INFO] [USRP2] Current send frame size: 1472 bytes
[WARNING] [UDP] The send buffer could not be resized sufficiently.
Target sock buff size: 2500000 bytes.
Actual sock buff size: 212992 bytes.
See the transport application notes on buffer resizing.
Please run: sudo sysctl -w net.core.wmem_max=2500000
[WARNING] [UDP] The current send_buff_size of 212992 is less than the minimum recommended size of 307200 and may result in dropped packets on some NICs
[WARNING] [UDP] The send buffer could not be resized sufficiently.
Target sock buff size: 2500000 bytes.
Actual sock buff size: 212992 bytes.
See the transport application notes on buffer resizing.
Please run: sudo sysctl -w net.core.wmem_max=2500000
[WARNING] [UDP] The current send_buff_size of 212992 is less than the minimum recommended size of 307200 and may result in dropped packets on some NICs
[WARNING] [UDP] The send buffer could not be resized sufficiently.
Target sock buff size: 1048576 bytes.
Actual sock buff size: 212992 bytes.
See the transport application notes on buffer resizing.
Please run: sudo sysctl -w net.core.wmem_max=1048576
[WARNING] [UDP] The current send_buff_size of 212992 is less than the minimum recommended size of 307200 and may result in dropped packets on some NICs
[WARNING] [UDP] The send buffer could not be resized sufficiently.
Target sock buff size: 2500000 bytes.
Actual sock buff size: 212992 bytes.
See the transport application notes on buffer resizing.
Please run: sudo sysctl -w net.core.wmem_max=2500000
[WARNING] [UDP] The current send_buff_size of 212992 is less than the minimum recommended size of 307200 and may result in dropped packets on some NICs
[WARNING] [UHD] Unable to set the thread priority. Performance may be negatively affected.
Please see the general application notes in the manual for instructions.
EnvironmentError: OSError: error in pthread_setschedparam

Traceback (most recent call last):
  File "/home/sumit/gradio/src/gr-ieee-80211/examples/wifi_rx.py", line 374, in <module>
    main()
  File "/home/sumit/gradio/src/gr-ieee-80211/examples/wifi_rx.py", line 362, in main
    tb = top_block_cls()
  File "/home/sumit/gradio/src/gr-ieee-80211/examples/wifi_rx.py", line 151, in __init__
    self.uhd_usrp_source_0.set_auto_dc_offset("false", 0)
  File "/home/sumit/gradio/lib/python2.7/dist-packages/gnuradio/uhd/uhd_swig.py", line 3499, in set_auto_dc_offset
    return _uhd_swig.usrp_source_sptr_set_auto_dc_offset(self, enb, chan)
TypeError: in method 'usrp_source_sptr_set_auto_dc_offset', argument 2 of type 'bool'

_______________________________________________
Discuss-gnuradio mailing list




--
Sumit Kumar




--
Sumit Kumar



reply via email to

[Prev in Thread] Current Thread [Next in Thread]