Skip to content

Commit

Permalink
wiedehopf readsb: disable arm rtl-sdr zerocopy workaround (#282)
Browse files Browse the repository at this point in the history
sdr-e rtl-sdr baseimage is compiled without zerocopy
thus the zerocopy workaround is not needed

on a pi3 this will save 3% CPU in the USB thread which could slightly
improve MLAT stability
saving CPU is always good and this workaround is only needed when
librtlsdr is compiled with zerocopy
  • Loading branch information
wiedehopf authored Apr 29, 2024
1 parent 1d58fbe commit 5466f33
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile.wreadsb
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ RUN set -x && \
make \
RTLSDR=yes \
AIRCRAFT_HASH_BITS=14 \
DISABLE_RTLSDR_ZEROCOPY_WORKAROUND=yes \
-j "$(nproc)" \
&& \
find "/src/readsb" -maxdepth 1 -executable -type f -exec cp -v {} /usr/local/bin/ \; && \
Expand Down

0 comments on commit 5466f33

Please sign in to comment.