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 CC8C7A04B0; Fri, 14 Aug 2020 13:08:41 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B363E1C0D1; Fri, 14 Aug 2020 13:08:40 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 73E261C023 for ; Fri, 14 Aug 2020 13:08:39 +0200 (CEST) IronPort-SDR: gulDjVP0nNV/ce2HMoBQ5CRsHV66RnWfJpuHQxPQbAQ3s4iDQk5Zy/DATU+EangK8xe44pF3QW PkVqbkg0YACQ== X-IronPort-AV: E=McAfee;i="6000,8403,9712"; a="154350673" X-IronPort-AV: E=Sophos;i="5.76,312,1592895600"; d="scan'208";a="154350673" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Aug 2020 04:08:38 -0700 IronPort-SDR: fgD+HsJQnEsSWZFu/nwlrlGgknKGyX59QL1HQgG5f8cpofuCmwm9loDwzhlekf072S0M3uZPgb d9npFV2Q6h0w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,312,1592895600"; d="scan'208";a="291706493" Received: from orsmsx601-2.jf.intel.com (HELO ORSMSX601.amr.corp.intel.com) ([10.22.229.81]) by orsmga003.jf.intel.com with ESMTP; 14 Aug 2020 04:08:38 -0700 Received: from orsmsx605.amr.corp.intel.com (10.22.229.18) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 14 Aug 2020 04:08:37 -0700 Received: from ORSEDG001.ED.cps.intel.com (10.7.248.4) by orsmsx605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Fri, 14 Aug 2020 04:08:37 -0700 Received: from NAM04-CO1-obe.outbound.protection.outlook.com (104.47.45.54) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 14 Aug 2020 04:08:34 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=L1Uxiw+joQgaDL5LVb4TKjBTrz9kFZhFfd7J1DTn98ffinbwC9PlMWMoNgqTA2XTyFJhap7voHK0Jc5BaKRcA4Ljd2mmK8YlRR1CDwK/GFNJBkoC/Gkb6upMq7jnmMVBmGmUGoGvFRL2kUTTmYSFCdnYnQdMuxgDaZN81rbLMoD/364Zm+XmVfKxgDVqbT0OR6kVrtnQYIeTgGWGGS42qVk/5Uf+Ed1kiRa6453McRTZJ7sgwy1VXfZtfKgVGY+FICUU1sB93hEpLOAm5WBEMaRuedfhaHCLuH2yjVvJ4Dqyjq8n6ZTcZA75JODUiWqtU6vAR9X+cRjnhrbWCpJW4A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=g61vSXoKIsMByEJ3yKyQ7dhk8623RRlJEm0XibrxUR0=; b=Soa6xbAWDz1+moNkxWIOY8lnznZeHenEbb8CRsuO73sL7DyTebqSj7jX4dyvOrycLZCpxrmcHYyy20+p4PiPAmxxynbNE8t42psTUcQe86ltVFu/lLLT7r04bIT7EOzmp9zZAGZn/A+CNDPOGuZQeCFJfPta46ryCFJbkckgB7OIh4maoqcxWwuc3YAHZE0TZg4WcUnIeLe31slEi3lAt+LkGqMP7jK3+T6OKPs1X4b8mUQRG1ewehrVDhBJq/jGDjyrNiyAWQMh94aKfLqgtTzoPORfAxzt47KqNZK+Lu9outOtSSmojkW9kb147U6FlIruvtflSJr6IMrRpg7tQw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=g61vSXoKIsMByEJ3yKyQ7dhk8623RRlJEm0XibrxUR0=; b=r6FXwrLUML4pA1uD3QuWaY7ou5S5IcT3Pls/BJFSAmgknPvtmzrLUMwLdr1K0t4tAUsP8zfnfRNYwUpwuZAAszpA+g+RdRPE6vPykeJHtVgJrMJMgCBCSvimK8V9KumSo2/hhxWDXKrsNH+KDjYJH7F3dTS8GRJdpHWFwUo6KZ0= Received: from BN8PR11MB3812.namprd11.prod.outlook.com (2603:10b6:408:90::11) by BN7PR11MB2612.namprd11.prod.outlook.com (2603:10b6:406:b4::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3283.20; Fri, 14 Aug 2020 11:08:32 +0000 Received: from BN8PR11MB3812.namprd11.prod.outlook.com ([fe80::d5fd:6323:f50f:eba1]) by BN8PR11MB3812.namprd11.prod.outlook.com ([fe80::d5fd:6323:f50f:eba1%5]) with mapi id 15.20.3283.018; Fri, 14 Aug 2020 11:08:32 +0000 From: "Varghese, Vipin" To: Stephen Hemminger CC: Thomas Monjalon , "Tahhan, Maryam" , "Pattan, Reshma" , "hemant.agrawal@nxp.com" , "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v3 2/7] app/proc-info: eliminate useless borders Thread-Index: AQHWcYx3JFjm+U7AnUGnGf9vw28vUak2xOEwgAAIaiCAACLKgIAAgnbg Date: Fri, 14 Aug 2020 11:08:31 +0000 Message-ID: References: <20200506193741.24117-1-stephen@networkplumber.org> <20200715212228.28010-1-stephen@networkplumber.org> <20200715212228.28010-3-stephen@networkplumber.org> <1686569.X5dskYFTH4@thomas> <20200813091121.3b3f9e9d@hermes.lan> <20200813201833.09b95d69@hermes.lan> In-Reply-To: <20200813201833.09b95d69@hermes.lan> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.5.1.3 authentication-results: networkplumber.org; dkim=none (message not signed) header.d=none;networkplumber.org; dmarc=none action=none header.from=intel.com; x-originating-ip: [49.207.212.119] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: c085c430-cc1c-4198-9e8e-08d8404261a7 x-ms-traffictypediagnostic: BN7PR11MB2612: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: gdEqSCifpxeAKpSg1/ZzbztVrQV+aKRze8egE71A62PzWPJRXg5n0BUQsqXrdnu+WyVL6YGog2B903lNnSVJFz4G+mzDNYfjO7/HdS4OYQHkYv+ylBQj0vdt8xJCcDzC31nHZIyOp0m1OSL21eJczmvNV62p22AMOl1kZnOJI2JoV3FtUvGs4lq86FMQ0GAgw6WtvIY+alSZFPuR38cAQap2TiO1E7Hzv0hlVrtnbYi666uSaLeW09283ojVpnMzD5/Mv8Qq+5sPwjVl4GuD+1tDcfVpAtikVkwlpUH4kmiYsfnqGma8BZcQ+j+LFS/PY67NyZNnHTcIA+0jg/dtVA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN8PR11MB3812.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(346002)(396003)(39860400002)(136003)(366004)(6916009)(86362001)(7696005)(66476007)(71200400001)(66446008)(76116006)(83380400001)(66556008)(66946007)(6506007)(4326008)(9686003)(316002)(64756008)(55016002)(54906003)(8936002)(478600001)(33656002)(8676002)(55236004)(5660300002)(186003)(52536014)(26005)(2906002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: pZaR6Jr0lc5Swmlq5jPN3O30qfdqEcAAgGFp+BGyg0aCX2Uocf06pTjBmIsdUkz2Pn72gzPStMWZufYgZvtIg2VIOabqlRStm09Tg/vjCNkT3ZdKJmI4wiCfBH+a6Ggl9ctkUAyYlmETKdz2tUfTiqzAAIhTHnUKSM26NPnVb4L6JtFQjzUzCeWZwbBzyekB1IAfmA7fFnA43K4zjch0oXvjgyD60ZmVpJKU0IBMoV6T2yxRbca95AAsAgBC/LroBMqSi6OjoqCHsu7KztwOSSl0LQkrfZFgs4gkJWNYbtuueN0jzPxUUlX1IDY03p33MLvT6Xhs0NBVhm7Y+d8+ECGg2raku+/xUJN8JyYDzu1sY4BIBnvOfZMQy5HTHMqM6ygR35mjzDfN6u4r6Clm2u1T0v1Qz+fxwBsaWS/Nr7UDI1kpBIlYdmAz8SY68yo5xj8gN6StxxR9O+3Xc/CTii7wjNMbA1ystSwjz5Y6CXY6oNTSrIbpAFu5ww4i9IguOROYG6zQ18SoK3JHSM8tWlITnxerjRa7xkjVyB31RwTcz9D44TmXBg1Cqi8uaDckhDY4/V+T8eFR3niIhF0xuDgKq52s+wtsuDXjZP5bwO94ySL1P4O/RmBcPDZ8If4/3DoUd8Bf6jEofszdOPYu/A== Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN8PR11MB3812.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: c085c430-cc1c-4198-9e8e-08d8404261a7 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Aug 2020 11:08:32.0501 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: avkQyfiYf9oWwczk3S8W5NIqzpYx+XlizCmogbmNZBNDOYFnDVFnS+LE9NN26jbXXGxei2r+6ZtXvBP0OdMXGm+kCmwcmGixZAmVeimUvLs= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR11MB2612 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v3 2/7] app/proc-info: eliminate useless borders 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" Hi Stephen, >=20 > > snipped > > > > > > snipped > > > > > > > > > > snipped > > > > > > > > > > > > 15/07/2020 23:22, Stephen Hemminger: > > > > > > > Printing extra borders does not improve readability, and is > > > > > > > just unnecessary. Putting TSC hz in header also makes no sens= e > here. > > > > > > > > > > > > The CPU frequency on headers! > > > > > > OK to remove :) > > > > > > > > > > > > > > > > The rational of having Time Stamp Counter as the header for port > > > > > info and > > > > stats, is to account for each iteration for an average `packets > > > > per second`. That is using `watch -d -n 1 ./dpdk-procinfo -- --xsta= ts | grep - > v ": 0"`. > > > > > > > > > > But if there better way to do this or add as new feature, +1 to r= emove. > > > > > > > > Proc info should just use standard clock for its updates, not TSC? > > > > > > Can you please explain the rationale behind the (syscall for time) an= d not > TSC? > > > > Looking forward for the patch with clock change too. >=20 > There is no part of what proc-info is show with xstats that displays or u= ses tsc > directly. > Do you have a driver that is putting TSC information in xstats? I am sorry I did not follow you on this, In the earlier implementation with= `proc-info` header we had TSC so coupling `--show --xstats`. But with the = header removed out with TSC, how can we get this?