Attention is currently required from: Hoernchen, fixeria, laforge, pespin.

jolly has posted comments on this change. ( 
https://gerrit.osmocom.org/c/libosmocore/+/35672?usp=email )

Change subject: Prevent poll() in select.c to timeout too early
......................................................................


Patch Set 1:

(1 comment)

Patchset:

PS1:
> rounding up should be fine, but tbh, I can't quite see the actual real world 
> issue here - it would r […]
I have no idea how the scheduler works, but if a process is not running (during 
poll()), I guess the CPU thread will be directly switched to another process 
that is running (due to an event). I have an application that uses timer to 
schedule RTP stream at a rate of 50 frames per second. This is 20 ms delay 
between frames. Without this patch, the CPU usage at "top" command shows around 
5% CPU usage, with a patch (round up or change from 0 to 1) it shows below 1% 
CPU usage.



--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/35672?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I79de77c79af4d50d1eb9ca0c5417123ff760dca3
Gerrit-Change-Number: 35672
Gerrit-PatchSet: 1
Gerrit-Owner: jolly <andr...@eversberg.eu>
Gerrit-Reviewer: Hoernchen <ew...@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <lafo...@osmocom.org>
Gerrit-Reviewer: pespin <pes...@sysmocom.de>
Gerrit-CC: fixeria <vyanits...@sysmocom.de>
Gerrit-Attention: Hoernchen <ew...@sysmocom.de>
Gerrit-Attention: laforge <lafo...@osmocom.org>
Gerrit-Attention: pespin <pes...@sysmocom.de>
Gerrit-Attention: fixeria <vyanits...@sysmocom.de>
Gerrit-Comment-Date: Thu, 25 Jan 2024 18:31:19 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Hoernchen <ew...@sysmocom.de>
Gerrit-MessageType: comment

Reply via email to