From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id C400343BBA; Thu, 7 Mar 2024 13:10:06 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A7F6E4067E; Thu, 7 Mar 2024 13:10:06 +0100 (CET) Received: from mail-yw1-f180.google.com (mail-yw1-f180.google.com [209.85.128.180]) by mails.dpdk.org (Postfix) with ESMTP id EAC2640272 for ; Thu, 7 Mar 2024 13:10:04 +0100 (CET) Received: by mail-yw1-f180.google.com with SMTP id 00721157ae682-609eb87a9e3so6239777b3.0 for ; Thu, 07 Mar 2024 04:10:04 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709813403; x=1710418203; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=+3gbSxo9uRmMh13ZG0UDkwHhN2kBOhrgsb4MQNCMM/8=; b=sy4g2sTy6DFHpocIfq3BzWS3RVh+PyBoMWtgHlcIfWSMg9SlibEDazoOvXH6gyQmz7 S37i8ECTLAl2lV2tRI20Z70f/xxh+lbcAmQ+b4bggmRk9uCWn0DRQ984APr9HEEOpFKJ jzTP89FpmnjoYFy9Kh8jeyfbPBopGIp2T4DfBK9wddSx+7bZ70V9pKGcPUmkiitCmHbX dMZJaqhcq7X8qd67WI1+pyzi4RvhCFTHN0Ma0btnngeFgnyq/wBYTKr+H7psPqEe9VMm ipLfM18aPOCIAOU24XZGXWfWZ+o0UsLiRRPHdatZzVIt9/LwrT8haJvz0FMHx9rs/EbL 79zw== X-Gm-Message-State: AOJu0YxLDN1C+FwyqCLSgMTqNLo9h55tNwmSvPrgLb0nu0r6+GqeuLKt RCDBlFhNkIcNEOEIJbueZB8/bdeSEnf/I3Rhcx2mUuT4Q9JRGGq/ixHkQC7yxSsEDw== X-Google-Smtp-Source: AGHT+IEg5BVAFE7N1PyEuQbgm1s98dwj8OHJzwGA9vyKNHIR5kdfVCVZZMPJSvznu2Yj6ayL/UmMug== X-Received: by 2002:a0d:d5d0:0:b0:609:7699:dc63 with SMTP id x199-20020a0dd5d0000000b006097699dc63mr686364ywd.9.1709813403310; Thu, 07 Mar 2024 04:10:03 -0800 (PST) Received: from mail-yw1-f177.google.com (mail-yw1-f177.google.com. [209.85.128.177]) by smtp.gmail.com with ESMTPSA id w7-20020a81e347000000b00608d58b49f5sm4012168ywl.143.2024.03.07.04.10.02 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 07 Mar 2024 04:10:02 -0800 (PST) Received: by mail-yw1-f177.google.com with SMTP id 00721157ae682-609f4d8551eso2950517b3.1 for ; Thu, 07 Mar 2024 04:10:02 -0800 (PST) X-Received: by 2002:a0d:db0d:0:b0:609:e9db:f885 with SMTP id d13-20020a0ddb0d000000b00609e9dbf885mr607854ywe.25.1709813402596; Thu, 07 Mar 2024 04:10:02 -0800 (PST) MIME-Version: 1.0 References: <20240307113324.845309-1-david.marchand@redhat.com> In-Reply-To: <20240307113324.845309-1-david.marchand@redhat.com> From: Luca Boccassi Date: Thu, 7 Mar 2024 12:09:51 +0000 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] test/lcores: reduce cpu consumption To: David Marchand Cc: dev@dpdk.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 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 with no validation, except that it runs fine > on my laptop. > Luca, can you check and see if it helps in your CI? I hit problems in the actual build system, rather than in a CI, so I don't have a way to test it before doing a new release. That said, the change looks good to me in principle and we can certainly try it, thanks. Acked-by: Luca Boccassi