From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com [209.85.212.176]) by dpdk.org (Postfix) with ESMTP id 4C4858D3C for ; Fri, 25 Sep 2015 16:12:01 +0200 (CEST) Received: by wicfx3 with SMTP id fx3so23707657wic.1 for ; Fri, 25 Sep 2015 07:12:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=dNh4CF4IyS93JJFFX0stV0OzsQjcLm//TbdHKvFLuzc=; b=KW9MwjQciIs4oAf3Y8j5RA6fEJb6BxyixJytPdvksab5WzqdeHcgDOqdJaxodYFrIO USjvHTfWtAIyLR2r84uqClaa7476V/qJebAswzvPpynadQ9msonOebypFA8zDyd0uCs/ OUsWU5Bd6tohuEMiyVrcjzaSEAV3/uDg5Fd0yWJaMno5KupGfpXJlsQJfz1A1BOpUSxO 7dbZZ3Z+L7g/rHyd6hv2mb83p7ce2L8DwiZumgEiXKM+nIkbyY0+BJ8/tw6gPmd6tpUk N11lof+vE7q5FDAqgcRMNMY9Ng4q3iQwMSEli/02J/NdKbEZE2Fx0l78Kv5HopNz/c43 4YSA== X-Gm-Message-State: ALoCoQmPqBHlQMstU9cujxSqGf2VRhxrCvIfvYFj5J4X1fpskzYVRwAP5ukNFqaUh4Xc6Ii2qwDQ X-Received: by 10.180.216.36 with SMTP id on4mr3767440wic.65.1443190321085; Fri, 25 Sep 2015 07:12:01 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id r4sm3434003wia.19.2015.09.25.07.12.00 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Sep 2015 07:12:00 -0700 (PDT) From: Thomas Monjalon To: Qian Xu Date: Fri, 25 Sep 2015 16:10:54 +0200 Message-ID: <1584750.6FoDJtCokB@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <1443095316-31699-1-git-send-email-qian.q.xu@intel.com> References: <1443095316-31699-1-git-send-email-qian.q.xu@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH v3] doc: add performance test guide to the linux gsg 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: , X-List-Received-Date: Fri, 25 Sep 2015 14:12:01 -0000 2015-09-24 19:48, Qian Xu: > --- a/doc/guides/linux_gsg/index.rst > +++ b/doc/guides/linux_gsg/index.rst > @@ -47,3 +47,4 @@ Contents > build_sample_apps > enable_func > quick_start > + perf_test_intel_platform_nic Why "test"? What about nic_perf_intel_platform? > --- /dev/null > +++ b/doc/guides/linux_gsg/perf_test_intel_platform_nic.rst [...] > +Grub Boot Parameters > +~~~~~~~~~~~~~~~~~~~~ > + > +The following are some recommendations on GRUB boot settings: > + > +#. Use the default grub file as a starting point. > + > +#. Reserve 1G huge pages via grub configurations. For example to reserve 8 huge pages of 1G size:: > + > + default_hugepagesz=1G hugepagesz=1G hugepages=8 > + > +#. Isolate CPU cores which will be used for DPDK. For example:: > + > + isolcpus=2,3,4,5,6,7,8 > + > +#. If it wants to use VFIO, use the following additional grub parameters:: > + > + iommu=pt intel_iommu=on These paramters can be set with GRUB, yes. But they are Linux command line parameters. I suggest to change the title. [...] > +4. Bind the test ports to igb_uio. For example bind two ports to a DPDK compatible driver and check the status: Not speaking about VFIO here suggests that igb_uio gives better performance. By the way, UIO/VFIO is not used by mlx4. [...] > + Note: Don't use one 2 lcores on the same core one 2 lcores? looks to be a typo [...] > +5. As it is known that a XL710 40G port need at least two queue pairs to achieve best performance, Is it well known? At least it is said here. > +8. Configure the traffic to a traffic generator such as IXIA or Spirent. > + > + * Start creating a stream on packet generator, e.g. IXIA. Not sure mentioning IXIA or Spirent helps here. Same comment for the (nice) diagram. Thanks for the documentation effort.