From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] doc: introduce PVP reference benchmark Date: Tue, 20 Dec 2016 11:03:34 +0100 Message-ID: <15125480.nLCo42mjm8@xps13> References: <20161206122440.12039-1-maxime.coquelin@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: "Mcnamara, John" , "yuanhan.liu@linux.intel.com" , "Yang, Zhiyong" , "ktraynor@redhat.com" , dev@dpdk.org To: Maxime Coquelin Return-path: Received: from mail-wj0-f179.google.com (mail-wj0-f179.google.com [209.85.210.179]) by dpdk.org (Postfix) with ESMTP id EC21BFB1B for ; Tue, 20 Dec 2016 11:03:35 +0100 (CET) Received: by mail-wj0-f179.google.com with SMTP id tg4so173154391wjb.1 for ; Tue, 20 Dec 2016 02:03:35 -0800 (PST) In-Reply-To: List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > > >> Signed-off-by: Maxime Coquelin > > > > > > There is one trailing whitespace warning but apart from that: > > > > > > Acked-by: John McNamara > > > > Thanks John, > > > > Do you want me to send a v3, fixing the trailing whitespace & collecting > > the acks? > > No need (unless the tree maintainer says otherwise). > It was one trailing whitespace. Just something to look out for in future. Removed when applying. Fixed some heading issues also: --- a/doc/guides/howto/pvp_reference_benchmark.rst +++ b/doc/guides/howto/pvp_reference_benchmark.rst @@ -160,7 +160,7 @@ Testpmd launch --portmask=f --disable-hw-vlan -i --rxq=1 --txq=1 --nb-cores=4 --forward-mode=io -With this command, isolated CPUs 2 to 5 will be used as lcores for PMD threads. + With this command, isolated CPUs 2 to 5 will be used as lcores for PMD threads. #. In testpmd interactive mode, set the portlist to obtain the correct port chaining: @@ -176,7 +176,8 @@ VM launch The VM may be launched either by calling QEMU directly, or by using libvirt. -#. Qemu way: +Qemu way +^^^^^^^^ Launch QEMU with two Virtio-net devices paired to the vhost-user sockets created by testpmd. Below example uses default Virtio-net options, but options @@ -210,7 +211,8 @@ where isolated CPUs 6 and 7 will be used as lcores for Virtio PMDs: export PYTHONPATH=$PYTHONPATH:/scripts/qmp ./qmp-vcpu-pin -s /tmp/qmp.socket 1 6 7 -#. Libvirt way: +Libvirt way +^^^^^^^^^^^ Some initial steps are required for libvirt to be able to connect to testpmd's sockets. Thanks