On Thu, May 26, 2022 at 08:21:27AM -0700, Stephen Hemminger wrote:
>
> Thanks for clarifying.
> Is there any analog for SCHED_DEADLINE worth considering?
i hadn't considered it. for now i probably won't since this patch is
just a blocker for getting the thread lifetime series up. which is
higher
On Wed, 25 May 2022 23:29:57 -0700
Tyler Retzlaff wrote:
> On Tue, May 24, 2022 at 07:51:05AM -0700, Stephen Hemminger wrote:
> > On Tue, 24 May 2022 04:08:36 -0700
> > Tyler Retzlaff wrote:
> >
> > > +static int
> > > +thread_map_priority_to_os_value(enum rte_thread_priority eal_pri,
> > > +
On Tue, May 24, 2022 at 07:51:05AM -0700, Stephen Hemminger wrote:
> On Tue, 24 May 2022 04:08:36 -0700
> Tyler Retzlaff wrote:
>
> > +static int
> > +thread_map_priority_to_os_value(enum rte_thread_priority eal_pri,
> > + int *os_pri, int *pol)
> > +{
> > + /* Clear the output parame
On Tue, 24 May 2022 04:08:36 -0700
Tyler Retzlaff wrote:
> +static int
> +thread_map_priority_to_os_value(enum rte_thread_priority eal_pri,
> + int *os_pri, int *pol)
> +{
> + /* Clear the output parameters */
> + *os_pri = sched_get_priority_min(SCHED_OTHER) - 1;
> + *pol
Add functions for setting and getting the priority of a thread.
Priorities on multiple platforms are similarly determined by a priority
value and a priority class/policy.
Currently in DPDK most threads operate at the OS-default priority level
but there are cases when increasing the priority is use
5 matches
Mail list logo