X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=doc%2Fguides%2Fsample_app_ug%2Fdist_app.rst;h=3bd03905c34afda26f298016efbbbe2d249fe864;hb=769b2de7fb528607bee5cc443dbcddb905a8f61e;hp=45a513130353317ea613d86adfeb11eb4b97e8b4;hpb=7cacb05655397c0c50bcba89eb836d417bc78b69;p=dpdk.git diff --git a/doc/guides/sample_app_ug/dist_app.rst b/doc/guides/sample_app_ug/dist_app.rst index 45a5131303..3bd03905c3 100644 --- a/doc/guides/sample_app_ug/dist_app.rst +++ b/doc/guides/sample_app_ug/dist_app.rst @@ -1,38 +1,13 @@ -.. BSD LICENSE - Copyright(c) 2010-2014 Intel Corporation. All rights reserved. - All rights reserved. - - Redistribution and use in source and binary forms, with or without - modification, are permitted provided that the following conditions - are met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in - the documentation and/or other materials provided with the - distribution. - * Neither the name of Intel Corporation nor the names of its - contributors may be used to endorse or promote products derived - from this software without specific prior written permission. - - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS - "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR - A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT - OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, - DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY - THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT - (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.. SPDX-License-Identifier: BSD-3-Clause + Copyright(c) 2010-2014 Intel Corporation. Distributor Sample Application ============================== The distributor sample application is a simple example of packet distribution -to cores using the Data Plane Development Kit (DPDK). +to cores using the Data Plane Development Kit (DPDK). It also makes use of +Intel Speed Select Technology - Base Frequency (Intel SST-BF) to pin the +distributor to the higher frequency core if available. Overview -------- @@ -67,18 +42,18 @@ Running the Application .. code-block:: console - ./build/distributor_app [EAL options] -- -p PORTMASK + .//examples/dpdk-distributor [EAL options] -- -p PORTMASK where, * -p PORTMASK: Hexadecimal bitmask of ports to configure -#. To run the application in linuxapp environment with 10 lcores, 4 ports, +#. To run the application in linux environment with 10 lcores, 4 ports, issue the command: .. code-block:: console - $ ./build/distributor_app -l 1-9,22 -n 4 -- -p f + $ .//examples/dpdk-distributor -l 1-9,22 -n 4 -- -p f #. Refer to the DPDK Getting Started Guide for general information on running applications and the Environment Abstraction Layer (EAL) options. @@ -128,6 +103,22 @@ final statistics to the user. Distributor Sample Application Layout +Intel SST-BF Support +-------------------- + +In DPDK 19.05, support was added to the power management library for +Intel-SST-BF, a technology that allows some cores to run at a higher +frequency than others. An application note for Intel SST-BF is available, +and is entitled +`Intel Speed Select Technology – Base Frequency - Enhancing Performance `_ + +The distributor application was also enhanced to be aware of these higher +frequency SST-BF cores, and when starting the application, if high frequency +SST-BF cores are present in the core mask, the application will identify these +cores and pin the workloads appropriately. The distributor core is usually +the bottleneck, so this is given first choice of the high frequency SST-BF +cores, followed by the rx core and the tx core. + Debug Logging Support ---------------------