]> git.droids-corp.org - dpdk.git/commitdiff
doc: improve lstopo tip
authorThomas Monjalon <thomas@monjalon.net>
Mon, 8 Mar 2021 22:25:52 +0000 (23:25 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 21 May 2021 13:42:02 +0000 (15:42 +0200)
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 <thomas@monjalon.net>
doc/guides/linux_gsg/build_sample_apps.rst
doc/guides/nics/mlx4.rst
doc/guides/nics/mlx5.rst

index 78652549a79efaacddbda75eb4117cf217031abc..709b301427d746d0d570eb6d856c924cc3569aa4 100644 (file)
@@ -138,11 +138,16 @@ This can be useful when using other processors to understand the mapping of the
 
 .. note::
 
-    A more graphical view of the logical core layout may be obtained using the ``lstopo`` Linux utility.
-    On Fedora Linux, this may be installed and run using the following command::
+   A more graphical view of the logical core layout
+   may be obtained using the ``lstopo`` Linux utility.
+   On Fedora, this may be installed and run using the following commands::
 
-        sudo yum install hwloc
-        ./lstopo
+      sudo yum install hwloc
+      lstopo
+
+   This command produces a quite short textual output::
+
+      lstopo-no-graphics --merge
 
 .. warning::
 
index 9742ddb268149874ecbf48344e3a4136b471172f..a25add7c476ab166de9b4f24eef957d9033b896e 100644 (file)
@@ -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.
 
index 220c6e505aeab613cfd1693ad2631deb8a4c00b5..83299646ddb1f641278f6f70a9cab2000b4d4808 100644 (file)
@@ -1496,7 +1496,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.