DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Dai, Wei" <wei.dai@intel.com>
To: Thomas Monjalon <thomas.monjalon@6wind.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>,
	"Richardson, Bruce" <bruce.richardson@intel.com>
Subject: Re: [dpdk-dev] [PATCH] app/test: remove large lpm test head file
Date: Mon, 26 Sep 2016 13:07:59 +0000	[thread overview]
Message-ID: <49759EB36A64CF4892C1AFEC9231E8D63A2D07C6@PGSMSX106.gar.corp.intel.com> (raw)
In-Reply-To: <1628133.kF7SlYuiGJ@xps13>

> -----Original Message-----
> From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com]
> Sent: Monday, September 26, 2016 5:56 PM
> To: Dai, Wei <wei.dai@intel.com>
> Cc: dev@dpdk.org; Richardson, Bruce <bruce.richardson@intel.com>
> Subject: Re: [dpdk-dev] [PATCH] app/test: remove large lpm test head file
> 
> 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 <wei.dai@intel.com>
> > ---
> >  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
> 
> 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 more and depends on
the pre-injected rule sets, to keep the similar performance for looking-up is more difficult than IPv4.

Regards
/Wei 

  reply	other threads:[~2016-09-26 13:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-26  9:37 Wei Dai
2016-09-26  9:56 ` Thomas Monjalon
2016-09-26 13:07   ` Dai, Wei [this message]
2016-09-26 10:06 ` Bruce Richardson
2016-09-26 13:49   ` Dai, Wei
2016-09-27 17:38 ` [dpdk-dev] [PATCH v2] " Wei Dai
2016-09-28  8:41   ` Bruce Richardson
2016-09-28 15:19     ` Dai, Wei
2016-10-13 13:28   ` Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49759EB36A64CF4892C1AFEC9231E8D63A2D07C6@PGSMSX106.gar.corp.intel.com \
    --to=wei.dai@intel.com \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=thomas.monjalon@6wind.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).