Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp2277654ima; Thu, 25 Oct 2018 12:25:05 -0700 (PDT) X-Google-Smtp-Source: AJdET5cibFk8Qu+IBkRyOtxSNuaiRiR23FuQWfZmP93cqyuFoZox4jUn1PXvraY+wWAjQ3G9X8z5 X-Received: by 2002:a17:902:b203:: with SMTP id t3-v6mr478849plr.128.1540495504998; Thu, 25 Oct 2018 12:25:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540495504; cv=none; d=google.com; s=arc-20160816; b=mkMuiXRZiEwDr0/BeiUXNzn2RtFBvPh2JFk9hVwn6XEiZdWoaP7YM6bmWBf8anuNyT GV8/GQXoMKc477hYSrgyTXVQ45mvXtc1tUrDaWAaZU6pZM08jCAV+cfj4WLhs/4PZLVL Boodad51yDPZaw2+P0BXa+K6rVEQ4L6/sqAOslD9jTqIHx3hJXU1bhF5kssiSR/rwl77 A4XInl0ksZ297nRBj4fiPS7keMFieHuB3CmNROTA29Jd99BhFGkE0G7Ijpqty+Vu88n5 rCsBQDNibMyTcxhntfMhuNJ3wbT4ZNAgM5Y+BYaEDhpZPYzGCsq7b5GoG8xkGsIwvyfS uURw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=O0DypjV5SPdSLq1CS4Mq2y9ycF+3SLwTR5QWBGKYrfQ=; b=krqyQiEe9xqg2T2vBY1HrxxyJ+rRv0qAHXvA6iuvaaTr5bD0XzWTjzYBissI7E0D3l QarrLDqLeVnS2cP6gm/ZjvVSEKEteZSuyb9DBH0hsP6UtajA920vpRFy9x6TsqcPrMl1 BFabKj/p5yH6R8L+9pCAJBHAtZhzjeCiJ7D6M8L22jHRLlpt6CeSNyC3ImCzhkbiIei5 57DJZm3lPrAvbNy4JaMr1x3Cnrjx6NIQzPWEceM4GeFCmJAWO9pKMqz05AIPYxwxVHoZ 8jmYFnPIC4Z7K/t/NRs8N20/Go0lRQqoQeALAE46R5PY07AQJGbAnYYM//snuhOh8ux0 mS5A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q13-v6si3848825pgm.239.2018.10.25.12.24.48; Thu, 25 Oct 2018 12:25:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727792AbeJZD62 (ORCPT + 99 others); Thu, 25 Oct 2018 23:58:28 -0400 Received: from Chamillionaire.breakpoint.cc ([146.0.238.67]:54088 "EHLO Chamillionaire.breakpoint.cc" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726580AbeJZD62 (ORCPT ); Thu, 25 Oct 2018 23:58:28 -0400 Received: from fw by Chamillionaire.breakpoint.cc with local (Exim 4.89) (envelope-from ) id 1gFlEy-0002cr-JD; Thu, 25 Oct 2018 21:24:20 +0200 Date: Thu, 25 Oct 2018 21:24:20 +0200 From: Florian Westphal To: David Miller Cc: linux@stwm.de, netdev@vger.kernel.org, fw@strlen.de, steffen.klassert@secunet.com, linux-kernel@vger.kernel.org, torvalds@linux-foundation.org, christophe.gouault@6wind.com, gregkh@linuxfoundation.org Subject: Re: Regression: kernel 4.14 an later very slow with many ipsec tunnels Message-ID: <20181025192420.2dwxiniutqrqrc7h@breakpoint.cc> References: <20181002213536.sgjansduqenps2md@breakpoint.cc> <1729915.dWWxddREcQ@stwm.de> <2766296.15tpkxTHJV@stwm.de> <20181025.103450.1966639999117342457.davem@davemloft.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181025.103450.1966639999117342457.davem@davemloft.net> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org David Miller wrote: > Please work diligently with Florian and others to try and find ways to > soften the performance hit. I will send a patch series that pre-sorts inexact policies into rbtrees at insert time as soon as next-next opens up again.