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 2D041A04B1; Fri, 14 Aug 2020 02:45:26 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 5B83C2BF7; Fri, 14 Aug 2020 02:45:25 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id F03E71E2B for ; Fri, 14 Aug 2020 02:45:22 +0200 (CEST) IronPort-SDR: lLlnbgZGohjIWL0fhgGb9lIb/950arWLL81EcAVrvWmeNH2Fynok8RnbA2NBReLKsHAHhRYMVU Bl4odf/wy7qg== X-IronPort-AV: E=McAfee;i="6000,8403,9712"; a="155453771" X-IronPort-AV: E=Sophos;i="5.76,310,1592895600"; d="scan'208";a="155453771" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Aug 2020 17:45:21 -0700 IronPort-SDR: xHn4guM21Or4eCRoG5PR1Bxv8wHC62cxBhfU22k+DSlhRN2TIzdmP6SYl6BDmefbilSfmkXZ4o yDjdg5VW0WZQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,310,1592895600"; d="scan'208";a="325578129" Received: from fmsmsx603-2.cps.intel.com (HELO fmsmsx603.amr.corp.intel.com) ([10.18.84.213]) by orsmga008.jf.intel.com with ESMTP; 13 Aug 2020 17:45:21 -0700 Received: from fmsmsx606.amr.corp.intel.com (10.18.126.86) by fmsmsx603.amr.corp.intel.com (10.18.126.83) 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 17:45:20 -0700 Received: from FMSEDG001.ED.cps.intel.com (10.1.192.133) 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 17:45:20 -0700 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.175) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 13 Aug 2020 17:45:18 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=O2ibOvb8D5XGDXjvS6R9rnGhxWpY7TWV0k97NKzxZ4ECRbg6esjR6K/C+WLGajxfJOKCUs/X6UWDg2pkVkj+N58RImeFCbFUBGPoJ52Hl9tK6vW7UrkakkUu6uQTesBvyN0oy2fAkDb/uRuv3kFRfgrwCzXfniBecj3YspMVvf35yV8hQOgxhlRppq1FEtZRj00I6A4NxtIAgOHh5LN8Q5tpgslQbvlwBqUJ4256ZFfOSoPZOGphfqrqbSPysmuig4UyzsZd0cG//Aw55p7hvukI5uMeFDaRpyNlJqJxEM5W/x5GuVVNGEWftI3bY1OhSus9neYVL7oK6IIl3GCxrg== 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=ZIyLz6k7WjxKDUocTqVf8e3dCP1rt/Ndbeh17EfyCEs=; b=Sro3tdrswvr1GOakXRuNvzAmOlX/dyPwcBdSlThjmOeQj8nPncgimGELU3x6XyZXUuKjV1iwzjHQ52fmpFFLQy4GyFZnArYoX/B19Lv+sOlBThXXA1/44dayKvGtHEN9Iz1DhV2Ie8SPXHrZQz99KNylmC2x5l4F7rDYoUSniuThLbvi9rK56G0ooZspaAMdKG/HkJoFoOEPk2md4mNH+O2qaB+8xGuuUN/cVZlutyMRgCvIyBX688gTt7iHzKoBS9enYyRETP8wehRv6chdia7E5bKs8TdHT4m73eORy06hEZ84iU2dRbCP7gyb3Vs3hWKmKe07P99PdOwMHPgQzg== 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=ZIyLz6k7WjxKDUocTqVf8e3dCP1rt/Ndbeh17EfyCEs=; b=wnNJF2WDcxbnzINijlo1d+9R35SLVr5VNRJHlJm8ub6zKHf2QA5j4Rdo4zBlUwb/pkwHrGw+ZRXhHDdDgIXoYPAyx3UI7IyCn15RDU1A5RTXwIPtGyvbQ8+Rs1lJUrBZyOoNLwOvdOqCMAR4FhLhhb30bVdRIcyIR7OugcGULdg= Received: from BN8PR11MB3812.namprd11.prod.outlook.com (2603:10b6:408:90::11) by BN6PR11MB1393.namprd11.prod.outlook.com (2603:10b6:404:3c::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3261.16; Fri, 14 Aug 2020 00:45:17 +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 00:45:17 +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+U7AnUGnGf9vw28vUak2xOEw Date: Fri, 14 Aug 2020 00:45:17 +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: <20200813091121.3b3f9e9d@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: cdea4fee-cf57-4b19-070d-08d83feb50a6 x-ms-traffictypediagnostic: BN6PR11MB1393: 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: QT+BBFOO4lR6w8jsQTFKeSDXhAwcIBr8EuBQYQsd13TOLBorZ4F/Aiauf+l2NjOscMTcfQ+UEB6T05ZqaKUJESqzP9+PCNQxbPAuSlg8NlaeL8I0T5jgek4Mwx3iwhRalWdg9fIuyXA9he6aNzUv8hl5O6lC5OenvrM5aXZOKoNfcVdB2VnL1f4fXBzFNxEfe2vK/b5uMUiGSPTay4OE5OinBo8MVqGnMOKT8DWOIMPTsUJwaD+7Jf3fUVjUGU0ArvJmRkJFAZzEyx67jnryY/REspp6v/eCxxrNmVXr3lwCj9pxuqTLP4w2UKk6RzF9JCCKpRbVDkWCnxUigYtVxQ== 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)(346002)(136003)(376002)(366004)(39860400002)(66446008)(66476007)(9686003)(64756008)(52536014)(33656002)(76116006)(5660300002)(6916009)(2906002)(66946007)(55016002)(478600001)(4326008)(8936002)(8676002)(66556008)(186003)(71200400001)(316002)(26005)(55236004)(7696005)(6506007)(83380400001)(4744005)(86362001)(54906003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: TywW8HnHXS9bmGHq9A5AFniB7v4YSClZU+mI185G89Ez5MYvzgzZhHM7WyCOglv+2NlbvvPvIWiJpmqn71eKDUSm8q2Lb/HRkuri24jwWVY2Rs4psNmD4cJF4gQ37EsJUnQOJxKegHozslATT9hAfPIg9gd6YP8QnaPltF3CBwEfZci7HF2UBHF6lg6cdwyCvc2zBxI0zKIUZ2y9pxuhWkwFAwLqQU42gcRyJSHI2aKuEN13MSsW87uuU/bzQvS6RAON3Lp7pQgTTxA/ZUvsF/0QEacDy3OE8vgdKEiE4LVFFPnQJpLMjoez6gCAZj174p5cXfe4rduH5eVHvAiKHjEiYr3O/CAQT/6uMeBbMF3KgPJAIhLdGKAljYZc/5O4uMz+VpTcJDbopqMhqYAdW39DXSnobE+ZXmGQieDoLUMhawcfeTa7BVmtuShquE8McKdDXxMZqAlsnHRhw+q+oaxnLxFe2uwuFjb7+uMcbOvR3O0EaiaSQxrTk/BTXyBzvNpnjxV2lDiTOANs9mux5Llv6Z4M/UZvdBgOnrJfAVa3R62TuXpHWrPb1XrPGNyzHljCYvAkN3f1m2E1Ju6LFWqdqDzHVALVleJaRkzj6HS1pdmfnZx0ecPNMZ7NwRz0xMsqqz6OGKTLcDt6rDk0CQ== 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: cdea4fee-cf57-4b19-070d-08d83feb50a6 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Aug 2020 00:45:17.5547 (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: TqWbHpV4m+3XEWxamZ0bz8PSAfL1jeEKfAL0R7HZ3JcvMYZjnHK5gEKQ0DN9WDV68SG/8iIS2X8Y2pkyuHOhRj5t0olfFxqBAUfvURFDwQc= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB1393 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 > > > > 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 a= nd > stats, is to account for each iteration for an average `packets per secon= d`. That > is using `watch -d -n 1 ./dpdk-procinfo -- --xstats | grep -v ": 0"`. > > > > But if there better way to do this or add as new feature, +1 to remove. >=20 > Proc info should just use standard clock for its updates, not TSC? Can you please explain the rationale behind the (syscall for time) and not = TSC?