[PATCH v2] test/lcores: reduce cpu consumption
Tyler Retzlaff
roretzla at linux.microsoft.com
Thu Mar 7 19:36:49 CET 2024
On Thu, Mar 07, 2024 at 07:06:26PM +0100, David Marchand wrote:
> On Thu, Mar 7, 2024 at 3:16 PM David Marchand <david.marchand at redhat.com> wrote:
> >
> > Busy looping on RTE_MAX_LCORES threads is too heavy in some CI or build
> > systems running the fast-test testsuite.
> > Ask for a reschedule at the threads synchronisation points.
> >
> > Signed-off-by: David Marchand <david.marchand at redhat.com>
> > Acked-by: Luca Boccassi <bluca at debian.org>
>
> Ideally, this test should be rewritten with some kind of OS-agnostic
> synchronisation/scheduling API (mutex?).
> But I think it will be enough for now.
It's okay, I'll eventually get to this :)
>
> I updated the code comment as requested by Stephen.
>
> Applied, thanks.
>
> --
> David Marchand
More information about the dev
mailing list