From patchwork Thu Jan 21 05:50:40 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthew Hall X-Patchwork-Id: 10005 Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [IPv6:::1]) by dpdk.org (Postfix) with ESMTP id 86EBD8E95; Thu, 21 Jan 2016 06:50:49 +0100 (CET) Received: from mail.mhcomputing.net (master.mhcomputing.net [74.208.228.170]) by dpdk.org (Postfix) with ESMTP id 435668E7A for ; Thu, 21 Jan 2016 06:50:47 +0100 (CET) Received: from mvs-01.mhcomputing.net (99-34-229-174.lightspeed.sntcca.sbcglobal.net [99.34.229.174]) by mail.mhcomputing.net (Postfix) with ESMTPSA id 33715138; Thu, 21 Jan 2016 00:50:46 -0500 (EST) From: Matthew Hall To: dev@dpdk.org Date: Wed, 20 Jan 2016 21:50:40 -0800 Message-Id: <1453355440-29364-2-git-send-email-mhall@mhcomputing.net> X-Mailer: git-send-email 2.5.0 In-Reply-To: <1453355440-29364-1-git-send-email-mhall@mhcomputing.net> References: <1453355440-29364-1-git-send-email-mhall@mhcomputing.net> Subject: [dpdk-dev] [PKTGEN] [PATCH 2/2] usage_pktgen.rst: multiple instances: clarify EAL options needed X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Signed-off-by: Matthew Hall --- docs/source/usage_pktgen.rst | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/source/usage_pktgen.rst b/docs/source/usage_pktgen.rst index efe8aa4..223d033 100644 --- a/docs/source/usage_pktgen.rst +++ b/docs/source/usage_pktgen.rst @@ -157,4 +157,19 @@ The -m option then assigns lcores to the ports. The information from above is taken from two new files pktgen-master.sh and pktgen-slave.sh, have a look at them and adjust as you need. +The following DPDK / EAL options must be configured correctly as well: + +* ``-l lcore_id_list``: non-conflicting list of lcores for each app + +* ``--master-lcore lcore_id``: non-conflicting master lcore for each app + +* ``-m hugepage_mb / --socket-mem hugepage_mb_list``: non-conflicting amount +of hugepage memory for each app, or for each app on each CPU socket + +* ``--no-shconf``: prevents DPDK from claiming a lockfile that breaks +concurrent use of multiple apps + +* ``--file-prefix``: assigns a unique name to the hugepage mmap() files for +each app + Pktgen can also be configured using the :ref:`commands`.