From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 5F2CD1396 for ; Mon, 26 Sep 2016 15:08:03 +0200 (CEST) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga103.fm.intel.com with ESMTP; 26 Sep 2016 06:08:02 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.30,399,1470726000"; d="scan'208";a="173260233" Received: from pgsmsx108.gar.corp.intel.com ([10.221.44.103]) by fmsmga004.fm.intel.com with ESMTP; 26 Sep 2016 06:08:03 -0700 Received: from pgsmsx110.gar.corp.intel.com (10.221.44.111) by PGSMSX108.gar.corp.intel.com (10.221.44.103) with Microsoft SMTP Server (TLS) id 14.3.248.2; Mon, 26 Sep 2016 21:08:00 +0800 Received: from pgsmsx106.gar.corp.intel.com ([169.254.9.133]) by PGSMSX110.gar.corp.intel.com ([10.221.44.111]) with mapi id 14.03.0248.002; Mon, 26 Sep 2016 21:08:00 +0800 From: "Dai, Wei" To: Thomas Monjalon CC: "dev@dpdk.org" , "Richardson, Bruce" Thread-Topic: [dpdk-dev] [PATCH] app/test: remove large lpm test head file Thread-Index: AQHSF9nDJlFiwfZNwkKrWcmcxwDtK6CLApwAgAC5hlA= Date: Mon, 26 Sep 2016 13:07:59 +0000 Message-ID: <49759EB36A64CF4892C1AFEC9231E8D63A2D07C6@PGSMSX106.gar.corp.intel.com> References: <1474882625-67916-1-git-send-email-wei.dai@intel.com> <1628133.kF7SlYuiGJ@xps13> In-Reply-To: <1628133.kF7SlYuiGJ@xps13> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZmNkOTlkODItMjQxMC00OTI4LTlhM2MtZTI0NGEyMWE4ZmY2IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX0lDIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE1LjkuNi42IiwiVHJ1c3RlZExhYmVsSGFzaCI6IktQSXlsaEFcL0U1Y0Y3elNLSkxWNExSMWUreldCUno0ck15Q2htQTBYaldZPSJ9 x-ctpclassification: CTP_IC x-originating-ip: [172.30.20.205] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH] app/test: remove large lpm test head file 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: Mon, 26 Sep 2016 13:08:03 -0000 > -----Original Message----- > From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com] > Sent: Monday, September 26, 2016 5:56 PM > To: Dai, Wei > Cc: dev@dpdk.org; Richardson, Bruce > Subject: Re: [dpdk-dev] [PATCH] app/test: remove large lpm test head file >=20 > 2016-09-26 17:37, Wei Dai: > > remove the large file app/test/test_lpm_routes.h and add codes to > > auto-generate similar large route rule talbe which keeps same depth > > and IP class distribution as previous one in test_lpm_routes.h . > > With the rule table auto-generated at run time, the performance of > > looking up keep similar to that from pervious constant talbe. > > > > Signed-off-by: Wei Dai > > --- > > app/test/test_lpm.c | 2 +- > > app/test/test_lpm_perf.c | 268 +- > > app/test/test_lpm_routes.h | 1076861 > > ----------------------------------------- > > 3 files changed, 266 insertions(+), 1076865 deletions(-) delete mode > > 100644 app/test/test_lpm_routes.h >=20 > Whaouh! Good news :) > This file is 21 MB. It should help to reduce the size of a tarball. > Are you working also on the IPv6 flavour? (7 MB to save) Yes, I am designing an algorithm to auto-generate LPM IPv6 test route rule = and test input data. As the number of next table to be checked during a looking-up varies much m= ore and depends on the pre-injected rule sets, to keep the similar performance for looking-up = is more difficult than IPv4. Regards /Wei=20