discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Setting buffer size when using UHD


From: Josh Blum
Subject: Re: [Discuss-gnuradio] Setting buffer size when using UHD
Date: Wed, 22 Sep 2010 10:41:57 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.12) Gecko/20100915 Thunderbird/3.0.8

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: address@hidden address@hidden on behalf of Josh Blum address@hidden
Sent: Monday, September 20, 2010 5:07 PM
To: address@hidden
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
address@hidden
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

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



reply via email to

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