Re: [PATCH] test/lcores: reduce cpu consumption

2024-03-07 Thread Stephen Hemminger
On Thu, 7 Mar 2024 12:33:24 +0100 David Marchand 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 You could use rte_pause here

Re: [PATCH] test/lcores: reduce cpu consumption

2024-03-07 Thread Luca Boccassi
On Thu, 7 Mar 2024 at 11:33, David Marchand 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 > --- > Note: this is a quick patch

[PATCH] test/lcores: reduce cpu consumption

2024-03-07 Thread David Marchand
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 --- Note: this is a quick patch with no validation, except that it runs fine on my laptop. Luca, c