From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-f172.google.com (mail-oi1-f172.google.com [209.85.167.172]) by dpdk.org (Postfix) with ESMTP id 644CA1B148 for ; Thu, 22 Nov 2018 00:19:36 +0100 (CET) Received: by mail-oi1-f172.google.com with SMTP id c206so6007882oib.0 for ; Wed, 21 Nov 2018 15:19:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ih0Fu4aPB7CyTnLELZVwYOI8MEL0euiMgt1qivyH9vk=; b=L4vY/w4c9uUFK4lUBmu2AhpilNKEdoDM1xa0VT3Q4rI+B7blf/9x4P5h11uwQtl+eL eoGZL+/aKUPek2IDlNhp16sHJUX3eLsskfXTEBJMxphSJ8RbvyVLxxdmRkeRk5VMgnd0 XUszI9tEFTN8Bk+eUxDsfygmJ08K++kK67wQyGhSbD2CthsieyZ5KFJjPWLML9NE2KsJ isxN9lTdz36r1KFF8p296If3x/e9EagJtnEqHN/VZ3G+2QF8vYDsLPAWsRvuNS8ewZRX nJVNEPif+mpabSJygOyiQavc2tLnPqR7sHqTryIIObZZV/izIl+raFI2fhF5G49ITsjn f4Bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ih0Fu4aPB7CyTnLELZVwYOI8MEL0euiMgt1qivyH9vk=; b=EXr4PuA178y3Iv2B6cHLD9oNS8d1SUKWsgf5w1Vbu/vmf4YFmyHLqY7IsF4wnzn3Zk KmDMH1e2C6mLGmcMrwGGxw1kLI+aBNmEGE02oGqv9A+QHPfJkPgAflDLXt9+jXYv0A0y FTneWb254CPikXfveWE772Rc0RyZedQqCjWzcpbrg3NwW5p/velNwrZLieIv+eK+MSJV AcOIQLfPWBUdPPSnxaTufn6/btEROnlGSLdvwrep/0bferXTwovw7rx6A2+46/ZH8uX8 6EH8O8/x0FRCO346nGZHQG5VVFooSCRP/DUAdOxYGVoQdBdAEXzuDTGOqgLwPy8zdjOa gifQ== X-Gm-Message-State: AGRZ1gKnudY0Xt7zviQdvksS8SCKZvOradOzyoVCKuIpCQmP69LkzaEo QVtg/U9o5/JOIRt8/1fFyozVbKa9Mo1umjNz4ko= X-Google-Smtp-Source: AJdET5ek/BSw8/rtvIFxFN0m6sq5GPLGpoO98cOG3/L+G4sVKmjkoixNHQw9N0NiQoW2PoqR8IB3PYeT5d6lQBWma4U= X-Received: by 2002:aca:59c4:: with SMTP id n187-v6mr4523041oib.279.1542842375724; Wed, 21 Nov 2018 15:19:35 -0800 (PST) MIME-Version: 1.0 References: <201811210749.wAL7nrKg027704@ccmail04.silk.ntt-tx.co.jp> In-Reply-To: <201811210749.wAL7nrKg027704@ccmail04.silk.ntt-tx.co.jp> From: Rami Rosen Date: Thu, 22 Nov 2018 01:19:28 +0200 Message-ID: To: Hideyuki Yamashita Cc: dev@dpdk.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] Question about telemetry on 18.11 release X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2018 23:19:36 -0000 Hi Hideyuki, Regarding your questions about DPDK CPU usage, etc: I believe that due to the way PMDs are implemented, maybe one should consider using DPDK RTE jobstats API for collecting stats for a DPDK app. This API reflects better the actual DPDK app stats. See an example in: https://doc.dpdk.org/guides/sample_app_ug/l2_forward_job_stats.html And also see: https://doc.dpdk.org/api/rte__jobstats_8h_source.html Regards, Rami Rosen =D7=91=D7=AA=D7=90=D7=A8=D7=99=D7=9A =D7=99=D7=95=D7=9D =D7=93=D7=B3, 21 = =D7=91=D7=A0=D7=95=D7=91=D7=B3 2018, 09:50, =D7=9E=D7=90=D7=AA Hideyuki Yam= ashita < yamashita.hideyuki@po.ntt-tx.co.jp>: > Hello, > > I have some basic questions about telemetry API > which is planned to be relaesed in 18.11. > > Note that I have read the follwoing document. > https://doc.dpdk.org/guides/howto/telemetry.html > > Q1. In general dpdk application use polling when > receiving packets. So CPU usage is always looks 100% > when measured using e.g. vmstat even if there is no packet receiving. > (CPU is busy for polling packets) > Is that correct? > > Q2. Is it correct understanding that dpdk application > can send "any" value(or metric) to client if client > requested via "telemetry" framework? > > Q3.Is it possible to query "real cpu usage" from dpdk > application using "telemetry" framework? > ("real cpu usage" I mean if 0 pakcket incoming, > cpu usage indicates almost 0 %) > > Q4. Is it possible to inform client about fault or some > trouble from dpdk application? > > Background I ask above is that > - I am relative new to DPDK world and have almost no knowledge about > "telemetry" > - I am interested in how dpdk applications can "scales" on platform > like OpenStack. I think some mesurement mechanism required > and I thought it might be "telemetry" APIs. > > Thanks in advance. > > BR, > Hideyuki Yamashita > NTT TechnoCross > > >