RE: Thread priority for background tasks

2025-05-01 Thread Morten Brørup
> From: Bruce Richardson [mailto:bruce.richard...@intel.com] > Sent: Thursday, 1 May 2025 09.48 > > On Thu, May 01, 2025 at 09:05:32AM +0200, Morten Brørup wrote: > > > From: Stephen Hemminger [mailto:step...@networkplumber.org] > > > Sent: Wednesday, 30 April 2025 21.45 > > > > > > On Wed, 30 Apr

Re: Thread priority for background tasks

2025-05-01 Thread Bruce Richardson
On Thu, May 01, 2025 at 09:05:32AM +0200, Morten Brørup wrote: > > From: Stephen Hemminger [mailto:step...@networkplumber.org] > > Sent: Wednesday, 30 April 2025 21.45 > > > > On Wed, 30 Apr 2025 20:40:52 +0200 > > Morten Brørup wrote: > > > > > There are only two thread priorities in the enum r

RE: Thread priority for background tasks

2025-05-01 Thread Morten Brørup
> From: Stephen Hemminger [mailto:step...@networkplumber.org] > Sent: Wednesday, 30 April 2025 21.45 > > On Wed, 30 Apr 2025 20:40:52 +0200 > Morten Brørup wrote: > > > There are only two thread priorities in the enum rte_thread_priority: > Normal and Real-time Critical. > > > > I would like to

Re: Thread priority for background tasks

2025-04-30 Thread Stephen Hemminger
On Wed, 30 Apr 2025 20:40:52 +0200 Morten Brørup wrote: > There are only two thread priorities in the enum rte_thread_priority: Normal > and Real-time Critical. > > I would like to poll ethdev counters, collect garbage and perform other > jitter non-sensitive tasks in a control thread with low

Thread priority for background tasks

2025-04-30 Thread Morten Brørup
There are only two thread priorities in the enum rte_thread_priority: Normal and Real-time Critical. I would like to poll ethdev counters, collect garbage and perform other jitter non-sensitive tasks in a control thread with lower priority than my ordinary control threads, so it will be preempt