While testing the new Mobitex fix PR on a BEESAT recording, I noticed a severe performance issue.
Fetch the attached file, decompress it and run with a gr_satellites-5.9.0 release:
time gr_satellites beesat-1 --iq --rawint16 iq_10185025_48000_cut.raw --samp_rate 48000 > beesat.log
or under docker:
time docker run --rm -it -v "$(pwd):/srv" librespace/gnuradio:3.10.5.1-satnogs gr_satellites beesat-1 --iq --rawint16 /srv/iq_10185025_48000_cut.raw --samp_rate 48000 > beesat.log
It should contain two valid frames in a 10s recording.
However, the logfile is mostly full of CRC errors, pointing to the original problem.
grep -ci "crc fail" beesat.log results in around 38000 lines in my case.
If my calculations is correct, 48ksps for 10s and resulting in 38k crc errors is one tagged frame each 12 samples, which is pretty unreasonable.
Running a longer ~14min recording on a Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
real 5m47.972s
user 8m5.093s
sys 1m51.135s
Sending the process SIGTERM does not exit in a timely manner either but continues some thread that hogs one core. SIGKILL does terminate it promptly.
Others report their SatNOGS stations being frozen for 15 minutes when running this live.
iq_10185025_48000_cut.raw.gz
While testing the new Mobitex fix PR on a BEESAT recording, I noticed a severe performance issue.
Fetch the attached file, decompress it and run with a gr_satellites-5.9.0 release:
time gr_satellites beesat-1 --iq --rawint16 iq_10185025_48000_cut.raw --samp_rate 48000 > beesat.logor under docker:
time docker run --rm -it -v "$(pwd):/srv" librespace/gnuradio:3.10.5.1-satnogs gr_satellites beesat-1 --iq --rawint16 /srv/iq_10185025_48000_cut.raw --samp_rate 48000 > beesat.logIt should contain two valid frames in a 10s recording.
However, the logfile is mostly full of CRC errors, pointing to the original problem.
grep -ci "crc fail" beesat.logresults in around 38000 lines in my case.If my calculations is correct, 48ksps for 10s and resulting in 38k crc errors is one tagged frame each 12 samples, which is pretty unreasonable.
Running a longer ~14min recording on a Intel(R) Core(TM) i7-4790K CPU @ 4.00GHz
real 5m47.972s
user 8m5.093s
sys 1m51.135s
Sending the process SIGTERM does not exit in a timely manner either but continues some thread that hogs one core. SIGKILL does terminate it promptly.
Others report their SatNOGS stations being frozen for 15 minutes when running this live.
iq_10185025_48000_cut.raw.gz