Attention is currently required from: osmith, iedemam, neels, laforge, fixeria.
Hello osmith, iedemam, neels, laforge, fixeria,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-bsc/+/28090
to look at the new patch set (#2).
Change subject: Revert "stats: new trackers for lchan life duration"
......................................................................
Revert "stats: new trackers for lchan life duration"
This reverts commit 5e2ac29703b4b05f202734698fecdb04b4461bd8.
This patch was found to be a troublemaker regarding osmo-bsc
performance, since it's scheduling one timer every 100ms for each
channel. On a BSC with dozens of BTS, each with several TRX, this ends
up in a huge amount of timers scheduled in a tight timeframe, which ends
up in osmo-bsc spending CPU time getting in and out of the poll() main
loop.
Related: SYS#5922
Change-Id: Ibd5123e7f04ae8f4eb8f08b63525527f526f0b2c
---
M include/osmocom/bsc/bts.h
M include/osmocom/bsc/gsm_data.h
M src/osmo-bsc/bts.c
M src/osmo-bsc/bts_trx_vty.c
M src/osmo-bsc/bts_vty.c
M src/osmo-bsc/gsm_data.c
M src/osmo-bsc/lchan_fsm.c
7 files changed, 0 insertions(+), 91 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/90/28090/2
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/28090
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Ibd5123e7f04ae8f4eb8f08b63525527f526f0b2c
Gerrit-Change-Number: 28090
Gerrit-PatchSet: 2
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: iedemam <michael(a)kapsulate.com>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-CC: Jenkins Builder
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: iedemam <michael(a)kapsulate.com>
Gerrit-Attention: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: newpatchset
pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-bsc/+/28089 )
Change subject: Revert "fix fallout from: 'stats: new trackers for lchan life duration'"
......................................................................
Revert "fix fallout from: 'stats: new trackers for lchan life duration'"
This reverts commit a09d78faa97b087e8a17cf29484caf4ffbc27b9e.
The whole original patch is also being reverted, so this fix too.
Change-Id: Ic9b89b3030eb8cfedabbf20ec8fcbcc225fe028f
---
M src/osmo-bsc/lchan_fsm.c
1 file changed, 0 insertions(+), 8 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/89/28089/1
diff --git a/src/osmo-bsc/lchan_fsm.c b/src/osmo-bsc/lchan_fsm.c
index 6854465..d693189 100644
--- a/src/osmo-bsc/lchan_fsm.c
+++ b/src/osmo-bsc/lchan_fsm.c
@@ -528,14 +528,6 @@
lchan->mgw_endpoint_ci_bts = NULL;
}
- /* Ensure that the osmo_timer in lchan->active_cc is stopped. This is particularly important for lchan FSM
- * deallocation, so that the timer is no longer active when the lchan FSM instance gets discarded
- * (lchan_fsm_cleanup() calls this function), see OS#5554.
- *
- * Besides that, it is also good to make sure the timer is stopped when the lchan resets, to avoid any false
- * counts being accumulated, however obscure an error situation may be. */
- osmo_time_cc_cleanup(&lchan->active_cc);
-
/* NUL all volatile state */
*lchan = (struct gsm_lchan){
.ts = lchan->ts,
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/28089
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: Ic9b89b3030eb8cfedabbf20ec8fcbcc225fe028f
Gerrit-Change-Number: 28089
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: newchange
pespin has submitted this change. ( https://gerrit.osmocom.org/c/libosmo-abis/+/28070 )
Change subject: input/ipaccess: Remove unneeded osmo_fd_write_enable()
......................................................................
input/ipaccess: Remove unneeded osmo_fd_write_enable()
Recent commit optimize the same function by avoiding an extra poll loop
when e1i_ts->sign.delay was zero. Upon doing so, the
osmo_fd_write_disable() was moved to some conditional paths. Hence, the
WRITE flag is left set and we don't need to set it again in the code
path modified in this commit.
Fixes: 28fea7746bbc2fb8ca0f677a93559c0c9f4cff09
Change-Id: I84787b6de2a5ccc82bd8f19ce874e73708bc287f
---
M src/input/ipaccess.c
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Jenkins Builder: Verified
osmith: Looks good to me, but someone else must approve
fixeria: Looks good to me, but someone else must approve
pespin: Looks good to me, approved
diff --git a/src/input/ipaccess.c b/src/input/ipaccess.c
index b995fde..ca48d21 100644
--- a/src/input/ipaccess.c
+++ b/src/input/ipaccess.c
@@ -509,7 +509,7 @@
case E1INP_SIGN_OSMO:
break;
default:
- osmo_fd_write_enable(bfd); /* come back for more msg */
+ /* leave WRITE flag enabled, come back for more msg */
ret = -EINVAL;
goto out;
}
--
To view, visit https://gerrit.osmocom.org/c/libosmo-abis/+/28070
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmo-abis
Gerrit-Branch: master
Gerrit-Change-Id: I84787b6de2a5ccc82bd8f19ce874e73708bc287f
Gerrit-Change-Number: 28070
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-bsc/+/27081 )
Change subject: stats: new trackers for lchan life duration
......................................................................
Patch Set 22:
(1 comment)
Patchset:
PS22:
> I am starting on this now. […]
Agree with 1 per BTS.
--
To view, visit https://gerrit.osmocom.org/c/osmo-bsc/+/27081
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-Change-Id: I1b0670c47cb5e0b7776eda89d1e71545ba0e3347
Gerrit-Change-Number: 27081
Gerrit-PatchSet: 22
Gerrit-Owner: iedemam <michael(a)kapsulate.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Thu, 12 May 2022 10:44:34 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: iedemam <michael(a)kapsulate.com>
Gerrit-MessageType: comment