Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1019763imm; Fri, 14 Sep 2018 09:51:27 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYspyRvSs9PpH2Cozy/Vzr4J4nTdMcfElixVoOzYdt+LnYYHKZEEvy30ba1iOxPfASjivHs X-Received: by 2002:a17:902:bd04:: with SMTP id p4-v6mr13238606pls.105.1536943887857; Fri, 14 Sep 2018 09:51:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536943887; cv=none; d=google.com; s=arc-20160816; b=bJc8zkhP1f8Ita8TlQy56gDSIvT6/Tk0CleFu2zdaqkvkmsDmui1l+fEtsy1jB/jML iM0bFOhk/uiAQQA7geWSNy+OsarApJvqb04fVCIALJ+y5Z3u9eUmYxZoCLqebu37qU93 ORdTY9piJ/ed0e/6MS8OdtZLgvVVVv/+MOshGAXW0huTUdYoabBhHYGJab5XmHfi/BPv KVysP22vUNSHFgeYLldyAFmvke9JSnqCAaJJ8svcPJJb2tbAeypppHxjtVvvSUlHDdm2 57Ns/rudjwZNdSNRaXIOEPUD+qyMo1iumnjF65BVZDUc5Mu32mQT1U2tJpe8JhF1LVyv z3jQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version; bh=jXGu4V3s/JyJu6rfd4hhV0nbXvwLNDwruaMOGk2Sbf4=; b=V6RPe357ttXDo43lbdZSIQEVmCnYrvV1pqxt686guiDnneHBLaIi8ANnPvyDPPyfWb YxUdQXquKHAXUz+Z5fNjSn9n3hGcIXGR9JHsStisi7kV/GECzX6NmZgCc8gU52L9Incl YvN/biskN7FDpj/NbJftmTI/il6AovTXx5+Bvl/v8t2rzkL4qv2NGdU0FFbxVX82L/Ny dJn3PgYo2pwsSmpbd3XXHzHgwFHjR+okUmnIss+zN/SJiH7Aqze7kMx682Sdkmkl1yc2 Nqj/tpf3RnQnx32cpFD8Qoq74n8x+uMD7fvz/8sAiBr4/mLJboNKWznknLMQ6++suDS4 mcdA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1-v6si7531381plw.121.2018.09.14.09.51.12; Fri, 14 Sep 2018 09:51:27 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728023AbeINWGQ (ORCPT + 99 others); Fri, 14 Sep 2018 18:06:16 -0400 Received: from mail-oi0-f68.google.com ([209.85.218.68]:45469 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726902AbeINWGQ (ORCPT ); Fri, 14 Sep 2018 18:06:16 -0400 Received: by mail-oi0-f68.google.com with SMTP id t68-v6so13365581oie.12 for ; Fri, 14 Sep 2018 09:50:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=jXGu4V3s/JyJu6rfd4hhV0nbXvwLNDwruaMOGk2Sbf4=; b=Nnv0RWiHhOlNHghzYOupawSw7m94nUdKGKNTdvUPd27OajqiwYrgHcKzYnh0N1a9p3 8cbEnLy1Oh4YUxB0PBtcldR3VcMnSei0zpEUKgvUSdv77scldZ4Vu4zgUh+rpXddEjQB HXdBfO50I9kpeSj6VXIJmBVm2mthw7j33J9E3A8MbyGqevjGJJebCkzlYfaUstdrQLW+ tDDOJxnQa7Gz0e+EfOR3fj3cem6fi/cLAlE4swFUs7nTitjLRt1bX/10dNqoIKCfWZts 7EYIGnxCkfpLJ4lcB5kXHushmY1x7SEQ0awu0aWn69ouAZRtcMV580SW3DIAjGO55rLB 9Rig== X-Gm-Message-State: APzg51DamApqL+ekk5Exk6wm4XaHCuBO0h3fZr3h4j5tAThIS/XOQ13y CqvCOFUvL2vvQca78IZoE1SvPm2PPj4MDXZ3tagPFw== X-Received: by 2002:aca:cf44:: with SMTP id f65-v6mr10622327oig.356.1536943857442; Fri, 14 Sep 2018 09:50:57 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a4a:554b:0:0:0:0:0 with HTTP; Fri, 14 Sep 2018 09:50:56 -0700 (PDT) In-Reply-To: References: <20180717100329.yfy7igdsrpk5ujf4@techsingularity.net> <20180904090053.GB1719@techsingularity.net> <20180906125843.GC1719@techsingularity.net> From: Jirka Hladky Date: Fri, 14 Sep 2018 18:50:56 +0200 Message-ID: Subject: Re: [4.17 regression] Performance drop on kernel-4.17 visible on Stream, Linpack and NAS parallel benchmarks To: Mel Gorman Cc: Kamil Kolakowski , Jakub Racek , linux-kernel , "Rafael J. Wysocki" , Len Brown , linux-acpi@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Mel, we have tried to revert following 2 commits: 305c1fac3225 2d4056fafa196e1ab We had to revert 10864a9e222048a862da2c21efa28929a4dfed15 as well. The performance of the kernel was better than when only 2d4056fafa196e1ab was reverted but still worse than the performance of 4.18 kernel. Since the patch series from Srikar shows very good results we would wait till it's merged to mainline kernel and stop the bisecting efforts for now. Your patch series sched-numa-fast-crossnode-v1r12 (on top of 4.18) is giving in some cases slightly better results than Srikar's series so it would be really great if both series could be merged together. Removing NUMA migration rate limit helps performance. Thanks a lot for your help on this! Jirka On Fri, Sep 7, 2018 at 10:09 AM, Jirka Hladky wrote: >> Maybe 305c1fac3225dfa7eeb89bfe91b7335a6edd5172. That introduces a weird >> condition in terms of idle CPU handling that has been problematic. > > > We will try that, thanks! > >> I would suggest contacting Srikar directly. > > > I will do that right away. Whom should I put on Cc? Just you and > linux-kernel@vger.kernel.org ? Should I put Ingo and Peter on Cc as > well? > > $scripts/get_maintainer.pl -f kernel/sched > Ingo Molnar (maintainer:SCHEDULER) > Peter Zijlstra (maintainer:SCHEDULER) > linux-kernel@vger.kernel.org (open list:SCHEDULER) > > Jirka > > On Thu, Sep 6, 2018 at 2:58 PM, Mel Gorman wrote: >> On Thu, Sep 06, 2018 at 10:16:28AM +0200, Jirka Hladky wrote: >>> Hi Mel, >>> >>> we have results with 2d4056fafa196e1ab4e7161bae4df76f9602d56d reverted. >>> >>> * Compared to 4.18, there is still performance regression - >>> especially with NAS (sp_C_x subtest) and SPECjvm2008. On 4 NUMA >>> systems, regression is around 10-15% >>> * Compared to 4.19rc1 there is a clear gain across all benchmarks around 20% >>> >> >> Ok. >> >>> While reverting 2d4056fafa196e1ab4e7161bae4df76f9602d56d has helped a >>> lot there is another issue as well. Could you please recommend some >>> commit prior to 2d4056fafa196e1ab4e7161bae4df76f9602d56d to try? >>> >> >> Maybe 305c1fac3225dfa7eeb89bfe91b7335a6edd5172. That introduces a weird >> condition in terms of idle CPU handling that has been problematic. >> >>> Regarding the current results, how do we proceed? Could you please >>> contact Srikar and ask for the advice or should we contact him >>> directly? >>> >> >> I would suggest contacting Srikar directly. While I'm working on a >> series that touches off some similar areas, there is no guarantee it'll >> be a success as I'm not primarily upstream focused at the moment. >> >> Restarting the thread would also end up with a much more sensible cc >> list. >> >> -- >> Mel Gorman >> SUSE Labs