pespin has uploaded this change for review.

View Change

gsmtap: Increase txqueue max_length from 64 to 1024

The default value may be too low for main loop iterations writing a lot
of output. Increase it to a saner value.

Change-Id: Ie737e1d060ea3ee48631604bbae1b8b84cf787b9
(cherry picked from commit 5edb7d54a8265ad6f44afdd0d07eda041f54ed98)
---
M src/core/gsmtap_util.c
1 file changed, 2 insertions(+), 2 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/47/39347/1
diff --git a/src/core/gsmtap_util.c b/src/core/gsmtap_util.c
index b64c7b0..62d3ffa 100644
--- a/src/core/gsmtap_util.c
+++ b/src/core/gsmtap_util.c
@@ -496,8 +496,8 @@
if (osmo_iofd_register(gti->out, gti->wq.bfd.fd) < 0)
goto err_cleanup;

- /* osmo write queue previously used was set up with value of 64 */
- osmo_iofd_set_txqueue_max_length(gti->out, 64);
+ /* Use a big enough tx queue to avoid gsmtap messages being dropped: */
+ osmo_iofd_set_txqueue_max_length(gti->out, 1024);
}

return gti;

To view, visit change 39347. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newchange
Gerrit-Project: libosmocore
Gerrit-Branch: pespin/rel-1.10.0
Gerrit-Change-Id: Ie737e1d060ea3ee48631604bbae1b8b84cf787b9
Gerrit-Change-Number: 39347
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin@sysmocom.de>