From patchwork Thu Jan 21 05:50:39 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthew Hall X-Patchwork-Id: 10004 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 719858E7F; Thu, 21 Jan 2016 06:50:48 +0100 (CET) Received: from mail.mhcomputing.net (master.mhcomputing.net [74.208.228.170]) by dpdk.org (Postfix) with ESMTP id 863808E7A for ; Thu, 21 Jan 2016 06:50:46 +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 A2034BF; Thu, 21 Jan 2016 00:50:45 -0500 (EST) From: Matthew Hall To: dev@dpdk.org Date: Wed, 20 Jan 2016 21:50:39 -0800 Message-Id: <1453355440-29364-1-git-send-email-mhall@mhcomputing.net> X-Mailer: git-send-email 2.5.0 Subject: [dpdk-dev] [PKTGEN] [PATCH 1/2] usage_pktgen.rst: multiple instances: clean up section intro 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 | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/source/usage_pktgen.rst b/docs/source/usage_pktgen.rst index 20bd314..efe8aa4 100644 --- a/docs/source/usage_pktgen.rst +++ b/docs/source/usage_pktgen.rst @@ -103,15 +103,15 @@ Multiple Instances of Pktgen or other application ================================================= One possible solution I use and if you have enough ports available to use. -Lets say you need two ports for your application, but you have 4 ports in -your system. I physically loop back the cables to have port 0 connect to -port 2 and port 1 connected to port 3. Now I can give two ports to my -application and two ports to Pktgen. - -Setup if pktgen and your application you have to startup each one a bit -differently to make sure they share the resources like memory and the -ports. I will use two Pktgen running on the same machine, which just means -you have to setup your application as one of the applications. +Let's say you need two ports for your application, but you have 4 ports in +your system. I physically loop back the cables to have port 0 connect to port +2 and port 1 connected to port 3. Now I can give two ports to my application +and two ports to Pktgen. + +If you are running pktgen and your application together, you have to start up +each one a bit differently to make sure they share the resources like memory +and the ports. I will use two Pktgens running on the same machine, which just +means you have imagine your application as one of the applications. In my machine I have 8 10G ports and 72 lcores between 2 sockets. Plus I have 1024 hugepages per socket for a total of 2048.