X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=doc%2Fguides%2Flinux_gsg%2Fnic_perf_intel_platform.rst;h=dbfaf4e350a9b1c11f0db0801e34e433bfbe3b7c;hb=2e4859f3b362fa2960d71dc70b77a13a24f5c228;hp=987cd0a5a19c035b7c72258ac5f455c76503b5b5;hpb=8f87ba7015bf5a0a8b658b68918f1561c9a04320;p=dpdk.git diff --git a/doc/guides/linux_gsg/nic_perf_intel_platform.rst b/doc/guides/linux_gsg/nic_perf_intel_platform.rst index 987cd0a5a1..dbfaf4e350 100644 --- a/doc/guides/linux_gsg/nic_perf_intel_platform.rst +++ b/doc/guides/linux_gsg/nic_perf_intel_platform.rst @@ -1,3 +1,6 @@ +.. SPDX-License-Identifier: BSD-3-Clause + Copyright(c) 2015 Intel Corporation. + How to get best performance with NICs on Intel platforms ======================================================== @@ -64,7 +67,7 @@ This aligns with the previous output which showed that each channel has one memo Network Interface Card Requirements ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Use a `DPDK supported `_ high end NIC such as the Intel XL710 40GbE. +Use a `DPDK supported `_ high end NIC such as the Intel XL710 40GbE. Make sure each NIC has been flashed the latest version of NVM/firmware. @@ -90,17 +93,15 @@ BIOS Settings The following are some recommendations on BIOS settings. Different platforms will have different BIOS naming so the following is mainly for reference: -#. Before starting consider resetting all BIOS settings to their default. - -#. Disable all power saving options such as: Power performance tuning, CPU P-State, CPU C3 Report and CPU C6 Report. +#. Establish the steady state for the system, consider reviewing BIOS settings desired for best performance characteristic e.g. optimize for performance or energy efficiency. -#. Select **Performance** as the CPU Power and Performance policy. +#. Match the BIOS settings to the needs of the application you are testing. -#. Disable Turbo Boost to ensure the performance scaling increases with the number of cores. +#. Typically, **Performance** as the CPU Power and Performance policy is a reasonable starting point. -#. Set memory frequency to the highest available number, NOT auto. +#. Consider using Turbo Boost to increase the frequency on cores. -#. Disable all virtualization options when you test the physical function of the NIC, and turn on ``VT-d`` if you wants to use VFIO. +#. Disable all virtualization options when you test the physical function of the NIC, and turn on VT-d if you wants to use VFIO. Linux boot command line @@ -126,17 +127,11 @@ The following are some recommendations on GRUB boot settings: Configurations before running DPDK ---------------------------------- -1. Build the DPDK target and reserve huge pages. +1. Reserve huge pages. See the earlier section on :ref:`linux_gsg_hugepages` for more details. - The following shell commands may help with building and configuration: - .. code-block:: console - # Build DPDK target. - cd dpdk_folder - make install T=x86_64-native-linuxapp-gcc -j - # Get the hugepage size. awk '/Hugepagesize/ {print $2}' /proc/meminfo @@ -152,7 +147,7 @@ Configurations before running DPDK # Mount to the specific folder. mount -t hugetlbfs nodev /mnt/huge -2. Check the CPU layout using using the DPDK ``cpu_layout`` utility: +2. Check the CPU layout using the DPDK ``cpu_layout`` utility: .. code-block:: console