diff options
author | Josh Blum <josh@joshknows.com> | 2010-10-16 01:18:47 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-10-16 01:18:47 -0700 |
commit | 816a07bee54e998e4fb25beeb44b9ac3888189bf (patch) | |
tree | ba9ca84d0981fd192f6afddc8188143dce6654cb /host/lib/usrp/single_usrp.cpp | |
parent | 39ca8e25fc7f9b3170cb517b72640a62b15d253f (diff) | |
download | uhd-816a07bee54e998e4fb25beeb44b9ac3888189bf.tar.gz uhd-816a07bee54e998e4fb25beeb44b9ac3888189bf.tar.bz2 uhd-816a07bee54e998e4fb25beeb44b9ac3888189bf.zip |
usrp2: make the booty smaller than the number of recv frames
This may fix some of our woes when the host cannot keep up.
That is, with a smaller booty, the managed buffers will get
freed up and the call to get buffer will never block waiting
for a buffer to become free. This has several side effects:
1)
Overflows are more likely to occur in the pirate thread.
Pirate-based overflows will overwrite old packets, whereas
socket-based overflows will discard newer incoming packets.
2)
The pirate thread will continue to pull in async packets
rather than loosing them in a socket-based overflow.
Diffstat (limited to 'host/lib/usrp/single_usrp.cpp')
0 files changed, 0 insertions, 0 deletions