[Interest] Thread-To-CPU-Core distribution

coroberti coroberti at gmail.com
Thu Dec 29 11:59:28 CET 2022


On Thu, Dec 29, 2022 at 1:45 AM Alexander Carôt <alexander_carot at gmx.net> wrote:
>
> Hej Konrad,
>
> >>I can't hold back my curiosity, so I've got to ask: why? Why would you
> >>do that? Why do you assume you know better than the operating system?
>
> I totally understand the question and agree to anything else you state in your email below, however, I am dealing with a non-standard use case with comparably tough delay restrictions. I do it for R&D reasons related to remote music performances and the project where this works has been going into:
>
> https://www.soundjack.eu/
> https://www.soundjack.eu/publications/
>
> In this domain we are constantly seeking opportunities to improve audio/video low(est)-latency on x-platform standard hardware.
>
> Especially on cheaper hardware such as the Raspi thread distribution was a benefit in that regard especially when processing audio with 32 samples/block and probably less but I need to compare and evaluate it more intensively now.

Additionally, to decrease the jitter and get more attention to your threads,
you may try running as a root and switch to SCHED_FIFO priority and
assign high priority there.

https://github.com/ianohara/linux-rt-examples/blob/master/src/schedulerTest.c

Kind regards,
Robert Iakobashvili
 ............................


More information about the Interest mailing list