[PATCH] test/lcores: reduce cpu consumption
Stephen Hemminger
stephen at networkplumber.org
Thu Mar 7 17:54:25 CET 2024
On Thu, 7 Mar 2024 12:33:24 +0100
David Marchand <david.marchand at redhat.com> wrote:
> Busy looping on RTE_MAX_LCORES threads is too heavy in some CI
> environments running the fast-test testsuite.
> Ask for a reschedule at the threads synchronisation points.
>
> Signed-off-by: David Marchand <david.marchand at redhat.com>
You could use rte_pause here but full yield is better for test cases.
Acked-by: Stephen Hemminger <stephen at networkplumber.org>
More information about the dev
mailing list