Received: by 2002:ac0:aa62:0:0:0:0:0 with SMTP id w31-v6csp74250ima; Thu, 25 Oct 2018 15:46:29 -0700 (PDT) X-Google-Smtp-Source: AJdET5cTzM451TwsxmJL8cCJ/7SBNS7DOylFgpWxbi3RU3gX8B/lFfXt/jN/xApaLzVD+tD2zGr6 X-Received: by 2002:a63:164d:: with SMTP id 13-v6mr984999pgw.103.1540507589659; Thu, 25 Oct 2018 15:46:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540507589; cv=none; d=google.com; s=arc-20160816; b=BH7TQQc501Hp0xiN6bJ9+QfjtbywHgtjBfCTmrapWV/j5Q+vMkRf5bN/BGAuVfdFe4 pgAGvlfioxAyhW6mTLgW9t1DHq3dvJk6DL6NPB/sJrjU+ze+0yCVrhc42ptM7F2Tiohv eBfIl3CSe492CipIfiSDm5tF3gBmpceLIqTKTd4hC2Tlih7U35oIWa+qChdaWWlbZBCq BsmcYX3awAkA5ODQRzMw/A0b1VN6o01CFZqkJ2qplROSg8kEtY15panKeGCy4Rru6Knl yqHDly9jtDAyf5eetZoSUq3V8bkFABCNZgGIYaOZZiAxrZAEVmjZ3IBuaeIbCI7dDC9T 0vOA== 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=DAdb1Ycz6HwNvXDrvUUm9fmlm2ItX6Wft4n8RTbF7kU=; b=TXYYQugh1FbyrjX1ZlpPcusbyb2Clo4ClGofOhEciVw4/uSpJ5BwBm6AHqnqkBe2QT 1f6fqsO1lSWafuGxqxyGnPX97/5xCgW4RP9s2v5HbRXlvp1UFWgd6OcV7h+G1qOryqQv BTmvl9mvZFV9QDOlQEK3GhQcs0pLUse10yut2/biUl5YIDWeXd34GLQv8jL/TX248QMG R0XEpMzqNFd1d+XtXUCTNN+DooV5mFbqJtjLLJS5AmqI5Nu7+1Bptw6HP1wztS997BmM NEPU/QGzU7z/NzS/VxA5/QHmlFO7Hqh4Z0mL0CtVRlTdu/iQ9wnlkqsRgKhGbXCJ8OlB 9VNQ== 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 bc1-v6si8705465plb.204.2018.10.25.15.46.11; Thu, 25 Oct 2018 15:46:29 -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 S1727604AbeJZHUH (ORCPT + 99 others); Fri, 26 Oct 2018 03:20:07 -0400 Received: from Chamillionaire.breakpoint.cc ([146.0.238.67]:54666 "EHLO Chamillionaire.breakpoint.cc" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727250AbeJZHUG (ORCPT ); Fri, 26 Oct 2018 03:20:06 -0400 Received: from fw by Chamillionaire.breakpoint.cc with local (Exim 4.89) (envelope-from ) id 1gFoNc-0003Y2-Li; Fri, 26 Oct 2018 00:45:28 +0200 Date: Fri, 26 Oct 2018 00:45:28 +0200 From: Florian Westphal To: Wolfgang Walter Cc: netdev@vger.kernel.org, Florian Westphal , Steffen Klassert , David Miller , linux-kernel@vger.kernel.org, torvalds@linux-foundation.org, christophe.gouault@6wind.com, Greg KH Subject: Re: Regression: kernel 4.14 an later very slow with many ipsec tunnels Message-ID: <20181025224528.5k52dq4cmq3h7tyl@breakpoint.cc> References: <20180913135844.3ut6fxgx67t6ndtu@breakpoint.cc> <20181002213536.sgjansduqenps2md@breakpoint.cc> <1729915.dWWxddREcQ@stwm.de> <2766296.15tpkxTHJV@stwm.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2766296.15tpkxTHJV@stwm.de> 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 Wolfgang Walter wrote: > there is now a new 4.19 which still has the big performance regression when > many ipsec tunnels are configured (throughput and latency get worse by 10 to > 50 times) which makes any kernel > 4.9 unusable for our routers. https://git.breakpoint.cc/cgit/fw/net-next.git/log/?h=xfrm_pol_18 This is mostly untested, if you want to test this anyway and find bugs please feel free to report them to me. Improvements to test script in patch #1 welcome as well (its what i've been using so far to test this).