- Jun 03, 2024
-
-
Robert Schmidt authored
SYS_NICE is a capability that allows a process to set thread affinity and priority, among other things (see capabilities(7) for more info). In this commit, add a function that allows to determine if the process has this capability, and try to change the thread affinity and priority, if requested. If the capability does not exist, the function will simply not attempt to change the corresponding thread attributes. To determine if the process has SYS_NICE, libcap can be used. However, it might not be installed by default. To avoid requiring another dependency, if we detect that libcap is not present, use a workaround by try to set a real-time scheduling policy; if it's present, or can be changed, we assume that the process has SYS_NICE (and clean up, if relevant). Simplify reading of capabilities
-
Robert Schmidt authored
set_latency_target() attempts to set keep "low latency" by - writing a specific latency to /dev/cpu_dma_latency - setting manually the minimum CPU processor frequency to be the maximum There is no functionality to undo this after stopping the softmodem(s), and most users are probably not even aware that OAI does this. It is generally preferable to set this beforehand using a governor or by disabling sleep states (as outlined in the tutorial, and in a follow-up commit in the performance tuning docs). The previous mlockall() call, to lock memory to RAM, is retained in a new function. There were additional mlockall() calls, which have been replaced with lock_memory_to_ram(), where necessary.
-
Robert Schmidt authored
It's completely unclear what this is supposed to do.
-
- Jan 23, 2024
-
-
Robert Schmidt authored
-
Robert Schmidt authored
-
- Mar 12, 2023
-
-
knopp authored
-
- Jan 12, 2023
-
-
- Oct 14, 2022
-
-
Robert Schmidt authored
-
- Aug 16, 2022
-
-
Robert Schmidt authored
A detached thread cannot be joined with pthread_join(). However, this is crucial for correct resetting of the nr-softmodem. Therefore, do not create threads in detached state.
-
- Mar 31, 2022
-
-
Raphael Defosseux authored
Signed-off-by:
Raphael Defosseux <raphael.defosseux@eurecom.fr>
-
- Jan 13, 2022
-
-
Thomas Laurent authored
-
- Jan 10, 2022
-
-
Thomas Laurent authored
-
- Dec 17, 2021
-
-
Thomas Laurent authored
-
- Dec 10, 2021
-
-
Eurecom authored
-
- Sep 21, 2021
-
-
Thomas Laurent authored
-
- Sep 13, 2021
-
-
Thomas Laurent authored
-
- Sep 09, 2021
-
-
Laurent Thomas authored
-
- Sep 03, 2021
-
-
Raphael Defosseux authored
Signed-off-by:
Raphael Defosseux <raphael.defosseux@eurecom.fr>
-
- Aug 31, 2021
-
-
Thomas Laurent authored
-
Thomas Laurent authored
-
- Jul 02, 2021
-
-
Abhijith Atreya authored
-
- Jun 14, 2021
-
-
Raphael Defosseux authored
This work is based on feedback from Thomas Schlichter. His comments and suggestions were made just after the original MR was merged. Signed-off-by:
Raphael Defosseux <raphael.defosseux@eurecom.fr>
-
- Jun 09, 2021
-
-
Roberto Louro Magueta authored
-
- May 26, 2021
-
-
Raphael Defosseux authored
Signed-off-by:
Raphael Defosseux <raphael.defosseux@eurecom.fr>
-
- May 25, 2021
-
-
Raphael Defosseux authored
It looks like : - when running on a Fedora-host - with generic kernel - in a container - even in privileged mode That is not enough and priority/schedule settings is not allowed. So at runtime, we check and in case, we don't set up priorities. Signed-off-by:
Raphael Defosseux <raphael.defosseux@eurecom.fr>
-
- Apr 13, 2021
-
-
Thomas Laurent authored
-
- Apr 02, 2021
-
-
Thomas Laurent authored
-
- Jun 01, 2020
-
- Mar 06, 2020
-
-
Thomas Laurent authored
-
- Mar 02, 2020
-
-
Thomas Laurent authored
-
- Jan 09, 2020
-
-
Raphael Defosseux authored
Mainly comestics and integer type management Signed-off-by:
Raphael Defosseux <raphael.defosseux@eurecom.fr>
-
- Jul 11, 2019
-
-
Thomas Laurent authored
-
- Jun 18, 2019
-
-
Thomas Laurent authored
-
- May 14, 2019
-
-
Thomas Laurent authored
-
- Apr 30, 2019
-
-
Thomas Laurent authored
-
Thomas Laurent authored
-
- Jan 07, 2019
-
-
Cédric Roux authored
For whatever reason most of the files had their permission changed from 644 to 755, which is not wanted.
-
- Apr 06, 2018
-
-
knopp authored
-
- Apr 05, 2018
-
-
knopp authored
-
- Oct 23, 2017
-
-
Cédric Roux authored
-