From patchwork Mon Mar 8 22:25:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Monjalon X-Patchwork-Id: 88716 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 81EA1A0566; Mon, 8 Mar 2021 23:26:01 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6D35B22A4D4; Mon, 8 Mar 2021 23:26:01 +0100 (CET) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by mails.dpdk.org (Postfix) with ESMTP id DAC6A22A369 for ; Mon, 8 Mar 2021 23:26:00 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 618FC5C00AD; Mon, 8 Mar 2021 17:26:00 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 08 Mar 2021 17:26:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=fm3; bh=ulKlUT9/ZseanJWq1GJgbKfcMd MAmFBmw10tP9CvHlo=; b=I2ccphaPhERmzryM7LIOQeNMmJ7TCQwIFUgHWEapGo U8+uhhYBsoG0Gf8ZP7apeIMoashrRiJrTmIVTTHwJavFztt83UUUNAwqYDpQ6YPd lUw9teyncmwJHkoLKQAJCnYH4nAdbZlFrDaqQBZYgKFkglVbkcnnaGPGnvOQBFAo hUjH1xxYFV41axLu1bTB0XXiI+dpObHo8jFxvicBIZoAjwWI4of5P5EdENgImxAQ 0nVqCQbPmyScvbtaPglOPXQ8F8HLycIyim9RZayF5JBE1NOwmNTg6pSzqPRu6JzN TPF+xwYyiXwFjQU4spZNG5UYW5cUVvoAXQUGJkjmBH/A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=ulKlUT9/ZseanJWq1 GJgbKfcMdMAmFBmw10tP9CvHlo=; b=wopQEK+hv0cIifaXsdK9gqUlbk6YLkZfe WIrb2YqOeYWG8OxcB/hSBdls5S0MmyQok0c7+fU6ITcj6nd7+f9IxbRKOM9l6K/I j5HUsWoe91bQMbM1oVwkIaPAzOpRBKGXK5YIwQv7aXHEres3o0BXc+POX51TC+yd um3yWJhgsfHSe5l6M4499JC3XBKeJ3jQcMO9O+eDkGD74tTy3makWAlkfmFhjSoX 94JsFCEtTxrmhePQkgOz1fDUGuY6zbnH3ZPTNJoljvXzVOQ5KSpVs803NgaoV7ON CwOxszuUWyD1r52J3hOKAI8UodxZlbztlua45z823LbLWfscNcc7Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledruddugedgledvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffoggfgsedtkeertdertddtnecuhfhrohhmpefvhhhomhgrshcu ofhonhhjrghlohhnuceothhhohhmrghssehmohhnjhgrlhhonhdrnhgvtheqnecuggftrf grthhtvghrnhepvdelvdduhedvudduveeuvdevheegudelgeeigfejheduhedttdegudff jeeihffgnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhushhtvghrufhiii gvpedvnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghlohhn rdhnvght X-ME-Proxy: Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id AC60E24005B; Mon, 8 Mar 2021 17:25:59 -0500 (EST) From: Thomas Monjalon To: dev@dpdk.org Cc: Matan Azrad , Shahaf Shuler , Viacheslav Ovsiienko Date: Mon, 8 Mar 2021 23:25:52 +0100 Message-Id: <20210308222553.823262-1-thomas@monjalon.net> X-Mailer: git-send-email 2.30.1 MIME-Version: 1.0 Subject: [dpdk-dev] [PATCH] doc: improve lstopo tip X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" The tool lstopo from hwloc package can provide a graphical or textual view. In its textual form, the option --merge gives a shorter summary which fits well with the DPDK need. Signed-off-by: Thomas Monjalon --- doc/guides/linux_gsg/build_sample_apps.rst | 2 +- doc/guides/nics/mlx4.rst | 2 +- doc/guides/nics/mlx5.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/guides/linux_gsg/build_sample_apps.rst b/doc/guides/linux_gsg/build_sample_apps.rst index 78652549a7..95e7bb067d 100644 --- a/doc/guides/linux_gsg/build_sample_apps.rst +++ b/doc/guides/linux_gsg/build_sample_apps.rst @@ -142,7 +142,7 @@ This can be useful when using other processors to understand the mapping of the On Fedora Linux, this may be installed and run using the following command:: sudo yum install hwloc - ./lstopo + lstopo .. warning:: diff --git a/doc/guides/nics/mlx4.rst b/doc/guides/nics/mlx4.rst index 9742ddb268..a25add7c47 100644 --- a/doc/guides/nics/mlx4.rst +++ b/doc/guides/nics/mlx4.rst @@ -308,7 +308,7 @@ Performance tuning for better performance. For VMs, verify that the right CPU and NUMA node are pinned according to the above. Run:: - lstopo-no-graphics + lstopo-no-graphics --merge to identify the NUMA node to which the PCIe adapter is connected. diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst index 7c50497fbc..ac4d0e0450 100644 --- a/doc/guides/nics/mlx5.rst +++ b/doc/guides/nics/mlx5.rst @@ -1401,7 +1401,7 @@ Performance tuning for better performance. For VMs, verify that the right CPU and NUMA node are pinned according to the above. Run:: - lstopo-no-graphics + lstopo-no-graphics --merge to identify the NUMA node to which the PCIe adapter is connected.