|
From: | SangHyuk Kim |
Subject: | Re: [Discuss-gnuradio] Question about packet sequence |
Date: | Thu, 14 Apr 2016 15:46:46 +0900 |
While UDP gives no order guarantee, the USRP still sends them out in order. The uncertainty comes in cases where routing happens between the USRP and the host. Still, within a LAN you can expect with relative certainty, that packets will still arrive in order, as there is usually only one route from device to host.1. The sequence of the packets is important. It would be rather bad if two bunches of samples in your IQ stream suddenly switched places.2. The host PC network stack does no reordering. It can't, by definition of UDP, as there's nothing to reorder by.3. AFAIK, the UHD also does no reordering. However, the packets arriving from the USRP __are__ numbered. If UHD detects a missing packet, it* prints a D (to signify a Dropped packet) to stdout, and emits a new rx_time tag for the next packet.* Actually, I don't know whether that's UHD or gr-uhd that does this.Hope it helpedLaur2016-04-14 8:41 GMT+03:00 SangHyuk Kim <address@hidden>:_______________________________________________Hi all,I'm wondering about packet sequence.USRP sends UDP packets which is result of sampling to host PC.UDP packets tend to be out-of-order at high speed.My question is:- When USRP sends UDP packet high speed to host PC, the sequence of these packets is important ?- Do host PC reorder these packet ? (Do PC waits for certain packet ?)Thanks.
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
[Prev in Thread] | Current Thread | [Next in Thread] |