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 63F0146A5A for ; Thu, 26 Jun 2025 17:01:25 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4EB054060A; Thu, 26 Jun 2025 17:01:25 +0200 (CEST) Received: from mail-qk1-f182.google.com (mail-qk1-f182.google.com [209.85.222.182]) by mails.dpdk.org (Postfix) with ESMTP id 887FE4021F for ; Thu, 26 Jun 2025 17:01:22 +0200 (CEST) Received: by mail-qk1-f182.google.com with SMTP id af79cd13be357-7d40874b399so105530285a.2 for ; Thu, 26 Jun 2025 08:01:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1750950082; x=1751554882; 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=19HjYfJBaOhNAMDTceJ8g1sfUfTf3LrXkS0xyc9O2Bs=; b=W8ZO6wCEyg3scVkgPgEfPu4zOBqRGUUpC53nNu0l8EYPb4up8ufqVY1CRGNn1GMEbA q3il01Q5iPEJI9nmKbegL0Ug614DtGElRjlYXStgVqbbb2XNIO47YVbGNOxwRypd6NiB 00wtC0sYHxyW/+V+3iLTbJQCTHOwwLv4wz9NpgXYmG6F2HW2gk/6iRkO8tCgLFMJpKMi OprAIgsq4Ory4mfPUwi7w32Em1j6E2sy4T5DEuQGjzM4/VrMMt19ztcmv8dcq0ZJv0U2 KT9UuOOvmE+kirYYThjnpckP417qW4wWxWgrnF5fxWt3Qi4/Zh5DI3J5g+IhXNtF3ylo cryA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1750950082; x=1751554882; 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=19HjYfJBaOhNAMDTceJ8g1sfUfTf3LrXkS0xyc9O2Bs=; b=K81n567TI8szpS3VNT/Xfb6dl/pmTcRC/FBgwco8yPNYVhGJ0NWLtuRZfSnmQ7dnyw M9pgdFrT3quKifzDRcDaumvnbcDL/uYepkKX5H8mV8NVtsUvXQutXUV8GdPE6UZ7jA8p gIh6n2yC69STflx8Z2/z9qJ0uGUYYHCrymaBpv8bzEUYmI/P+MSc5TthhL4vBRK9ogtr E/iXDzN0W5n4MrZHyq2rfCe0ledoVmynvaz23nn5XJ2SrKo0vdWw+NP/DQ9f0bgkNGuI eNXNNbFnK0lsZnZyVG5HV2mgT1HRYpNj16CSw6to5+BpjlyyRgD0KjN2lX/sVW1J+TLP RRRg== X-Forwarded-Encrypted: i=1; AJvYcCVj76SOQBkyMt93buCb2LCq4ApmmqtBCEAij0YhoqWbVS9n8tNcrUwWiT2lZgPMVzngyvDnl4I=@dpdk.org X-Gm-Message-State: AOJu0Yx+HXpBiIfTwbl0We42/z9D0UlxbciXosFe/wZkLSoQZY7eVkIf TN0Yw2hZD57s+WCmRgDzO9ZMzFhXS+BLcXTTs0IZ5Z4Rb7yDjyOIAdbTd0f88++4f5Y= X-Gm-Gg: ASbGncte2MwL9NX6AhcGMr5M3fhf0wGISqdgqceH4dNrhVuK2B4Mdg5lwhmkkOTeR36 LSRTGWc+oZbSVnZzX8UGykwNK+7ftNMY5TeX0ax4pX0GWFNJ0nxbkRfGlGQiTQcNoeE8U5RuzGH CQrY8q+NxcU0h5CCdUB8YzZ/ng5tSIj00LIfJW7A5YRMgV7wy4N/4G89qquQAEH6A7jYyNm7Hpf 5mFBOMYP6zqaO/pglt7lzFAp07qy/k07GFEV0pBtsry/jN74ItQBqrzF1RGINSCCimrRB6bNjaf XDdcfeDd4oAlm8SdL+vhgDHP83vOeig9hibq3i6/V1xXern6J+VpS7U0SHJeZ0qf7axfCU3IyoC Zg94wJmCzDvQxwdKgZu5nPZtWMv7D1C02VvnZbWDyERXdvXAOvg== X-Google-Smtp-Source: AGHT+IEiADTs3xQW9urREUByLeyrcmdV8ZL7UADjYFXPB2PRNJABbzvpNqp5KcsNTlLqxNGLBbwuVw== X-Received: by 2002:a05:620a:2a15:b0:7d0:96e8:478d with SMTP id af79cd13be357-7d42977c947mr878194085a.39.1750950080827; Thu, 26 Jun 2025 08:01:20 -0700 (PDT) Received: from hermes.local (204-195-96-226.wavecable.com. [204.195.96.226]) by smtp.gmail.com with ESMTPSA id af79cd13be357-7d44317c843sm11003685a.42.2025.06.26.08.01.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Jun 2025 08:01:20 -0700 (PDT) Date: Thu, 26 Jun 2025 08:01:17 -0700 From: Stephen Hemminger To: "Varghese, Vipin" Cc: "dev@dpdk.org" , David Marchand , "stable@dpdk.org" Subject: Re: [PATCH v3 1/2] latencystats: fix receive sample MP issues Message-ID: <20250626080117.24bb3cc7@hermes.local> In-Reply-To: References: <20250613003547.39239-1-stephen@networkplumber.org> <20250617150252.814215-1-stephen@networkplumber.org> <20250617150252.814215-2-stephen@networkplumber.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org On Wed, 25 Jun 2025 11:31:43 +0000 "Varghese, Vipin" wrote: > Following are our understanding > > 1. increase in multi-queue latency is attributed by spinlock. > 2. the lower latency with patch for multi-queue is because the lowest of all queues are taken into account. > > Question: will there be per queue min, max, avg stats be enhanced in future? > > Tested-by: Thiyagarajan P > Reviewed-by: Vipin Varghese It would make sense for the latencystats to be per-port/per-queue and avoid the locking, but it would be a significant API change. If you actually use this then would be good to make it better.