From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH v5 1/2] librte_lpm: Improve performance of the delete and add functions Date: Mon, 16 Jul 2018 08:17:32 -0700 Message-ID: <20180716081732.05302ae4@xeon-e3> References: <5b4c51d3.1c69fb81.7a4de.519aSMTPIN_ADDED_MISSING@mx.google.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "dev@dpdk.org" , Bruce Richardson To: Alex Kiselev Return-path: Received: from mail-pg1-f194.google.com (mail-pg1-f194.google.com [209.85.215.194]) by dpdk.org (Postfix) with ESMTP id B7F3D23C for ; Mon, 16 Jul 2018 17:17:35 +0200 (CEST) Received: by mail-pg1-f194.google.com with SMTP id y5-v6so7627130pgv.1 for ; Mon, 16 Jul 2018 08:17:35 -0700 (PDT) In-Reply-To: <5b4c51d3.1c69fb81.7a4de.519aSMTPIN_ADDED_MISSING@mx.google.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Mon, 16 Jul 2018 11:05:27 +0300 Alex Kiselev wrote: > librte_lpm: Improve lpm6 performance > > Rework the lpm6 rule subsystem and replace > current rules algorithm complexity O(n) > with hashtables which allow dealing with > large (50k) rule sets. > > Signed-off-by: Alex Kiselev Internet routers can have 1M rule sets. The cost of a hash table maybe too high then?