From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 757FCA00E6 for ; Mon, 18 Mar 2019 06:24:13 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 15F431DBD; Mon, 18 Mar 2019 06:24:13 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 27F9B11A4 for ; Mon, 18 Mar 2019 06:24:10 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Mar 2019 22:24:09 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,492,1544515200"; d="scan'208";a="328180600" Received: from compression-clc.sh.intel.com ([10.67.110.166]) by fmsmga006.fm.intel.com with ESMTP; 17 Mar 2019 22:24:09 -0700 From: Zhe To: dts@dpdk.org Cc: Zhe Wan Date: Mon, 18 Mar 2019 09:14:14 -0400 Message-Id: <1552914854-24357-1-git-send-email-zhe.wan@intel.com> X-Mailer: git-send-email 1.8.3.1 Subject: [dts] [PATCH V1] test_plans/efd: test plan revise X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" From: Zhe Wan Signed-off-by: Zhe Wan --- test_plans/efd_test_plan.rst | 43 +++++++++++++++++++++++++++++-------------- 1 file changed, 29 insertions(+), 14 deletions(-) diff --git a/test_plans/efd_test_plan.rst b/test_plans/efd_test_plan.rst index d6962e7..dfde28a 100644 --- a/test_plans/efd_test_plan.rst +++ b/test_plans/efd_test_plan.rst @@ -58,6 +58,9 @@ Two ports connect to packet generator. DUT board must be two sockets system and each cpu have more than 16 lcores. +Unit test cases +=================== + Test Case: EFD function unit test --------------------------------- Start test application and run efd unit test:: @@ -77,28 +80,20 @@ Verify when key size increased, no significant increment in cpu cycles. Verify when value bits increased, no significant increment in cpu cycles. Compare with cuckoo hash performance result, lookup cycles should be less. -Test Case: Load balancer performance based on EFD -------------------------------------------------- +Performance test cases +============================== In EFD sample, EFD work as a flow-level load balancer. Flows are received at a front end server before being forwarded to the target back end server for processing. This case will measure the performance of flow distribution with different parameters. -Value bits: number of bits of value that be stored in EFD table Nodes: number of back end nodes Entries: number of flows to be added in EFD table +Value bits: number of bits of value that be stored in EFD table -+--------------+-------+-----------+------------+ -| Value Bits | Nodes | Entries | Throughput | -+--------------+-------+-----------+------------+ -| 8 | 2 | 2M | | -+--------------+-------+-----------+------------+ -| 16 | 2 | 2M | | -+--------------+-------+-----------+------------+ -| 24 | 2 | 2M | | -+--------------+-------+-----------+------------+ -| 32 | 2 | 2M | | -+--------------+-------+-----------+------------+ +Test Case: Load balancer performance based on node numbers +---------------------------------------------------------------------- +This case will measure the performance based on node numbers. +--------------+-------+-----------+------------+ | Value Bits | Nodes | Entries | Throughput | @@ -120,6 +115,10 @@ Entries: number of flows to be added in EFD table | 8 | 8 | 2M | | +--------------+-------+-----------+------------+ +Test Case: Load balancer performance based on flow numbers +----------------------------------------------------------------------- +This case will measure the performance based on flow numbers. + +--------------+-------+-----------+------------+ | Value Bits | Nodes | Entries | Throughput | +--------------+-------+-----------+------------+ @@ -135,3 +134,19 @@ Entries: number of flows to be added in EFD table +--------------+-------+-----------+------------+ | 8 | 2 | 32M | | +--------------+-------+-----------+------------+ + +Test Case: Load balancer performance based on value bits +----------------------------------------------------------------------- +This case will measure the performance based on value bits. + ++--------------+-------+-----------+------------+ +| Value Bits | Nodes | Entries | Throughput | ++--------------+-------+-----------+------------+ +| 8 | 2 | 2M | | ++--------------+-------+-----------+------------+ +| 16 | 2 | 2M | | ++--------------+-------+-----------+------------+ +| 24 | 2 | 2M | | ++--------------+-------+-----------+------------+ +| 32 | 2 | 2M | | ++--------------+-------+-----------+------------+ -- 1.8.3.1