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>
.. 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::
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.
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.