DPDK patches and discussions
 help / color / mirror / Atom feed
* Thread priority for background tasks
@ 2025-04-30 18:40 Morten Brørup
  2025-04-30 19:45 ` Stephen Hemminger
  0 siblings, 1 reply; 2+ messages in thread
From: Morten Brørup @ 2025-04-30 18:40 UTC (permalink / raw)
  To: dev

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 preempted by any work ready for my ordinary control threads.

Which DPDK API am I supposed to use to assign this below-normal priority to my "background" control thread?

Or: Aren't we missing a priority like Linux' SCHED_BATCH?


Med venlig hilsen / Kind regards,
-Morten Brørup


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-04-30 19:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-04-30 18:40 Thread priority for background tasks Morten Brørup
2025-04-30 19:45 ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).