It looks like I had secure boot enabled. After disabling it
and modifying features as in the article, I'm not getting any sequence
errors or dropped samples! However, my desktop freezes up momentarily while
I run the benchmark. Is this normal with DPDK, or is it a configuration
issue?

On Thu, Jun 23, 2022 at 11:09 AM Shane Flandermeyer <
shaneflanderme...@gmail.com> wrote:

> Kernel: 5.15.0-39-generic
> OS: Ubuntu 22.04
>
> For some reason, I am not able to modify the features file even when I'm
> root. I get the following error:
>
> cat: features: Operation not permitted
>
> On Thu, Jun 23, 2022 at 10:57 AM Dylan Baros <dcba...@utexas.edu> wrote:
>
>> Good morning Shane,
>>
>> Can you verify what Linux kernel you are using? See the bottom section of
>> this KB article: https://kb.ettus.com/Getting_Started_with_DPDK_and_UHD
>>
>> Thanks,
>> Dylan Baros
>> Sent from my iPhone
>>
>> On Jun 23, 2022, at 10:47 AM, Shane Flandermeyer <
>> shaneflanderme...@gmail.com> wrote:
>>
>> 
>> Hello,
>>
>> I'm trying to configure UHD to work with DPDK and my Intel X550T NIC.
>> When running the benchmark_rate UHD example, the x310 drops packets and
>> gives sequence errors even at lower sample rates. Below is an example of
>> the output from the script. Have I configured something incorrectly?
>>
>> /usr/local/lib/uhd/examples# ./benchmark_rate --rx_rate 100e6 --args
>> "addr=192.168.40.2,use_dpdk=1"
>>
>> [INFO] [UHD] linux; GNU C++ version 11.2.0; Boost_107400; DPDK_21.11;
>> UHD_4.2.0.HEAD-0-g46a70d85
>> EAL: Detected CPU lcores: 16
>> EAL: Detected NUMA nodes: 1
>> EAL: Detected shared linkage of DPDK
>> EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
>> EAL: Selected IOVA mode 'PA'
>> EAL: No available 1048576 kB hugepages reported
>> EAL: VFIO support initialized
>> EAL: Using IOMMU type 8 (No-IOMMU)
>> EAL: Probe PCI driver: net_ixgbe (8086:1563) device: 0000:b3:00.0 (socket
>> 0)
>> TELEMETRY: No legacy callbacks, legacy socket not created
>> [00:00:00.000411] Creating the usrp device with:
>> addr=192.168.40.2,use_dpdk=1...
>> [INFO] [X300] X300 initialization sequence...
>> [INFO] [X300] Maximum frame size: 8000 bytes.
>> [INFO] [X300] Radio 1x clock: 200 MHz
>> Using Device: Single USRP:
>>   Device: X-Series Device
>>   Mboard 0: X310
>>   RX Channel: 0
>>     RX DSP: 0
>>     RX Dboard: A
>>     RX Subdev: UBX RX
>>   RX Channel: 1
>>     RX DSP: 1
>>     RX Dboard: B
>>     RX Subdev: UBX RX
>>   TX Channel: 0
>>     TX DSP: 0
>>     TX Dboard: A
>>     TX Subdev: UBX TX
>>   TX Channel: 1
>>     TX DSP: 1
>>     TX Dboard: B
>>     TX Subdev: UBX TX
>>
>> [00:00:02.819147387] Setting device timestamp to 0...
>> [00:00:02.821865134] Testing receive rate 100.000000 Msps on 1 channels
>> [00:00:03.355548206] Detected Rx sequence error.
>> D[D00:00:04.355894703] Detected Rx sequence error.
>> [D00:00:05.356027514] Detected Rx sequence error.
>> [00:00:06.355927093] Detected Rx sequence error.
>> D[00:00:07.355947814] Detected Rx sequence error.
>> D[D00:00:08.355300086] Detected Rx sequence error.
>> [D00:00:09.355619635] Detected Rx sequence error.
>> [D00:00:10.355006440] Detected Rx sequence error.
>> [D00:00:11.355740470] Detected Rx sequence error.
>> [D00:00:12.354932569] Detected Rx sequence error.
>> [00:00:12.822469413] Benchmark complete.
>>
>>
>> Benchmark rate summary:
>>   Num received samples:     961039704
>>   Num dropped samples:      38916012
>>   Num overruns detected:    0
>>   Num transmitted samples:  0
>>   Num sequence errors (Tx): 0
>>   Num sequence errors (Rx): 10
>>   Num underruns detected:   0
>>   Num late commands:        0
>>   Num timeouts (Tx):        0
>>   Num timeouts (Rx):        0
>>
>>
>> Done!
>> _______________________________________________
>> USRP-users mailing list -- usrp-users@lists.ettus.com
>> To unsubscribe send an email to usrp-users-le...@lists.ettus.com
>>
>>
_______________________________________________
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