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 5D99DA0547; Tue, 15 Nov 2022 17:29:01 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 47AF240E03; Tue, 15 Nov 2022 17:29:01 +0100 (CET) Received: from smartserver.smartsharesystems.com (smartserver.smartsharesystems.com [77.243.40.215]) by mails.dpdk.org (Postfix) with ESMTP id E2E4140DFD for ; Tue, 15 Nov 2022 17:28:59 +0100 (CET) X-MimeOLE: Produced By Microsoft Exchange V6.5 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] mempool: add object usage counts for the telemetry api Date: Tue, 15 Nov 2022 17:28:57 +0100 Message-ID: <98CBD80474FA8B44BF855DF32C47DC35D874BE@smartserver.smartshare.dk> In-Reply-To: <20221115153555.947526-1-rjarry@redhat.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH] mempool: add object usage counts for the telemetry api Thread-Index: Adj5B/zD+gdDaYw/SY60XfxWytGbmQABr+ow References: <20221115153555.947526-1-rjarry@redhat.com> From: =?iso-8859-1?Q?Morten_Br=F8rup?= To: "Robin Jarry" , 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 +CC mempool maintainers > From: Robin Jarry [mailto:rjarry@redhat.com] > Sent: Tuesday, 15 November 2022 16.36 >=20 > rte_mempool_dump() already returns the number of objects available and > in the cache. This information is missing from the telemetry API. Add > it > albeit with less granularity for cached counts (only report the > total_cache_count). >=20 > Signed-off-by: Robin Jarry > --- Please consider that the individual per-lcore cache lengths could be = informative for some applications too. Anyway, they could be provided in a later patch. Acked-by: Morten Br=F8rup