Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4E1E8D5B164 for ; Tue, 29 Oct 2024 08:54:46 +0000 (UTC) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 65C374014F; Tue, 29 Oct 2024 09:54:45 +0100 (CET) Received: from dkmailrelay1.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id 1FF4040144 for ; Tue, 29 Oct 2024 09:54:44 +0100 (CET) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesys.local [192.168.4.10]) by dkmailrelay1.smartsharesystems.com (Postfix) with ESMTP id C7D912027D; Tue, 29 Oct 2024 09:54:42 +0100 (CET) Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: RE: [PATCH 0/1] net/ena: adding a histogram framework to 2.11.0 Date: Tue, 29 Oct 2024 09:54:42 +0100 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35E9F843@smartserver.smartshare.dk> X-MimeOLE: Produced By Microsoft Exchange V6.5 In-Reply-To: <20241029080215.5069-1-shaibran@amazon.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH 0/1] net/ena: adding a histogram framework to 2.11.0 Thread-Index: Adsp2OWlM+mY9gPmS3mRaScQlFJkOQAAzghg References: <20241029080215.5069-1-shaibran@amazon.com> From: =?iso-8859-1?Q?Morten_Br=F8rup?= To: , Cc: 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 > From: Shai Brandes >=20 > This update is an enhancement to the ENA driver version 2.11.0 = release. > It is a "nice to have" feature for the 24.11 release, should it be > included before the code freeze deadline. >=20 > This addition leverages an internal framework used in our testing > processes, which may offer significant benefits for customers. > It calculates the differences between specified start and end > points in the code, generating a histogram of time intervals > to provide detailed insights into performance. Yes, histograms can be extremely useful. The SmartShare applications use histograms for a variety of purposes, = e.g. function profiling (like yours), number of packets per RX burst, = number of packets per flow, and much more. The distribution index can be linear (like yours), log2, or - for higher = resolution - floating point with 3 or 4 bits mantissa and 5 or more bits = exponent. Please provide generic histograms as a proper library, not tied to a = specific driver, and not specifically using "time" as parameter.