From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 24 Jan 2017 00:56:26 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,277,1477983600"; d="scan'208";a="1086624072" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga001.jf.intel.com with ESMTP; 24 Jan 2017 00:56:26 -0800 Received: from fmsmsx115.amr.corp.intel.com (10.18.116.19) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 24 Jan 2017 00:56:26 -0800 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx115.amr.corp.intel.com (10.18.116.19) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 24 Jan 2017 00:56:25 -0800 Received: from shsmsx103.ccr.corp.intel.com ([169.254.4.20]) by SHSMSX104.ccr.corp.intel.com ([10.239.4.70]) with mapi id 14.03.0248.002; Tue, 24 Jan 2017 16:56:23 +0800 From: "Liu, Yong" To: "Hunt, David" , "dev@dpdk.org" CC: "Richardson, Bruce" Thread-Topic: [dpdk-dev] [PATCH v6 0/6] distributor library performance enhancements Thread-Index: AQHSdZUo8Npsw6q2VEOvPr57BGtwAqFHU+Ng 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> In-Reply-To: <1485163480-156507-1-git-send-email-david.hunt@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v6 0/6] distributor library performance enhancements X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jan 2017 08:56:28 -0000 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