Re: [PATCH v6 1/1] eal/unix: allow creating thread with real-time priority

2024-10-07 Thread Stephen Hemminger
On Fri, 27 Oct 2023 10:08:52 +0200 Thomas Monjalon wrote: > When adding an API for creating threads, > the real-time priority has been forbidden on Unix. > > There is a known issue with ring behaviour, > but it should not be completely forbidden. > > Real-time thread can block some kernel threa

Re: [PATCH v6 1/1] eal/unix: allow creating thread with real-time priority

2023-10-27 Thread Stephen Hemminger
On Fri, 27 Oct 2023 10:45:03 +0200 Morten Brørup wrote: > Is it 100 % certain that the system becomes unstable if not sleeping or using > blocking system calls from a real-time thread? > And technically, it's not the thread itself that becomes unstable. My experience is that the goal of real ti

Re: [PATCH v6 1/1] eal/unix: allow creating thread with real-time priority

2023-10-27 Thread Thomas Monjalon
27/10/2023 10:45, Morten Brørup: > > From: Thomas Monjalon [mailto:tho...@monjalon.net] > > Sent: Friday, 27 October 2023 10.09 > > > > When adding an API for creating threads, > > the real-time priority has been forbidden on Unix. > > > > There is a known issue with ring behaviour, > > but it sh

RE: [PATCH v6 1/1] eal/unix: allow creating thread with real-time priority

2023-10-27 Thread Morten Brørup
> From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Friday, 27 October 2023 10.09 > > When adding an API for creating threads, > the real-time priority has been forbidden on Unix. > > There is a known issue with ring behaviour, > but it should not be completely forbidden. > > Real-time

[PATCH v6 1/1] eal/unix: allow creating thread with real-time priority

2023-10-27 Thread Thomas Monjalon
When adding an API for creating threads, the real-time priority has been forbidden on Unix. There is a known issue with ring behaviour, but it should not be completely forbidden. Real-time thread can block some kernel threads on the same core, making the system unstable. That's why a sleep is add