diff options
author | Josh Blum <josh@joshknows.com> | 2010-10-07 10:11:32 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-10-07 10:11:32 -0700 |
commit | 86b021e48031f2bc6e99c7c5d2d626ea149dec70 (patch) | |
tree | c107d3d7fb0f34da17085c06e81aa96258c38746 /host/docs/usrp2.rst | |
parent | d5a0960455560e9f6077aa45d52aa01c469769dd (diff) | |
parent | b40ace72dd1b940fc0ce6e4a5e06346439dd5625 (diff) | |
download | uhd-86b021e48031f2bc6e99c7c5d2d626ea149dec70.tar.gz uhd-86b021e48031f2bc6e99c7c5d2d626ea149dec70.tar.bz2 uhd-86b021e48031f2bc6e99c7c5d2d626ea149dec70.zip |
Merge branch 'next' into usrp_e_mmap_b2
Diffstat (limited to 'host/docs/usrp2.rst')
-rw-r--r-- | host/docs/usrp2.rst | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/host/docs/usrp2.rst b/host/docs/usrp2.rst index 70e5ea28b..1ebab388a 100644 --- a/host/docs/usrp2.rst +++ b/host/docs/usrp2.rst @@ -166,47 +166,6 @@ The device address string representation for 2 USRP2s with IPv4 addresses 192.16 addr=192.168.10.2 192.168.20.2 ------------------------------------------------------------------------ -Resize the send and receive buffers ------------------------------------------------------------------------- -It may be useful increase the size of the socket buffers to -move the burden of buffering samples into the kernel, or to -buffer incoming samples faster than they can be processed. -However, if you application cannot process samples fast enough, -no amount of buffering can save you. - -By default, the UHD will try to resize both the send and receive buffer for optimum performance. -A warning will be printed on instantiation if the actual buffer size is insufficient. -See the OS specific notes below: - -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -OS specific notes -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -On linux, the maximum buffer sizes are capped by the sysctl values -**net.core.rmem_max** and **net.core.wmem_max**. -To change the maximum values, run the following commands: -:: - - sudo sysctl -w net.core.rmem_max=<new value> - sudo sysctl -w net.core.wmem_max=<new value> - -Set the values permanently by editing */etc/sysctl.conf* - -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -Device address params -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -To manually set the size of the buffers, -the usrp2 will accept two optional parameters in the device address. -Each parameter will accept a numeric value for the number of bytes. - -* recv_buff_size -* send_buff_size - -Example usage, set the device address markup string to the following: -:: - - addr=192.168.10.2, recv_buff_size=100e6 - ------------------------------------------------------------------------- Hardware setup notes ------------------------------------------------------------------------ |