<p><a href="https://gerrit.osmocom.org/c/osmo-trx/+/14167">View Change</a></p><p>1 comment:</p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0;"><p><a href="https://gerrit.osmocom.org/#/c/14167/1//COMMIT_MSG">Commit Message:</a></p><ul style="list-style: none; padding: 0;"><li style="margin: 0; padding: 0 0 0 16px;"><p style="margin-bottom: 4px;"><a href="https://gerrit.osmocom.org/#/c/14167/1//COMMIT_MSG@18">Patch Set #1, Line 18:</a> </p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;"><pre style="font-family: monospace,monospace; white-space: pre-wrap;">   device:rx_underruns:          0 (0/s 0/m 0/h 0/d) Number of Rx underruns<br>    device:rx_overruns:          0 (0/s 0/m 0/h 0/d) Number of Rx overruns<br></pre></blockquote></p><p><blockquote style="border-left: 1px solid #aaa; margin: 10px 0; padding: 0 10px;">do we have a clear definition of what those are? I think the  terminology is not entirely obvious. […]</blockquote></p><p style="white-space: pre-wrap; word-wrap: break-word;">Rx underruns exist in LimeSuite. They are generated in Streamer::ReceivePacketsLoop() during read of buffers from FPGA.<br>So bytes read is expected to be always a multiple of FPGA packet buffer. In case that doesn't happen, underrun is increased.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Rx overrun happens indeed because it took too much time for App to read and LimeSuite cannot write all recvd bytes to internal buffers of the stream.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Tx underflow: If for some reason not enough data is present on LimeSuite internal buffers when writing to FPGA.</p><p style="white-space: pre-wrap; word-wrap: break-word;">Tx overflow: If not all bytes willing to be sent by LimeSuite could end up inside the FPGA (due to its buffer being too full, or amount of data willing to be set being to big).</p><p style="white-space: pre-wrap; word-wrap: break-word;">And btw, while looking at LimeSuite code, I also found out overrun/underrun values are reset every time LMS_GetStreamStatus() are called.</p><p style="white-space: pre-wrap; word-wrap: break-word;">I created a ticket upstream to get it documented properly: https://github.com/myriadrf/LimeSuite/issues/265</p></li></ul></li></ul><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-trx/+/14167">change 14167</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-trx/+/14167"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-trx </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I78b158141697e5714d04db8b9ccc96f31f34f439 </div>
<div style="display:none"> Gerrit-Change-Number: 14167 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-CC: fixeria <axilirator@gmail.com> </div>
<div style="display:none"> Gerrit-Comment-Date: Tue, 04 Jun 2019 14:23:31 +0000 </div>
<div style="display:none"> Gerrit-HasComments: Yes </div>
<div style="display:none"> Gerrit-Has-Labels: No </div>
<div style="display:none"> Comment-In-Reply-To: Harald Welte <laforge@gnumonks.org> </div>
<div style="display:none"> Gerrit-MessageType: comment </div>