[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Discuss-gnuradio] Setting buffer size when using UHD
From: |
Per Zetterberg |
Subject: |
Re: [Discuss-gnuradio] Setting buffer size when using UHD |
Date: |
Tue, 21 Sep 2010 10:30:34 +0200 |
I read the page you refer to but I don't understand. Is this correct ?
uhd::device_addr_t dev_addr;
dev_addr["addr"] = "192.168.10.11 192.168.20.11";
dev_addr["addr"] = "192.168.10.11 192.168.20.11";
dev_addr["recv_buff_size"] = "1e4";
d_mdev=uhd::usrp::mimo_usrp::make(dev_addr);
> If this is linux, I recommend setting sysctl and letting UHD
> automatically pick the size.
>
> sudo sysctl -w net.core.rmem_max=50000000
>
>
>
Yes. But then I need to do change this value when depending on which
application I about to run or ... ?
BR/
Per
On Mon, 2010-09-20 at 08:07 -0700, Josh Blum wrote:
> 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