msuraev has submitted this change. ( https://gerrit.osmocom.org/c/osmo-mgw/+/30041 )
Change subject: Add realtime scheduling and set priority in service file
......................................................................
Add realtime scheduling and set priority in service file
This sets lowest realtime priority which still takes precedence over any non-realtime service.
Related: OS#5687
Change-Id: Ib1705a164b04b876f129a17c4e8353b9ddcc538e
---
M contrib/systemd/osmo-mgw.service
1 file changed, 5 insertions(+), 0 deletions(-)
Approvals:
laforge: Looks good to me, approved
pespin: Looks good to me, but someone else must approve
Jenkins Builder: Verified
diff --git a/contrib/systemd/osmo-mgw.service b/contrib/systemd/osmo-mgw.service
index 5798491..13c8515 100644
--- a/contrib/systemd/osmo-mgw.service
+++ b/contrib/systemd/osmo-mgw.service
@@ -8,6 +8,11 @@
Restart=always
ExecStart=/usr/bin/osmo-mgw -s -c /etc/osmocom/osmo-mgw.cfg
RestartSec=2
+# CPU scheduling policy:
+CPUSchedulingPolicy=rr
+# For real-time scheduling policies an integer between 1 (lowest priority) and 99 (highest priority):
+CPUSchedulingPriority=1
+# See sched(7) for further details on real-time policies and priorities
[Install]
WantedBy=multi-user.target
--
To view, visit https://gerrit.osmocom.org/c/osmo-mgw/+/30041
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: Ib1705a164b04b876f129a17c4e8353b9ddcc538e
Gerrit-Change-Number: 30041
Gerrit-PatchSet: 5
Gerrit-Owner: msuraev <msuraev(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: msuraev <msuraev(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged
Attention is currently required from: pespin, fixeria.
msuraev has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-mgw/+/30041 )
Change subject: Add realtime scheduling and set priority in service file
......................................................................
Patch Set 4:
(1 comment)
File contrib/systemd/osmo-mgw.service:
https://gerrit.osmocom.org/c/osmo-mgw/+/30041/comment/ab602eab_91aad59e
PS2, Line 13: 1 (lowest priority
> I think it's fine to have the "lowest realtime priority". […]
Yepp, higher than any other non-realtime process.
--
To view, visit https://gerrit.osmocom.org/c/osmo-mgw/+/30041
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-mgw
Gerrit-Branch: master
Gerrit-Change-Id: Ib1705a164b04b876f129a17c4e8353b9ddcc538e
Gerrit-Change-Number: 30041
Gerrit-PatchSet: 4
Gerrit-Owner: msuraev <msuraev(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Comment-Date: Mon, 14 Nov 2022 10:51:59 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Comment-In-Reply-To: fixeria <vyanitskiy(a)sysmocom.de>
Comment-In-Reply-To: msuraev <msuraev(a)sysmocom.de>
Gerrit-MessageType: comment
Attention is currently required from: neels.
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-msc/+/30112 )
Change subject: rtp_stream_commit: check missing MGW ep only when ready for RTP
......................................................................
Patch Set 1:
(1 comment)
Patchset:
PS1:
What's the benefit of this patch? I lack some rationale.
--
To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/30112
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: I24a81a926b97c9f0fb31df782d1cf931eaff9db1
Gerrit-Change-Number: 30112
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Comment-Date: Mon, 14 Nov 2022 10:51:32 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
osmith has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-iuh/+/30088 )
Change subject: asn1tostruct: fix defines getting redefined
......................................................................
Patch Set 3:
This change is ready for review.
--
To view, visit https://gerrit.osmocom.org/c/osmo-iuh/+/30088
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-iuh
Gerrit-Branch: master
Gerrit-Change-Id: I2ecae6789899952d1dc5691ab76907abeaa71c12
Gerrit-Change-Number: 30088
Gerrit-PatchSet: 3
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Comment-Date: Mon, 14 Nov 2022 10:49:15 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: neels.
pespin has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-msc/+/30111 )
Change subject: fix sdp_msg_to_sdp_str(), never add fmtp for unset codec
......................................................................
Patch Set 1:
(1 comment)
File src/libmsc/sdp_msg.c:
https://gerrit.osmocom.org/c/osmo-msc/+/30111/comment/3f3ba062_f4b67149
PS1, Line 271: if (!sdp_audio_codec_is_set(codec))
Isn't sdp_audio_codec_is_set() implemented by checking codec->subtype_name[0] like before? what's changing in this patch? I'm missing something?
--
To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/30111
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: I1892efd9360585f98419ebbd0df180f7f3a8160d
Gerrit-Change-Number: 30111
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: neels <nhofmeyr(a)sysmocom.de>
Gerrit-Comment-Date: Mon, 14 Nov 2022 10:49:14 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: osmith.
Hello Jenkins Builder, laforge,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/osmo-iuh/+/30081
to look at the new patch set (#3).
Change subject: asn1: fix visibility warnings from generated code
......................................................................
asn1: fix visibility warnings from generated code
Fix warnings from generated asn1 code in order to build osmo-iuh with
werror in a future patch:
../../include/osmocom/hnbap/HNBAP_CriticalityDiagnostics-IE-List.h:29:23: error: ‘struct HNBAP_CriticalityDiagnostics_IE_List__Member’ declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
These visibility warnings come from "SEQUENCE … OF SEQUENCE" definitions
in the asn1 source files, as described in detail here:
https://github.com/vlm/asn1c/issues/430
It is not possible to tell gcc to just ignore these warnings since they
don't have their own type (unlike e.g. -Wuninitialized). Also it seems
like a huge effort to patch this in asn1c.
So work around the problem the same way the author of the issue worked
around it by rewriting the lines to "SEQUENCE … OF …-Value" and adding
a "…-Value ::= SEQUENCE" line below. Add a script in
asn1/utils/asn1_restructure_sequence_of_sequence.py for the
transformation and apply it.
Related: OS#4462
Change-Id: If84445ed2e0df604b581684dcf83f8520b7da84c
---
M asn1/hnbap/HNBAP-IEs.asn
M asn1/ranap/RANAP-IEs.asn
M asn1/ranap/RANAP-PDU-Contents.asn
M asn1/ranap/RANAP-PDU.asn
M asn1/rua/RUA-IEs.asn
M asn1/sabp/SABP-IEs.asn
A asn1/utils/asn1_restructure_sequence_of_sequence.py
A include/osmocom/hnbap/HNBAP_CriticalityDiagnostics-IE-List-Value.h
M include/osmocom/hnbap/HNBAP_CriticalityDiagnostics-IE-List.h
M include/osmocom/hnbap/Makefile.am
M include/osmocom/ranap/Makefile.am
A include/osmocom/ranap/RANAP_AuthorisedPLMNs-Value.h
M include/osmocom/ranap/RANAP_AuthorisedPLMNs.h
A include/osmocom/ranap/RANAP_CriticalityDiagnostics-IE-List-Value.h
M include/osmocom/ranap/RANAP_CriticalityDiagnostics-IE-List.h
A include/osmocom/ranap/RANAP_DataVolumeList-Value.h
M include/osmocom/ranap/RANAP_DataVolumeList.h
A include/osmocom/ranap/RANAP_EUTRANFrequencies-Value.h
M include/osmocom/ranap/RANAP_EUTRANFrequencies.h
A include/osmocom/ranap/RANAP_GA-Polygon-Value.h
M include/osmocom/ranap/RANAP_GA-Polygon.h
A include/osmocom/ranap/RANAP_JoinedMBMSBearerService-IEs-Value.h
M include/osmocom/ranap/RANAP_JoinedMBMSBearerService-IEs.h
A include/osmocom/ranap/RANAP_LA-LIST-Value.h
M include/osmocom/ranap/RANAP_LA-LIST.h
A include/osmocom/ranap/RANAP_LeftMBMSBearerService-IEs-Value.h
M include/osmocom/ranap/RANAP_LeftMBMSBearerService-IEs.h
A include/osmocom/ranap/RANAP_MessageStructure-Value.h
M include/osmocom/ranap/RANAP_MessageStructure.h
A include/osmocom/ranap/RANAP_PLMNs-in-shared-network-Value.h
M include/osmocom/ranap/RANAP_PLMNs-in-shared-network.h
A include/osmocom/ranap/RANAP_RABDataVolumeReport-Value.h
M include/osmocom/ranap/RANAP_RABDataVolumeReport.h
A include/osmocom/ranap/RANAP_RABParametersList-Value.h
M include/osmocom/ranap/RANAP_RABParametersList.h
A include/osmocom/ranap/RANAP_UnsuccessfulLinking-IEs-Value.h
M include/osmocom/ranap/RANAP_UnsuccessfulLinking-IEs.h
M include/osmocom/rua/Makefile.am
A include/osmocom/rua/RUA_CriticalityDiagnostics-IE-List-Value.h
M include/osmocom/rua/RUA_CriticalityDiagnostics-IE-List.h
M include/osmocom/sabp/Makefile.am
A include/osmocom/sabp/SABP_CriticalityDiagnostics-IE-List-Value.h
M include/osmocom/sabp/SABP_CriticalityDiagnostics-IE-List.h
A include/osmocom/sabp/SABP_MessageStructure-Value.h
M include/osmocom/sabp/SABP_MessageStructure.h
A src/hnbap/HNBAP_CriticalityDiagnostics-IE-List-Value.c
M src/hnbap/HNBAP_CriticalityDiagnostics-IE-List.c
M src/hnbap/Makefile.am
M src/ranap/Makefile.am
A src/ranap/RANAP_AuthorisedPLMNs-Value.c
M src/ranap/RANAP_AuthorisedPLMNs.c
A src/ranap/RANAP_CriticalityDiagnostics-IE-List-Value.c
M src/ranap/RANAP_CriticalityDiagnostics-IE-List.c
A src/ranap/RANAP_DataVolumeList-Value.c
M src/ranap/RANAP_DataVolumeList.c
A src/ranap/RANAP_EUTRANFrequencies-Value.c
M src/ranap/RANAP_EUTRANFrequencies.c
A src/ranap/RANAP_GA-Polygon-Value.c
M src/ranap/RANAP_GA-Polygon.c
A src/ranap/RANAP_JoinedMBMSBearerService-IEs-Value.c
M src/ranap/RANAP_JoinedMBMSBearerService-IEs.c
A src/ranap/RANAP_LA-LIST-Value.c
M src/ranap/RANAP_LA-LIST.c
A src/ranap/RANAP_LeftMBMSBearerService-IEs-Value.c
M src/ranap/RANAP_LeftMBMSBearerService-IEs.c
A src/ranap/RANAP_MessageStructure-Value.c
M src/ranap/RANAP_MessageStructure.c
A src/ranap/RANAP_PLMNs-in-shared-network-Value.c
M src/ranap/RANAP_PLMNs-in-shared-network.c
A src/ranap/RANAP_RABDataVolumeReport-Value.c
M src/ranap/RANAP_RABDataVolumeReport.c
A src/ranap/RANAP_RABParametersList-Value.c
M src/ranap/RANAP_RABParametersList.c
A src/ranap/RANAP_UnsuccessfulLinking-IEs-Value.c
M src/ranap/RANAP_UnsuccessfulLinking-IEs.c
M src/rua/Makefile.am
A src/rua/RUA_CriticalityDiagnostics-IE-List-Value.c
M src/rua/RUA_CriticalityDiagnostics-IE-List.c
M src/sabp/Makefile.am
A src/sabp/SABP_CriticalityDiagnostics-IE-List-Value.c
M src/sabp/SABP_CriticalityDiagnostics-IE-List.c
A src/sabp/SABP_MessageStructure-Value.c
M src/sabp/SABP_MessageStructure.c
83 files changed, 2,504 insertions(+), 1,695 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-iuh refs/changes/81/30081/3
--
To view, visit https://gerrit.osmocom.org/c/osmo-iuh/+/30081
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-iuh
Gerrit-Branch: master
Gerrit-Change-Id: If84445ed2e0df604b581684dcf83f8520b7da84c
Gerrit-Change-Number: 30081
Gerrit-PatchSet: 3
Gerrit-Owner: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-CC: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: osmith <osmith(a)sysmocom.de>
Gerrit-MessageType: newpatchset