Attention is currently required from: osmith, pespin.
fixeria has posted comments on this change by fixeria. ( https://gerrit.osmocom.org/c/osmo-ci/+/42370?usp=email )
Change subject: jobs: add build/manuals JOB_TYPEs for osmo-s1gw
......................................................................
Patch Set 1:
(1 comment)
This change is ready for review.
Patchset:
PS1:
> Because `I54f0774575534519a2c40e0588f136c8a5e706f8` is not merged yet.
Not it's merged, unsetting the WIP flag.
--
To view, visit https://gerrit.osmocom.org/c/osmo-ci/+/42370?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: comment
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: Id62d806a648c8f3480cb4f162adf65f77c552848
Gerrit-Change-Number: 42370
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Thu, 19 Mar 2026 18:42:51 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: osmith <osmith(a)sysmocom.de>
Comment-In-Reply-To: fixeria <vyanitskiy(a)sysmocom.de>
fixeria has submitted this change. ( https://gerrit.osmocom.org/c/erlang/osmo-s1gw/+/42424?usp=email )
(
3 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
)Change subject: config/sys.config: increase StatsD reporter interval to 10s
......................................................................
config/sys.config: increase StatsD reporter interval to 10s
When running ttcn3-s1gw-test locally, I noticed OsmoS1GW consuming
30-40% of a CPU core while idle (not serving any eNBs). Profiling
with etop pointed to `exometer_report_statsd` as the culprit: with
~1720 metrics registered, it was sending ~1720 datagrams per second.
A 1-second reporting interval causes noticeable CPU overhead as the
number of active metrics grows. With per-eNB and per-MME counters,
the metric set scales with the number of connected eNBs/MMEs.
Increase the default StatsD reporting interval from 1s to 10s to
reduce that overhead. Update the documentation accordingly.
Change-Id: Icd5e1a43d1df4a4909fe742aec67cc51a01bb857
---
M config/sys.config
M doc/manuals/chapters/configuration.adoc
2 files changed, 6 insertions(+), 6 deletions(-)
Approvals:
Jenkins Builder: Verified
osmith: Looks good to me, but someone else must approve
pespin: Looks good to me, but someone else must approve
fixeria: Looks good to me, approved
diff --git a/config/sys.config b/config/sys.config
index 3c8f0f3..d428765 100644
--- a/config/sys.config
+++ b/config/sys.config
@@ -88,11 +88,11 @@
},
{subscribers,
[%%{select, {[{ {['_' | '_'],'_','_'}, [], ['$_']}],
- %% exometer_report_tty, value, 1000, true}}
+ %% exometer_report_tty, value, 10_000, true}}
{select, {[{ {['_' | '_'],counter,'_'}, [], ['$_']}],
exometer_report_statsd,
value,
- 1000,
+ 10_000,
true,
[{report_type, counter}]
}
@@ -100,7 +100,7 @@
{select, {[{ {['_' | '_'],gauge,'_'}, [], ['$_']}],
exometer_report_statsd,
value,
- 1000,
+ 10_000,
true,
[{report_type, gauge}]
}
diff --git a/doc/manuals/chapters/configuration.adoc b/doc/manuals/chapters/configuration.adoc
index 337f8b3..0d4315f 100644
--- a/doc/manuals/chapters/configuration.adoc
+++ b/doc/manuals/chapters/configuration.adoc
@@ -279,10 +279,10 @@
]},
{subscribers, [
{select, {[{ {['_'|'_'], counter, '_'}, [], ['$_']}],
- exometer_report_statsd, value, 1000, true,
+ exometer_report_statsd, value, 10_000, true,
[{report_type, counter}]}},
{select, {[{ {['_'|'_'], gauge, '_'}, [], ['$_']}],
- exometer_report_statsd, value, 1000, true,
+ exometer_report_statsd, value, 10_000, true,
[{report_type, gauge}]}}
]}
]}
@@ -301,7 +301,7 @@
The `subscribers` list uses exometer's `select` mechanism to
automatically subscribe all counters and gauges to the StatsD reporter
-with a reporting interval of 1000 ms. To disable StatsD reporting,
+with a reporting interval of 10 000 ms. To disable StatsD reporting,
comment out or remove the `exometer_report_statsd` reporter entry.
// vim:set ts=4 sw=4 et:
--
To view, visit https://gerrit.osmocom.org/c/erlang/osmo-s1gw/+/42424?usp=email
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: erlang/osmo-s1gw
Gerrit-Branch: master
Gerrit-Change-Id: Icd5e1a43d1df4a4909fe742aec67cc51a01bb857
Gerrit-Change-Number: 42424
Gerrit-PatchSet: 4
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>