|Subject:||file_sink and performance monitoring|
|Date:||Tue, 31 Aug 2021 16:01:32 +0000|
GNU Radio 18.104.22.168, CentOS 7. NDR-358 front end.
I am working on a modification to GNSS-SDR (which is an application built upon gnuradio). It has the option to add a file_sink as a consumer of nearly every block. However, if I enable dumping in one of the upstream blocks, the performance downstream changes, as if data is being dropped so the demodulated signal becomes incoherent.
Conventional wisdom is that file_sink is very slow, so I can imagine that adding it to my flowgraph causes things to back up enough that we can’t keep up with the real-time input. (As an aside, file_sink could probably improve performance by setting an output multiple so it is called less frequently)
In trying to troubleshoot/characterize this situation, I added a monitor thread to periodically dump buffer stats for my signal source (it was originally monitoring a different block, which is why it prints both input and output buffer stats):
My output always prints 0 for each of these numbers.
Do these methods work? Is there some other direction I should take to identify the problem? I’m willing to write a non-blocking archiving module, but if I can’t prove I’m overflowing the buffer, I need to re-think my strategy.
Principal Software Engineer
Sierra Nevada Corporation
CONFIDENTIALITY NOTICE - SNC EMAIL: This email and any attachments are confidential, may contain proprietary, protected, or export controlled information, and are intended for the use of the intended recipients only. Any review, reliance, distribution, disclosure, or forwarding of this email and/or attachments outside of Sierra Nevada Corporation (SNC) without express written approval of the sender, except to the extent required to further properly approved SNC business purposes, is strictly prohibited. If you are not the intended recipient of this email, please notify the sender immediately, and delete all copies without reading, printing, or saving in any manner. --- Thank You.
|[Prev in Thread]||Current Thread||[Next in Thread]|