Change in osmo-mgw[master]: allow larger MGCP client wqueue: 10 -> 1024

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

neels gerrit-no-reply at lists.osmocom.org
Tue Mar 10 02:58:39 UTC 2020


neels has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-mgw/+/17442 )


Change subject: allow larger MGCP client wqueue: 10 -> 1024
......................................................................

allow larger MGCP client wqueue: 10 -> 1024

Enlarge the MGCP client workqueue maximum limit by factor 100.

During Abis load testing, a BSC trying to DLCX 200 conns at the same time hit
the limit of 10 very very quickly, and everything broke down.

Change-Id: I8980cce37bae0757828b28455b25c77bcb6316d0
---
M src/libosmo-mgcp-client/mgcp_client.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/42/17442/1

diff --git a/src/libosmo-mgcp-client/mgcp_client.c b/src/libosmo-mgcp-client/mgcp_client.c
index a65cd61..b6bf43b 100644
--- a/src/libosmo-mgcp-client/mgcp_client.c
+++ b/src/libosmo-mgcp-client/mgcp_client.c
@@ -828,7 +828,7 @@
 	inet_aton(mgcp->actual.remote_addr, &addr.sin_addr);
 	mgcp->remote_addr = htonl(addr.sin_addr.s_addr);
 
-	osmo_wqueue_init(wq, 10);
+	osmo_wqueue_init(wq, 1024);
 	wq->bfd.when = BSC_FD_READ;
 	wq->bfd.data = mgcp;
 	wq->read_cb = mgcp_do_read;

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-mgw/+/17442
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: I8980cce37bae0757828b28455b25c77bcb6316d0
Gerrit-Change-Number: 17442
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200310/35965f30/attachment.htm>


More information about the gerrit-log mailing list