Guillermo:

I’ve already got queries in to the R&D team. 

Sent from my iPhone

> On Nov 15, 2021, at 12:17 PM, Guillermo Ortas Delgado <g.or...@gmv.com> wrote:
> 
> 
> Yep, the config file is at /etc/uhd/uhd.conf and I can see that any 
> modifications I make on it take immediate effect.
> Could you get anyone from the team who uses DPDK to look at this, please? I’d 
> really appreciate it.
>  
> Best,
> Guillermo
>  
> <image001.png>
> Guillermo Ortas Delgado
> GNSS Engineer /
> Ingeniero GNSS
> GMV 
> Isaac Newton, 11
> P.T.M. Tres Cantos
> 28760 Madrid, Spain
> Tel.: +34 91 807 21 00
> Fax: +34 91 807 21 99 
> www.gmv.com
> <image002.png>
> <image003.png>
> <image003.png>
> <image003.png>
> <image003.png>
> <image004.png>
>  
>  
> De: Marcus D. Leech [mailto:patchvonbr...@gmail.com] 
> Enviado el: 15 November 2021 17:08
> Para: Guillermo Ortas Delgado <g.or...@gmv.com>; usrp-users@lists.ettus.com
> Asunto: Re: DPDK drops samples at low rates
>  
> On 2021-11-15 08:25, Guillermo Ortas Delgado wrote:
> I will add that for an unknown reason the maximum frame size as reported by 
> UHD when launching the benchmark_rate app is 1556, which triggers a warning 
> message saying that it should be 8000 for best results.
> I cannot find anywhere to set this value to 8000, even when setting 
> “recv_frame_size=9000,send_frame_size=9000” in the device arguments I get the 
> same.
>  
> As a side note, this maximum frame size value of 1556 is good up to 100Msps 
> dual channel if not using DPDK.
>  
> Best,
> Guillermo
> Where are you placing your uhd.conf file?  See the notes on UHD configuration 
> locations here:
> 
> https://files.ettus.com/manual/page_configfiles.html#configfiles_usrps
> 
> Other than that, I'm hampered by not actually being a DPDK user, so I'm 
> running a bit "blind".
> 
> 
> 
>  
> De: Guillermo Ortas Delgado 
> Enviado el: 15 November 2021 14:17
> Para: usrp-users@lists.ettus.com
> CC: Marcus D Leech <patchvonbr...@gmail.com>
> Asunto: DPDK drops samples at low rates
>  
> Hi all,
>  
> I finally managed to get DPDK working, but using DPDK results in dropped 
> samples even at low sampling frequencies, as low as 1Msps. For reference, I 
> can receive samples at 200Msps on both channels simultaneously when not using 
> DPDK.
> I would like to know if I’m missing something or there’s  something else 
> which needs to be tuned.
>  
> The setup is Ubuntu 20.04 LTS, UHD 4.1.0.4, DPDK 18.11, USRP X310, and 2048 
> pages of 2 MB each. The contents of my uhd.conf file are pasted below.
> The command I use to run the benchmark rate example is this:
> sudo /usr/local/lib/uhd/examples/./benchmark_rate 
> --args="use_dpdk=1,addr=192.168.110.2,second_addr=192.168.115.2" --pps 
> internal --rx_cpu sc16 --rx_otw sc16 --rx_rate 200e6 --channels 0,1 
> --priority high --duration 30
>  
> Am I missing something? Can you spot any misconfiguration?
>  
> uhd.conf file:
> ;When present in device args, use_dpdk indicates you want DPDK to take over 
> the UDP transports
> ;The value here represents a config, so you could have another section 
> labeled use_dpdk=myconf
> ;instead and swap between them
> [use_dpdk=1]
> ;dpdk_mtu is the NIC's MTU setting
> ;This is separate from MPM's maximum packet size
> dpdk_mtu=9600
> ;NOTE: The dpdk-pmds directory includes all librte_pmd_* and librte_mempool_* 
> libraries
> dpdk_driver=/usr/local/lib/dpdk-pmds
> dpdk_corelist=11,12,13,14,15
> dpdk_num_mbufs=4096
> dpdk_mbuf_cache_size=512
> [dpdk_mac=f4:03:43:ec:29:d0]
> ;ens1f0np0
> dpdk_lcore = 12
> dpdk_ipv4 = 192.168.110.1/24
> dpdk_num_desc=4096
> [dpdk_mac=f4:03:43:ec:3e:a0]
> ;ens2f0np0
> dpdk_lcore = 12
> dpdk_ipv4 = 192.168.115.1/24
> dpdk_num_desc=4096
>  
> Thank you beforehand,
> Guillermo
>  
> 
> P Please consider the environment before printing this e-mail.
>  
> 
> P Please consider the environment before printing this e-mail.
_______________________________________________
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com

Reply via email to