Attention is currently required from: Hoernchen, fixeria, laforge, pespin.
View Change
1 comment:
Patchset:
Patch Set #1:
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 change 35672. To unsubscribe, or for help writing mail filters, visit settings.
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I79de77c79af4d50d1eb9ca0c5417123ff760dca3
Gerrit-Change-Number: 35672
Gerrit-PatchSet: 1
Gerrit-Owner: jolly <andreas@eversberg.eu>
Gerrit-Reviewer: Hoernchen <ewild@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge@osmocom.org>
Gerrit-Reviewer: pespin <pespin@sysmocom.de>
Gerrit-CC: fixeria <vyanitskiy@sysmocom.de>
Gerrit-Attention: Hoernchen <ewild@sysmocom.de>
Gerrit-Attention: laforge <laforge@osmocom.org>
Gerrit-Attention: pespin <pespin@sysmocom.de>
Gerrit-Attention: fixeria <vyanitskiy@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 <ewild@sysmocom.de>
Gerrit-MessageType: comment