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

2023-10-26 Thread Morten Brørup
> From: Stephen Hemminger [mailto:step...@networkplumber.org] > Sent: Thursday, 26 October 2023 18.32 > > On Thu, 26 Oct 2023 09:33:42 +0200 > Morten Brørup wrote: > > > > From: Stephen Hemminger [mailto:step...@networkplumber.org] > > > Sent: Wednesday, 25 October 2023 23.33 > > > > > > On Wed,

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

2023-10-26 Thread Stephen Hemminger
On Thu, 26 Oct 2023 09:33:42 +0200 Morten Brørup wrote: > > From: Stephen Hemminger [mailto:step...@networkplumber.org] > > Sent: Wednesday, 25 October 2023 23.33 > > > > On Wed, 25 Oct 2023 19:54:06 +0200 > > Morten Brørup wrote: > > > > > I agree with Thomas on this. > > > > > > If you wan

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

2023-10-26 Thread Morten Brørup
> From: Stephen Hemminger [mailto:step...@networkplumber.org] > Sent: Wednesday, 25 October 2023 23.33 > > On Wed, 25 Oct 2023 19:54:06 +0200 > Morten Brørup wrote: > > > I agree with Thomas on this. > > > > If you want the log message, please degrade it to INFO or DEBUG level. It is > only rele

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

2023-10-25 Thread Stephen Hemminger
On Wed, 25 Oct 2023 19:54:06 +0200 Morten Brørup wrote: > Someone might build a kernel with options to keep non-dataplane threads off > some dedicated CPU cores, so they can be used for guaranteed low-latency > dataplane threads. We do. We don't use real-time priority, though. > > For referenc

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

2023-10-25 Thread Stephen Hemminger
On Wed, 25 Oct 2023 19:54:06 +0200 Morten Brørup wrote: > I agree with Thomas on this. > > If you want the log message, please degrade it to INFO or DEBUG level. It is > only relevant when chasing problems, not for normal production - and thus > NOTICE is too high. I don't want the message to

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

2023-10-25 Thread Morten Brørup
> From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Wednesday, 25 October 2023 18.46 > > 25/10/2023 17:37, Stephen Hemminger: > > On Wed, 25 Oct 2023 17:13:14 +0200 > > Thomas Monjalon wrote: > > > > > case RTE_THREAD_PRIORITY_REALTIME_CRITICAL: > > > + /* > > > + * WA

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

2023-10-25 Thread Thomas Monjalon
25/10/2023 17:37, Stephen Hemminger: > On Wed, 25 Oct 2023 17:13:14 +0200 > Thomas Monjalon wrote: > > > case RTE_THREAD_PRIORITY_REALTIME_CRITICAL: > > + /* > > +* WARNING: Real-time busy loop takes priority on kernel > > threads, > > +* making the

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

2023-10-25 Thread Stephen Hemminger
On Wed, 25 Oct 2023 17:13:14 +0200 Thomas Monjalon wrote: > case RTE_THREAD_PRIORITY_REALTIME_CRITICAL: > + /* > + * WARNING: Real-time busy loop takes priority on kernel > threads, > + * making the system unstable. > + *