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 AB92BA04B0; Thu, 13 Aug 2020 18:11:33 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 02A071C0B3; Thu, 13 Aug 2020 18:11:33 +0200 (CEST) Received: from mail-pl1-f193.google.com (mail-pl1-f193.google.com [209.85.214.193]) by dpdk.org (Postfix) with ESMTP id 0FF201C0AD for ; Thu, 13 Aug 2020 18:11:31 +0200 (CEST) Received: by mail-pl1-f193.google.com with SMTP id y10so1262579plr.11 for ; Thu, 13 Aug 2020 09:11:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=pvFj8cwx4bXAU0r2q8U5uR9WZbBw0daUQs0P4Scqm5g=; b=WdHi7nDL8/6kBdIzwoSEgE1Vrx6cU/r+Z4k9jd78Slfu0oK62sND2IIinNmHn79Qzp Qof8jcH0aC0r9+W0smTdZBki1V2OXDp2RxMWo4mi4bKQZJCJheY0QLtsv0eXS0wrQul3 fxwuAggKafq0CFeB9pkw5U0Al5OJwlHIef8S3M168pqQcoZ3qoVMGG6bIUMBpg/R8cty 71G+7t79UcREn0uKMaXZGOnY0zCvFjnHg5I9Dz+DVds1ZckK1IEi19rPCbtIAUZZtelr 0LAzjaoSsoOUp6wtOxRS7dw2VHt4/CMRPVjimA77z3JiKveNPCL8QgBAKY+BMEzkHEFw qKDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=pvFj8cwx4bXAU0r2q8U5uR9WZbBw0daUQs0P4Scqm5g=; b=uhcDk9Fie/bb0u0TKM2ljACGKi9u9Q9zIpB+81zSiWntzfPx8NvVewe2FLwoYzUyet kWHaQglWbD7fGEsqK6d/kdIZpryOd63fRzqZ09ZsMyyRK5Xp0t/niTZ3DVpzaqDjWF3s 8VRgeDOwvGsultLpMjXIgrFCZrq5TqHoQoVe6Ly+N69m0j+m4wHsT3ilpT45KC47VmkK 3H8+WGB6257LHHaFj6bnciHIPgbF8sq7aTcfIP/r82UNNRfGIL3L020240lc0VsXpptQ FQUZHNSveioGFmAy1Buc3ws9Rnm59TWC3/tNJRQ9zUrufOEA2/jWXjsAORnkrM+2I/AQ MOmg== X-Gm-Message-State: AOAM5321yrN5gk3ul0t56Hes7HqV5P9HgWoE4si3POJdazpGHRQqSv4O mdxF86QabDad4Axrbaeec4ZddA== X-Google-Smtp-Source: ABdhPJymfPI5ENMpGAUiyZ2EtqOT7htxURPb3gmkY+E6wD/NkcZ/Y0sCNo1Wm9OAVHlyxRQ1/UF83g== X-Received: by 2002:a17:902:9b86:: with SMTP id y6mr1598083plp.127.1597335090203; Thu, 13 Aug 2020 09:11:30 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id f6sm5980431pje.16.2020.08.13.09.11.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Aug 2020 09:11:29 -0700 (PDT) Date: Thu, 13 Aug 2020 09:11:21 -0700 From: Stephen Hemminger To: "Varghese, Vipin" Cc: Thomas Monjalon , "Tahhan, Maryam" , "Pattan, Reshma" , "hemant.agrawal@nxp.com" , "dev@dpdk.org" Message-ID: <20200813091121.3b3f9e9d@hermes.lan> In-Reply-To: References: <20200506193741.24117-1-stephen@networkplumber.org> <20200715212228.28010-1-stephen@networkplumber.org> <20200715212228.28010-3-stephen@networkplumber.org> <1686569.X5dskYFTH4@thomas> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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" On Thu, 13 Aug 2020 04:10:39 +0000 "Varghese, Vipin" wrote: > Hi Stephen, > > 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 | grep -v ": 0"`. > > But if there better way to do this or add as new feature, +1 to remove. Proc info should just use standard clock for its updates, not TSC?