On 09/22/2010 07:17 AM, Per Zetterberg wrote:
Is the receiver buffer size in bytes or samples ?


bytes

Its a direct proxy for SO_REVBUF socket option. http://www.boost.org/doc/libs/1_41_0/doc/html/boost_asio/reference/basic_datagram_socket/receive_buffer_size.html

http://msdn.microsoft.com/en-us/library/ms740476%28VS.85%29.aspx

-Josh


________________________________________
From: discuss-gnuradio-bounces+perz=kth...@gnu.org 
[discuss-gnuradio-bounces+perz=kth...@gnu.org] on behalf of Josh Blum 
[j...@joshknows.com]
Sent: Monday, September 20, 2010 5:07 PM
To: discuss-gnuradio@gnu.org
Subject: Re: [Discuss-gnuradio] Setting buffer size when using UHD

The buffer size setting is used across all motherboards in the mimo
setup. So, if specified, its only specified once:
http://www.ettus.com/uhd_docs/manual/html/usrp2.html#resize-the-send-and-receive-buffers

If this is linux, I recommend setting sysctl and letting UHD
automatically pick the size.

sudo sysctl -w net.core.rmem_max=50000000

-Josh

On 09/20/2010 03:36 AM, Per Zetterberg wrote:
Hi All,

How do I set the buffer size when using uhd::usrp::mimo_usrp ?

BR/
Per
_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to