Advertisement
Guest User

Untitled

a guest
Jun 14th, 2011
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.63 KB | None | 0 0
  1. ------------------------------------------------------------------------
  2. Overflow/Underflow notes
  3. ------------------------------------------------------------------------
  4. **Note:** The following overflow/underflow notes do not apply to USRP1,
  5. which does not support the advanced features available in newer products.
  6.  
  7. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  8. Overflow notes
  9. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  10. When receiving, the device produces samples at a constant rate.
  11. Overflows occurs when the host does not consume data fast enough.
  12. When UHD detects the overflow, it prints an "O" to stdout,
  13. and pushes an inline message packet into the receive stream.
  14.  
  15. **Network-based devices**:
  16. The host does not back-pressure the receive stream.
  17. When the kernel's socket buffer becomes full, it will drop subsequent packets.
  18. UHD detects the overflow as a discontinuity in the packet's sequence numbers,
  19. and muxes an inline message packet into the receive stream.
  20.  
  21. **Other devices**:
  22. The host back-pressures the receive stream.
  23. Therefore, overflows always occur in the device itself.
  24. When the device's internal buffers become full, streaming is shutoff,
  25. and an inline message packet is sent to the host.
  26. If the device was in continuous streaming mode,
  27. the UHD will automatically restart streaming.
  28.  
  29. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  30. Underflow notes
  31. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  32. When transmitting, the device consumes samples at a constant rate.
  33. Underflow occurs when the host does not produce data fast enough.
  34. When the UHD detects underflow, it prints an "U" to stdout,
  35. and pushes a message packet into the async message stream.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement