From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 320C843C0C;
	Thu,  7 Mar 2024 17:54:30 +0100 (CET)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 203AC42C24;
	Thu,  7 Mar 2024 17:54:30 +0100 (CET)
Received: from mail-pj1-f44.google.com (mail-pj1-f44.google.com
 [209.85.216.44]) by mails.dpdk.org (Postfix) with ESMTP id 102D840272
 for <dev@dpdk.org>; Thu,  7 Mar 2024 17:54:29 +0100 (CET)
Received: by mail-pj1-f44.google.com with SMTP id
 98e67ed59e1d1-299dba8fd24so779705a91.2
 for <dev@dpdk.org>; Thu, 07 Mar 2024 08:54:28 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1709830468;
 x=1710435268; darn=dpdk.org; 
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:subject:cc:to:from:date:from:to:cc:subject:date
 :message-id:reply-to;
 bh=7RPjUgzoR6tk/+RwViWtW1FdH2mCDrnqBLmayEyxbr8=;
 b=cgS7KKrn2k01+26q292oD0baEP66sBsGbFMJjork/Xf3KSMkYNaTf0Bteym5rNuZTl
 QAcHhPHrlUymZC61zCElDA1MsckPFFvZDSnM1DPO2sT8KXw/r5nRhpmSz5Weeb3uCpTo
 u21SQqY4SP/fsqm+z1+MaYZb7DF2QHHhXf3hmN6mghM4DWAr+TvWvmz12DtKJ1Lj2YP7
 LrwVDkHkr187mJ1fZUbysgluwlQL9JImLJIwLfKWSZ12lC1dvNG3XyUEJWwAfkl5EaQG
 FDKQe8InnGSz668bLJ7dCulaZjEmCM6wVpW8BPUV+scicBzLK88rxKGKrzz+V9Pd2RMw
 emuw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1709830468; x=1710435268;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=7RPjUgzoR6tk/+RwViWtW1FdH2mCDrnqBLmayEyxbr8=;
 b=agsiDf60LcMyIp4Dh+FB7nKOiQDoAzZda7YtQj6hH/wtAFpZk+fHZBRNWj6bQ8K65z
 WcFL7O3VKsxrj6qZR1CLDtbLYZX8lr5KXwSMTGOdOy6xuS/2kTuQXhSAxf4BOfU8YW03
 QoDHwwf/2W2NrQlJep6I2SSomYdBLLGgnlQJNYWqvz4y4gLP4pL2u/G5ifAJcVMw/RHJ
 EQ6bXGUX9X5/WLl6d+UuxW/GKy02cowcWTXPa+iC4x0lstETzQxcGdvLlQp4ObWV+jhU
 MRWa14gySWY4Fln03bkFrR2JRFXpscvmN6g24plHCQG7OQHrl9+NwDi/JyUpr0s04XTN
 ja7w==
X-Gm-Message-State: AOJu0Yx7PvFpUEGFUeZOs+kohAO4w8m1hUBvNDYtxAiBDNQe2r4uSUQb
 eqPvAZYC1UEIPDcoU4eZ5bk0gpeehUEGbVjeAa59VTMBvbDlPYTVJZjqmM32XFI=
X-Google-Smtp-Source: AGHT+IEZDQK1zEb2HzDaXfhjf23n7Md8U9ELHUPjJ3GzP5gEL8ORRefnFj0L/U4ZuDKy6mhwG9wa8w==
X-Received: by 2002:a17:90a:a8f:b0:299:7b37:9221 with SMTP id
 15-20020a17090a0a8f00b002997b379221mr14873209pjw.12.1709830468184; 
 Thu, 07 Mar 2024 08:54:28 -0800 (PST)
Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141])
 by smtp.gmail.com with ESMTPSA id
 h24-20020a17090adb9800b0029a849e7268sm1769987pjv.28.2024.03.07.08.54.27
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 07 Mar 2024 08:54:27 -0800 (PST)
Date: Thu, 7 Mar 2024 08:54:25 -0800
From: Stephen Hemminger <stephen@networkplumber.org>
To: David Marchand <david.marchand@redhat.com>
Cc: dev@dpdk.org, bluca@debian.org
Subject: Re: [PATCH] test/lcores: reduce cpu consumption
Message-ID: <20240307085425.1feda85c@hermes.local>
In-Reply-To: <20240307113324.845309-1-david.marchand@redhat.com>
References: <20240307113324.845309-1-david.marchand@redhat.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org

On Thu,  7 Mar 2024 12:33:24 +0100
David Marchand <david.marchand@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@redhat.com>

You could use rte_pause here but full yield is better for test cases.

Acked-by: Stephen Hemminger <stephen@networkplumber.org>