From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Fleming Subject: Re: Serious performance degradation in Linux 4.15 Date: Fri, 16 Feb 2018 14:38:39 +0000 Message-ID: <20180216143839.GA3203@codeblueprint.co.uk> References: <20180212151642.GU25201@hirez.programming.kicks-ass.net> <20180214224620.GA3421@codeblueprint.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Jon Maloy , "netdev@vger.kernel.org" , "mingo@kernel.org" , "David Miller (davem@davemloft.net)" , Mike Galbraith To: Peter Zijlstra Return-path: Received: from mail-pg0-f47.google.com ([74.125.83.47]:42772 "EHLO mail-pg0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750832AbeBPOin (ORCPT ); Fri, 16 Feb 2018 09:38:43 -0500 Received: by mail-pg0-f47.google.com with SMTP id y8so2548352pgr.9 for ; Fri, 16 Feb 2018 06:38:43 -0800 (PST) Content-Disposition: inline In-Reply-To: <20180214224620.GA3421@codeblueprint.co.uk> Sender: netdev-owner@vger.kernel.org List-ID: On Wed, 14 Feb, at 10:46:20PM, Matt Fleming wrote: > On Mon, 12 Feb, at 04:16:42PM, Peter Zijlstra wrote: > > On Fri, Feb 09, 2018 at 05:59:12PM +0000, Jon Maloy wrote: > > > Command for TCP: > > > "netperf TCP_STREAM (netperf -n 4 -f m -c 4 -C 4 -P 1 -H 10.0.0.1 -t TCP_STREAM -l 10 -- -O THROUGHPUT)" > > > Command for TIPC: > > > "netperf TIPC_STREAM (netperf -n 4 -f m -c 4 -C 4 -P 1 -H 10.0.0.1 -t TCP_STREAM -l 10 -- -O THROUGHPUT)" > > > > That looks like identical tests to me. And my netperf (debian testing) > > doesn't appear to have -t TIPC_STREAM. > > > > Please try a coherent report and I'll have another look. Don't (again) > > forget to mention what kind of setup you're running this on. > > > > > > On my IVB-EP (2 sockets, 10 cores, 2 threads), performance cpufreq, > > PTI=n RETPOLINE=n, I get: > > Here's some more numbers. This is with RETPOLINE=y but you'll see it > doesn't make much of a difference. Oh, this is also with powersave > cpufreq governor. Feh, I was wrong. The differences in performance I see are entirely due to CONFIG_RETPOLINE and CONFIG_PAGE_TABLE_ISOLATION being enabled.