I'm no expert on what to change here, but I'd guess there's another setting that's the correct one for your specific OS & version, and that "net.core.rmem_max" is the correct one for some other OS and/or version. Maybe do a quick internet search for how to change the UDP buffer size on your OS and version? Maybe someone else in GR-land has seen this issue & knows what to do? - MLD
On Thu, Jun 27, 2019, at 12:43 PM, sumit kumar wrote:
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_setschedparamTraceback (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 maintb = 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_offsetreturn _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'
No comments:
Post a Comment