From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 379CDA0577; Tue, 14 Apr 2020 09:36:15 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E2D8F1C126; Tue, 14 Apr 2020 09:36:13 +0200 (CEST) Received: from inbox.dpdk.org (xvm-172-178.dc0.ghst.net [95.142.172.178]) by dpdk.org (Postfix) with ESMTP id 444791C11E for ; Tue, 14 Apr 2020 09:36:12 +0200 (CEST) Received: by inbox.dpdk.org (Postfix, from userid 33) id 60012A057B; Tue, 14 Apr 2020 09:36:11 +0200 (CEST) From: bugzilla@dpdk.org To: dev@dpdk.org Date: Tue, 14 Apr 2020 07:36:11 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: DPDK X-Bugzilla-Component: testpmd X-Bugzilla-Version: 20.02 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ogerlitz@mellanox.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: dev@dpdk.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.dpdk.org/ Auto-Submitted: auto-generated X-Auto-Response-Suppress: All MIME-Version: 1.0 Subject: [dpdk-dev] [Bug 450] wrong report for cycles/pkt or pps 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" https://bugs.dpdk.org/show_bug.cgi?id=3D450 Bug ID: 450 Summary: wrong report for cycles/pkt or pps Product: DPDK Version: 20.02 Hardware: ARM OS: All Status: UNCONFIRMED Severity: normal Priority: Normal Component: testpmd Assignee: dev@dpdk.org Reporter: ogerlitz@mellanox.com Target Milestone: --- According to doc/guides/prog_guide/profile_app.rst RTE_ARM_EAL_RDTSC_USE_PMU has to be used over ARM CPU to get correct cyc/pkt report. This involves us= ing OOT (non upstream) kernel module which is problematic and reported to be non-stable.=20 Moreover, once the PMU configuration is set, the pps report done by testpmd= is wrong, so this doesn't really help, as one wants to see both pps and cyc/pk= t. If the PMU configuration is not set, indeed the cyc/pkt report is wrong, but this is due to using a timer which is not running in the CPU frequency. If = the CPU frequency would be used we can get a correct cyc/pkt report without the= PMU config. --=20 You are receiving this mail because: You are the assignee for the bug.=