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 22BEAA053B; Thu, 6 Feb 2020 15:37:08 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F16531C127; Thu, 6 Feb 2020 15:37:07 +0100 (CET) Received: from mail-io1-f66.google.com (mail-io1-f66.google.com [209.85.166.66]) by dpdk.org (Postfix) with ESMTP id AF0881C118 for ; Thu, 6 Feb 2020 15:37:06 +0100 (CET) Received: by mail-io1-f66.google.com with SMTP id c16so6532022ioh.6 for ; Thu, 06 Feb 2020 06:37:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=A8MxGYwnRqXlh06IcTyKKZ9EYXkoRcLlcpnj8ySA/o8=; b=Fnb64lgivjoUothBJhtFaqZwOrmV4QT0smo5wBH2wMWUI2JyTeSkFu+ZeHHyIdVE7A +aW8PePfYpHdMztQQDIAaGnO24iI+ucS7Pi53cIPG+SvNU69ASQfEbBNxqMputpK5Mh6 TuzDuERK7JLoNjerhN92mdZ/AqThiRMomXoqNKQ5b07qe4J5sNpXYK944jcjHpTNaPDz ew1AQhz7weHAdfQewi1ArIdaaGhfcaL3oPY5bdKMxhR/IQBPaP29gVoNRJsHWGoDTH6q a36oCsYd2oFF2ECRczVHeU/cU/ORFpnY1Py7Vcur7lEnDVYjC8UelPr+3A1IAGsPOmWz LOqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=A8MxGYwnRqXlh06IcTyKKZ9EYXkoRcLlcpnj8ySA/o8=; b=q8PqqzTKwOBDIIN1RGtUwTfvj7DrPjb5tiM8hK14hoJRb2naF7tFeOT+4NDcRLntfn rkS08TXuWJRgQZS4z/Helkf0s4j/xVzM9eso5vEungn11MprdqE4OY4dNzM2EXDvMZBj XSL5bcep77Uv1QfpiJ9sQoN4wbP3Z9NSLN2xn5n5mzC/QEvZQgbAQU8N3AowTuZQsVLV PHurUFwHPwB/vay85/yeRmfE0RV2U1/2Ctu0mHTt2GG2lcOOTWDIcvqJhEMHjea5PJub rOWQms3/QrnuB/H7FxFQ59k50kawjyekcGBeBh/Ft6KI2X8S+tALDN9e7N3B7gsqQssw rVKg== X-Gm-Message-State: APjAAAW4GwSVvEtUMsD8tin21HujsEb5rY0z7hONTGfMLSTC6bC0a2uz U9Vp85lXwetKPjJtYlBfYyvr9SgYwa6Zj8G1GA0= X-Google-Smtp-Source: APXvYqxxAvOnAbQ8v3u6JoAkt1BHxmZgbQnIZpQjYox4YZp/7Z15UaM5nTkdDHHEis9wESimTHGTAtZovx9Dz3zW+E4= X-Received: by 2002:a02:cc75:: with SMTP id j21mr33454938jaq.113.1580999825859; Thu, 06 Feb 2020 06:37:05 -0800 (PST) MIME-Version: 1.0 References: <20200121080021.2835490-1-jerinj@marvell.com> <5378505.1B3tZ46Xf9@xps> In-Reply-To: <5378505.1B3tZ46Xf9@xps> From: Jerin Jacob Date: Thu, 6 Feb 2020 20:06:49 +0530 Message-ID: To: Thomas Monjalon Cc: Jerin Jacob , dpdk-dev , Olivier Matz Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH] bus/pci: set boot-up log prints to absolute minimum 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, Feb 6, 2020 at 7:44 PM Thomas Monjalon wrote: > > 21/01/2020 09:00, jerinj@marvell.com: > > From: Jerin Jacob > > > > Some machines may have a lot of PCI devices, logs from PCI probe > > creates a lot of clutter on boot-up, typically one needs > > to scroll the screen to find other issues in boot-up. > > > > This patch changes the loglevel of PCI probes to `debug` > > to reduce the clutter on default boot-up logs > > I think the PCI probe informations are... informational. > Maybe you are just not interested in info logs. > If this is the case, I suggest to change the log level at runtime. I am wondering, what would be the right balance, Following is DPDK startup output from octeontx2[1] It creates a lot of clutter in the "default" boot up. Why not enable below prints using log level at runtime? I believe it comes as a debug category, i.e information required to debug if something is not working, dpdk bind script already lists what is bound to DPDK. Suggestion to remove clutter? [1] EAL: Detected 24 lcore(s) EAL: Detected 1 NUMA nodes EAL: Multi-process socket /var/run/dpdk/rte/mp_socket EAL: Selected IOVA mode 'VA' EAL: No available hugepages reported in hugepages-2048kB EAL: Probing VFIO support... EAL: VFIO support initialized EAL: PCI device 0002:01:00.1 on NUMA socket 0 EAL: probe driver: 177d:a0f8 net_octeontx2 EAL: PCI device 0002:01:00.2 on NUMA socket 0 EAL: probe driver: 177d:a0f8 net_octeontx2 EAL: PCI device 0002:01:00.3 on NUMA socket 0 EAL: probe driver: 177d:a0f8 net_octeontx2 EAL: PCI device 0002:01:00.4 on NUMA socket 0 EAL: probe driver: 177d:a0f8 net_octeontx2 EAL: PCI device 0002:01:00.5 on NUMA socket 0 EAL: probe driver: 177d:a0f8 net_octeontx2 EAL: PCI device 0002:01:00.6 on NUMA socket 0 EAL: probe driver: 177d:a0f8 net_octeontx2 EAL: PCI device 0002:01:00.7 on NUMA socket 0 EAL: probe driver: 177d:a0f8 net_octeontx2 EAL: PCI device 0002:01:01.0 on NUMA socket 0 EAL: probe driver: 177d:a0f8 net_octeontx2 EAL: PCI device 0002:01:01.1 on NUMA socket 0 EAL: probe driver: 177d:a0f8 net_octeontx2 EAL: PCI device 0002:01:01.2 on NUMA socket 0 EAL: probe driver: 177d:a0f8 net_octeontx2 EAL: PCI device 0002:01:01.3 on NUMA socket 0 EAL: probe driver: 177d:a0f8 net_octeontx2 EAL: PCI device 0002:01:01.4 on NUMA socket 0 EAL: probe driver: 177d:a0f8 net_octeontx2 EAL: PCI device 0002:01:01.5 on NUMA socket 0 EAL: probe driver: 177d:a0f8 net_octeontx2 EAL: PCI device 0002:01:01.6 on NUMA socket 0 EAL: probe driver: 177d:a0f8 net_octeontx2 EAL: PCI device 0002:01:01.7 on NUMA socket 0 EAL: probe driver: 177d:a0f8 net_octeontx2 EAL: PCI device 0002:01:02.0 on NUMA socket 0 EAL: probe driver: 177d:a0f8 net_octeontx2 EAL: PCI device 0002:02:00.0 on NUMA socket 0 EAL: probe driver: 177d:a063 net_octeontx2 EAL: using IOMMU type 1 (Type 1) EAL: PCI device 0002:03:00.0 on NUMA socket 0 EAL: probe driver: 177d:a063 net_octeontx2 EAL: PCI device 0002:04:00.0 on NUMA socket 0 EAL: probe driver: 177d:a063 net_octeontx2 EAL: PCI device 0002:05:00.0 on NUMA socket 0 EAL: probe driver: 177d:a063 net_octeontx2 EAL: PCI device 0002:06:00.0 on NUMA socket 0 EAL: probe driver: 177d:a063 net_octeontx2 EAL: PCI device 0002:07:00.0 on NUMA socket 0 EAL: probe driver: 177d:a063 net_octeontx2 EAL: PCI device 0002:08:00.0 on NUMA socket 0 EAL: probe driver: 177d:a0f9 event_octeontx2 EAL: PCI device 0002:09:00.0 on NUMA socket 0 EAL: probe driver: 177d:a0f9 event_octeontx2 EAL: PCI device 0002:0a:00.0 on NUMA socket 0 EAL: probe driver: 177d:a0f9 event_octeontx2 EAL: PCI device 0002:0b:00.0 on NUMA socket 0 EAL: probe driver: 177d:a0f9 event_octeontx2 EAL: PCI device 0002:0c:00.0 on NUMA socket 0 EAL: probe driver: 177d:a0fb mempool_octeontx2 EAL: PCI device 0002:0d:00.0 on NUMA socket 0 EAL: probe driver: 177d:a0fb mempool_octeontx2 EAL: PCI device 0002:0e:00.0 on NUMA socket 0 EAL: probe driver: 177d:a0f9 event_octeontx2 EAL: PCI device 0002:0f:00.0 on NUMA socket 0 EAL: probe driver: 177d:a0fb mempool_octeontx2 APP: HPET is not enabled, using TSC as default timer > > >