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 0F6E241BE7; Mon, 6 Feb 2023 09:24:30 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E2B1F42686; Mon, 6 Feb 2023 09:24:29 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 9498D40FAE for ; Mon, 6 Feb 2023 09:24:28 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1675671868; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=CmAK43JPi4R8noMBgqJAtFoDdrRLyI5Q0ZS50P/fr1c=; b=E2ZWcww4LL6h5z3aqiL+rtcD6JtXwTyP6EAv0pS9/2TlCxyLr+bjW/D798d8hA72jmmGew wviAwnPmDfwvsjU5iPWxP5Xl0Ya9xKV0Ko23fALdy7SQ868dtKA7GYVEHKXcNHBg3E07no tYz3Ctb/b6/3dsQfxdnM0yuMQJBpuew= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-619-Nowgc2blMhGAphporFtKKQ-1; Mon, 06 Feb 2023 03:24:27 -0500 X-MC-Unique: Nowgc2blMhGAphporFtKKQ-1 Received: by mail-wr1-f69.google.com with SMTP id e9-20020a5d6d09000000b002c172f173a9so1287635wrq.17 for ; Mon, 06 Feb 2023 00:24:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:references:to:from:subject:cc:message-id:date :content-transfer-encoding:mime-version:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=CmAK43JPi4R8noMBgqJAtFoDdrRLyI5Q0ZS50P/fr1c=; b=R/vDY9cee0vrE+MP6wcpxLJwMp0lqDcu61gfw8nJa9id6BavuQRTVcjtlOGCN1aYid vmO/zxAVwdKl80MWHlQaR/QR92p1IzjJMeRGcxV65x0UyRoJKZLNBxxDMKLND6gJZqo/ P8bivYwXiMs/OPzfCMb8SB9+DYWHOtAB1ET+ZRzLSmytjOjgJ0OchrgxMSNXZWxIiY+f iHddeGK0Cw00+INQqAcofZAqFwfpaON66SmBbeHsQ+C0Fv/svzQFfvkUsbAUkfqxQlRq C6ZI51gkTblm/sdqYdFsVkMd/vdEELPTUG/xcAiWEsTpsccyxivm2g8Y71Y9xDJNdJM7 qItQ== X-Gm-Message-State: AO0yUKXzrea/D/bgG6APLN+qQ5M4LpsucuEfTNWk36eo4Vpm5OFi9i+n twXmCJp6sP4rdxMxDBhKvtS9uGHuvHKAYzVuheH0FrgSIyvlG1tqheuNOleTsP/GMhscuF5z3iu iWtQ= X-Received: by 2002:a05:600c:1ca2:b0:3dc:440f:8e9d with SMTP id k34-20020a05600c1ca200b003dc440f8e9dmr18422093wms.0.1675671865840; Mon, 06 Feb 2023 00:24:25 -0800 (PST) X-Google-Smtp-Source: AK7set8FfeVg1CSXyii++QXBRkKOK5gasco7MPwqN6dqKP9E4vnCmsJRa9DpMDCAK+85m6ng2GQVqw== X-Received: by 2002:a05:600c:1ca2:b0:3dc:440f:8e9d with SMTP id k34-20020a05600c1ca200b003dc440f8e9dmr18422084wms.0.1675671865684; Mon, 06 Feb 2023 00:24:25 -0800 (PST) Received: from localhost (2a01cb000f483e0055ae3800781b5cbc.ipv6.abo.wanadoo.fr. [2a01:cb00:f48:3e00:55ae:3800:781b:5cbc]) by smtp.gmail.com with ESMTPSA id q6-20020a05600c46c600b003dc54344764sm16498114wmo.48.2023.02.06.00.24.25 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 06 Feb 2023 00:24:25 -0800 (PST) Mime-Version: 1.0 Date: Mon, 06 Feb 2023 09:24:25 +0100 Message-Id: Cc: "Kevin Laatz" Subject: Re: [PATCH v8 5/5] eal: add lcore usage telemetry endpoint From: "Robin Jarry" To: "fengchengwen" , X-Mailer: aerc/0.14.0-60-gc1f7df1a0e5f-dirty References: <20221123102612.1688865-1-rjarry@redhat.com> <20230202134329.539625-1-rjarry@redhat.com> <20230202134329.539625-6-rjarry@redhat.com> In-Reply-To: X-Mimecast-Spam-Score: 1 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8; format=Flowed 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 fengchengwen, Feb 06, 2023 at 04:27: > The telemetry should be human-readable also. > > so why not "/eal/lcore/usage": { > "lcore_4" : { > "total_cycles" : xxx > "busy_cycles" : xxx > "busy/total ratio" : "xx%" > }, > "lcore_5" : { > "total_cycles" : yyy > "busy_cycles" : yyy > "busy/total ratio" : "yy%" > }, > } The raw data is exposed and can be rendered any way you like. This=20 should be left to external monitoring tools, such as grafana & al.