From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Liu, Yong" Subject: Re: [PATCH v6 0/6] distributor library performance enhancements Date: Tue, 24 Jan 2017 08:56:22 +0000 Message-ID: <86228AFD5BCD8E4EBFD2B90117B5E81E62D5223B@SHSMSX103.ccr.corp.intel.com> References: <1484903933-127190-2-git-send-email-david.hunt@intel.com> <1485163480-156507-1-git-send-email-david.hunt@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Cc: "Richardson, Bruce" To: "Hunt, David" , "dev@dpdk.org" Return-path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 18ECF108D for ; Tue, 24 Jan 2017 09:56:27 +0100 (CET) In-Reply-To: <1485163480-156507-1-git-send-email-david.hunt@intel.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Tested-by: Yong Liu - Tested Branch: master - Tested Commit: 61207d014fc906302a184ae2f779b54ccfd0cd4c - OS: Fedora20 4.9.0 - GCC: gcc version 4.8.3 20140911 - CPU: Intel(R) Xeon(R) CPU E5-2699 v3 @ 2.30GHz - NIC: Intel Corporation Device Fortville [8086:1584] - Default x86_64-native-linuxapp-gcc configuration - Prerequisites: - Total 6 cases, 6 passed, 0 failed - Prerequisites command / instruction: Intel(r) X710 (Fortville) NIC plugged in - Case: Distributor unit test Description: check burst packet distributor API work fine Command / instruction: Start test application and run distributor unit test test -c f -n 4 -- -i RTE>>distributor_autotest Verify burst distributor API unit test passed - Case: Distributor performance unit test Description: check burst packet distributor API performance Command / instruction: Start test application and run distributor unit test test -c f -n 4 -- -i RTE>>distributor_perf_autotest Compared CPU cycles for normal distributor and burst API Verify burst distributor API cost much less cycles then legacy library - Case: Distributor library function check Description: check burst packet distributor API performance Command / instruction: Start distributor sample with one worker:: distributor_app -c 0x7c -n 4 -- -p 0x1 Send few packets (less then burst 8) with sequence index Check forwarded packets are all in sequence and content not changed Send packets equal to burst size with sequence index Check forwarded packets are all in sequence and content not changed Send packets over burst size with sequence index Check forwarded packets are all in sequence and content not changed - Case: Distributor between multiple workers Description: check burst packet distributor sample performance Command / instruction: Start distributor sample with multiple workers:: distributor_app -c 0xfc -n 4 -- -p 0x1 Send several packets with IP address increasing Check packets distributed to all workers Repeat these steps for 4/8/16/32 workers - Case: Distributor between maximum workers Description: check burst packet distributor can work with 63 workers Command / instruction: Start distributor sample with multiple workers:: distributor_app -c 0xeffffffffffffffff0 -n 4 -- -p 0x1 Send several packets with IP address increasing Check packets distributed to all workers =20 - Case: Distributor packets from multiple input ports Description: check burst packet distributor work with multiple inputs Command / instruction: Start distributor sample with multiple workers:: distributor_app -c 0x7c -n 4 -- -p 0x3 Send several packets from two tester ports with different IP Check packets forwarded back > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of David Hunt > Sent: Monday, January 23, 2017 5:25 PM > To: dev@dpdk.org > Cc: Richardson, Bruce > Subject: [dpdk-dev] [PATCH v6 0/6] distributor library performance > enhancements