Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp857297imm; Thu, 13 Sep 2018 08:46:42 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYQWoB4OeuoMdKQXulVB74tyxQt1AjIz2+WpdD9uXkQjjJS17TYmtI9IUNcBAx0G6n7nWKI X-Received: by 2002:a62:bd4:: with SMTP id 81-v6mr8077817pfl.67.1536853602319; Thu, 13 Sep 2018 08:46:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536853602; cv=none; d=google.com; s=arc-20160816; b=MVvGS6AOAZsBS84nO0+vwMJxDUiFNyOzZK3Ca+DCVbunpHhLsLN4bLBHO8RtPibs5x 8aSxsO90qRRLfNnxh2zD5wl15Al/ZO9fToGV28fNamIz1yAbQeD8ZTSMhsJObk49s+Bo 1Y15aJvKS+1wO8a4fx1gkNd4vxV8wkXPcVjUPadWSYGsw+fjfIb5arKb1iaNrm1pdf0D uy120kuAtmrfWpfOvP98IcU4wO+EhVA5BTfD2kbzqT2+HX9c50quzvkLeFAYMkBcDqqJ gZZ5X4mCAc2sGHTqhz2yh7xXnjvTxTeZA4SCbTx229eokF6SFbbFqoF4Ni9fuF3YIo01 R9qA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:user-agent:message-id:date:subject:cc:to :from; bh=7XCuRQ64Y60p1NDYqtkDbMsrRAqGiblvkft+8tA8i8g=; b=MGRfFAwX8kumjMJSRXnq0OOL2rAtiG2RVGq/r57tASCo9ju4742GPpg+TIbTSz/2Kv t1MeE8mZcbKAc/dziTTl/utYazTR+qkaHeoR99USDTMpYh9ejrwKfXbjJKbFmZp27yJ4 HL7CIMQ2/i8rCxIODAOeFFHnFgdM66VjyzFIW0guURWpmS77zzHrs5NC+QGJS/jmnZl3 kqYFmRFevp3sgLrYozt08iLZ/oI3TZGoQS6ujvatOuAaFuFAyVLRtfvX7pe18QWl90oB H5Ybg9666kcQ47+gdTD52P3Yy0gGMb0s1mJMsan02T0b8oAOS0kwSqeWdxJ3pyPy4UnF HSLQ== 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 4-v6si4324900pgw.559.2018.09.13.08.46.13; Thu, 13 Sep 2018 08:46:42 -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 S1727820AbeIMU4I convert rfc822-to-8bit (ORCPT + 99 others); Thu, 13 Sep 2018 16:56:08 -0400 Received: from dresden.studentenwerk.mhn.de ([141.84.225.229]:45526 "EHLO email.studentenwerk.mhn.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726819AbeIMU4I (ORCPT ); Thu, 13 Sep 2018 16:56:08 -0400 Received: from mailhub.studentenwerk.mhn.de (mailhub.studentenwerk.mhn.de [127.0.0.1]) by email.studentenwerk.mhn.de (Postfix) with ESMTP id 42B30B6R21zMkvh; Thu, 13 Sep 2018 17:46:02 +0200 (CEST) From: Wolfgang Walter To: Florian Westphal Cc: netdev@vger.kernel.org, Steffen Klassert , David Miller , Linux Kernel Mailing List , Linus Torvalds Subject: Re: Regression: kernel 4.14 an later very slow with many ipsec tunnels Date: Thu, 13 Sep 2018 17:46:02 +0200 Message-ID: <3448099.9yk84El3Sa@stwm.de> User-Agent: KMail/4.14.3 (Linux/4.14.61-debian64.all+1.1; KDE/4.14.13; x86_64; ; ) In-Reply-To: <20180913135844.3ut6fxgx67t6ndtu@breakpoint.cc> References: <5781211.jtEvgqSZyO@stwm.de> <20180913135844.3ut6fxgx67t6ndtu@breakpoint.cc> MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="iso-8859-1" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Donnerstag, 13. September 2018, 15:58:44 schrieb Florian Westphal: > Wolfgang Walter wrote: > > thanks to the fix from Steffen Klassert I could now run 4.14.69 + his > > patch > > and 4.18.7 + his patch without oopsing immediately. > > > > But I found that those kernels perform very bad. They perform so bad that > > they are unusable for our router with about 3000 ipsec tunnels (tunnel > > mode network <-> network). > > Can you do a 'perf record -a -g sleep 5' with 4.18 and provide 'perf > report' result? > > It would be good to see where those cycles are spent. I'll try that but this isn't that easy as the router image does not contain perf. I also have to do that on our production router. I try to do that tomorrow evening. What I can say is that it depends mainly on number of policy rules and SA. Regards -- Wolfgang Walter Studentenwerk M?nchen Anstalt des ?ffentlichen Rechts