[PATCH v2] test/lcores: reduce cpu consumption
David Marchand
david.marchand at redhat.com
Thu Mar 7 19:06:26 CET 2024
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.
I updated the code comment as requested by Stephen.
Applied, thanks.
--
David Marchand
More information about the dev
mailing list