Re: [USRP-users] x300 latency over 10GigE

2021-03-10 Thread Doug Blackburn via USRP-users
A quick update ... I added #include to my includes and the following code to UHD_SAFE_MAIN: = uhd::device3::sptr usrp3 = usrp->get_device3(); uhd::rfnoc::dma_fifo_block_ctrl::sptr dmafifo_block_ctrl = usrp3->get_block_ctrl(

Re: [USRP-users] x300 latency over 10GigE

2021-03-10 Thread Doug Blackburn via USRP-users
Brian -- Thanks so much! I sprinkled my comments in below : On Wed, Mar 10, 2021 at 1:42 PM Brian Padalino wrote: > On Wed, Mar 10, 2021 at 12:39 PM Doug Blackburn wrote: > >> Brian, >> >> I've seen this using UHD-3.14 and UHD-3.15.LTS. >> > > The DMA FIFO block default size is set here in

Re: [USRP-users] x300 latency over 10GigE

2021-03-10 Thread Brian Padalino via USRP-users
On Wed, Mar 10, 2021 at 12:39 PM Doug Blackburn wrote: > Brian, > > I've seen this using UHD-3.14 and UHD-3.15.LTS. > The DMA FIFO block default size is set here in the source code for UHD-3.15.LTS:

Re: [USRP-users] x300 latency over 10GigE

2021-03-10 Thread Doug Blackburn via USRP-users
Brian, I've seen this using UHD-3.14 and UHD-3.15.LTS. I have performed some follow-on testing that raises more questions, particularly about the usage of end_of_burst and start_of_burst. I talk through my tests and observations below; the questions that these generated are at the end ... I

Re: [USRP-users] x300 latency over 10GigE

2021-03-09 Thread Brian Padalino via USRP-users
On Tue, Mar 9, 2021 at 10:03 PM Doug Blackburn via USRP-users < usrp-users@lists.ettus.com> wrote: > Hello -- > > I've got some questions re: latency with the x300 over the 10GigE > interface. > > If I use the latency_test example operating at a rate of 50 MSPS, I have > no issues with a latency

Re: [USRP-users] x300 latency over 10GigE

2021-03-09 Thread Marcus D Leech via USRP-users
Hah. Yes. Sorry for the confusion. Sent from my iPhone > On Mar 9, 2021, at 10:36 PM, Doug Blackburn wrote: > >  > Marcus, > > Thanks for your response; I believe I am. The math is spread over two lines: > > uhd::time_spec_t expectedTime = startTime + (double) ( num_tx_samps ) >

Re: [USRP-users] x300 latency over 10GigE

2021-03-09 Thread Doug Blackburn via USRP-users
Marcus, Thanks for your response; I believe I am. The math is spread over two lines: uhd::time_spec_t expectedTime = startTime + (double) ( num_tx_samps ) / (double)usrp->get_tx_rate(); Best, Doug On Tue, Mar 9, 2021 at 10:20 PM Marcus D Leech wrote: > Shouldn’t

Re: [USRP-users] x300 latency over 10GigE

2021-03-09 Thread Marcus D Leech via USRP-users
Shouldn’t you be scaling your num_tx_samples by the time per sample when calculating the expectedTime? Sent from my iPhone > On Mar 9, 2021, at 10:03 PM, Doug Blackburn via USRP-users > wrote: > >  > Hello -- > > I've got some questions re: latency with the x300 over the 10GigE interface.

[USRP-users] x300 latency over 10GigE

2021-03-09 Thread Doug Blackburn via USRP-users
Hello -- I've got some questions re: latency with the x300 over the 10GigE interface. If I use the latency_test example operating at a rate of 50 MSPS, I have no issues with a latency of 1ms. The latency test receives data, examines the time stamp, and transmits a single packet. I have an