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 99850A04B1; Fri, 14 Aug 2020 03:14:53 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 96CE01C037; Fri, 14 Aug 2020 03:14:52 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 43DB54CA6 for ; Fri, 14 Aug 2020 03:14:50 +0200 (CEST) IronPort-SDR: VsgOE6AAMfhtFhzE8ApCVHk4Xvei07HqLE971pOuUotrGcMGfGMoKLEUmOXOJL8+TXxJBGogwI VjtIasiC58cA== X-IronPort-AV: E=McAfee;i="6000,8403,9712"; a="172389688" X-IronPort-AV: E=Sophos;i="5.76,310,1592895600"; d="scan'208";a="172389688" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Aug 2020 18:14:49 -0700 IronPort-SDR: mbc47sDpkkv3yxG1HYBoBtu0/YKOmUvAyslx0i1FUmjGlPAaaegGduExsMvClea45JuJqmxCto BRYLPFfSvlpQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,310,1592895600"; d="scan'208";a="369771625" Received: from unknown (HELO fmsmsx606.amr.corp.intel.com) ([10.18.84.216]) by orsmga001.jf.intel.com with ESMTP; 13 Aug 2020 18:14:48 -0700 Received: from fmsmsx606.amr.corp.intel.com (10.18.126.86) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 13 Aug 2020 18:14:47 -0700 Received: from fmsmsx156.amr.corp.intel.com (10.18.116.74) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Thu, 13 Aug 2020 18:14:47 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx156.amr.corp.intel.com (10.18.116.74) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 13 Aug 2020 18:14:47 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.170) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Thu, 13 Aug 2020 18:14:41 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hZyyFaCVBVxCl0PcV0EyzoIs8QuKJBRbxkhEXuOK54wtIvroi0ElVS+u1u7O238ehPLEe0mcqcvXnuQKtaf/FOkN2FVlaH4BGNohgcL7CdCQYL/rjBKW50PQiQY2Y1ubOnxCBlPF1Yd7wB34JlACXaR2BUszGsCiRthYlpCi5gudxhKCBdb0zlcPbsAJyBDRbT+i6ilVZqpieo7iq8caipyy1jNZihVbmegWTxr3wGKsfjc2Sl75wuJ1rx9E4zQHyVOxyAuPsVqe32G/QL4xD1dXLlQxYBpOz5OR/qHOUmp1gzwvqD71FlMxbginBvyYt1GrITAIkCQ/PLDPEzCO1w== 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=D2w/TL1XmGkH2KpCFg1DFo61BFEe2ZSofybfoMn4AVk=; b=gzn1Rl51MDuq0fC+DXY8Z7X3nLc59OpIsKdRSqbO5gIvhSCFfKMjVdE2jOMf6kJga8V4zv7tM1oW0DPUU9VVNza07jll4UxUlAjilpKgIWX7kl51UUX+33/nWGjAwLKNmVm7u1pPclKE5ty/YqrmoIWbvSmbH2wmJYE1VXUm0PkF+sVweUrGJ0tTztuTfYE6V48Xg6m9XR57XvxWQ7JZFMNITBIuLbTXLqdIfFd5kL2kci25+ZKK10t04+upyh+f1mea+drxbtRQh07zWyeyTtFIdusIoK9ww589i12GqVvVuMb32tF1GVjF96M2DUgwRAFjm+1oC5uZneYhak5siA== 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=D2w/TL1XmGkH2KpCFg1DFo61BFEe2ZSofybfoMn4AVk=; b=M8Gv+8SFGZv9Y+VpkVZFIXYY35K9zbr1um2YUNcWox6wtclvIrFCizVKNzWKDMh6r5LmHnQ3s67y+/suwqjru+JuuGlQ5PzWAZoRs/gCavE4jmVIWZKZMlY25NPJB8Za/Am+zwA6BvZpJTHQJNl10GC5OijP8C+qwEWLf9SheQE= Received: from BN8PR11MB3812.namprd11.prod.outlook.com (2603:10b6:408:90::11) by BN6PR11MB1316.namprd11.prod.outlook.com (2603:10b6:404:3c::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3261.19; Fri, 14 Aug 2020 01:14:40 +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 01:14:40 +0000 From: "Varghese, Vipin" To: "Varghese, Vipin" , 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+U7AnUGnGf9vw28vUak2xOEwgAAIaiA= Date: Fri, 14 Aug 2020 01:14:40 +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> In-Reply-To: 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: intel.com; dkim=none (message not signed) header.d=none;intel.com; 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: 034336da-fc60-4613-9115-08d83fef6bab x-ms-traffictypediagnostic: BN6PR11MB1316: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: RX93ic0eQdqs1/F/sdffxz/vQvRoObOrHVO7Nk5SUXUqZ2y1MxcfnzamE6Fzqqbf4qosuXNkqz25Lqe5V9aWxSEExbjlAFII0uaBHD6DL6qHS/s29bV8IzQUo7XQ1yArU8cil5a9kFPnjI+KqgW/e4BVakmxirgWpMM8WyTHMERxmXh9kql3qloywnR6x46Fwi50zZTMeWKKMxE8PRda5//iL9PyChSLjIp0DD+1XFH7dF5Ft5SNZgBMLyubacXoYrrZLdPGr+b5n29fW3jucOQsKEnWzNI6/0yj4lO0GhoPFQO3Q9jEAuBn+BWbi17vU313ccG4xMrmkUHbPr8nMw== 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; SFTY:; SFS:(4636009)(396003)(39860400002)(346002)(376002)(136003)(366004)(4326008)(2940100002)(33656002)(9686003)(316002)(55016002)(2906002)(26005)(186003)(54906003)(6506007)(110136005)(86362001)(55236004)(8936002)(478600001)(64756008)(66476007)(76116006)(8676002)(4744005)(5660300002)(52536014)(83380400001)(7696005)(66946007)(66446008)(66556008)(71200400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: 82XHfBpy9pJs+khxpepetBO8L2GPsO60vSSdBuBRP68TtrfM1gpvv0jJWjC0ItBGNFEZMmdckwOYa5z/TsV696IftIRm+fEyYVtsEo8FWYXbC3QdttXVv0nYiVTrDW3JrH724raV/M6QOGVeW2KaxLJCgNAy3Y5B3JoE+RPTlfyXkWoCXpCW7COLBI/b4cqZv8ADRbR8ZS7v4qXKqop7PvXgmsOoMx6zl1itIFb4+bvHPFmDkO2pec003jsm5Gfa485XzlVlINHBL6vx70era+2UUCgCdbVeFzhviH8z35kOn/h97U3CVHmtN326zwK5KQXv8/r/x0JZVBpt+7VTpaUKWQCXb+C4RaYa3DoK3fA/JdCuu8cvqHYXGUuramr9qmlYePu/Pg7W/kZGrkwsj/gCGsqWj3US8KUMewRzFCGpbFMjEbrolXPYdgOnSypTcTMQaGNjFGf+n1E+hxNBveDsvXz7aU56xq7BxKdz1PAYNGNknLk3QLq9qsI86ziGjkOxRRpus3ZWAW4m1FqWm1szkaGVR14EV0Qno7OWOsNd50SbYR1dTNuJhFD13zoXvVgsAoTtTRBLcIn5LU2GR1y9qlVq7F66mTf4sHu5ZNtHpqlEMMkybC5CL4BiDt9C1vdqhOTTlKQjCAHFDIxqpg== 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: 034336da-fc60-4613-9115-08d83fef6bab X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Aug 2020 01:14:40.8205 (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: mCWjnIoWLem6B0gE16JECwkrA1dHGA4mS+CynXd9ostPz9sjclO4QuVNe4UZR5LVViLr187bX13eF6Nvd6/aGwy/1TzTnz//lwmgsYAIZG0= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB1316 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" snipped >=20 > 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 sense 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 -- --xstats | gre= p -v ": 0"`. > > > > > > But if there better way to do this or add as new feature, +1 to remov= e. > > > > Proc info should just use standard clock for its updates, not TSC? >=20 > Can you please explain the rationale behind the (syscall for time) and no= t TSC? Looking forward for the patch with clock change too.