Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2359424imm; Tue, 4 Sep 2018 03:08:46 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZ+0OOOxJZ7cAbowwEbOqe655THTA/KDsbG5+l5ADOi0nfq2rmDNOEgYsKyJajOqopO59uP X-Received: by 2002:a63:f244:: with SMTP id d4-v6mr5724917pgk.2.1536055726873; Tue, 04 Sep 2018 03:08:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536055726; cv=none; d=google.com; s=arc-20160816; b=v8EeOYZbc0hLb5JDls3yoWefyKBr+qgUdiALmil6JgD8CqYast6kPTagwQdyrYdkiR 7kzTysANLvuNKMiBD45Y/KCJ07qOGcAxevs2rQAXlAr6lkpi4mYMZ/ykJ0FRcLhW80MR YefTk1z+8g3tD0XllTwvlFiQCcOH6ctAC02VFvgi02nxzyzaxVEWypWdCnQXHHZ0DA2U +Z1x18twWwAYjPtLmhrocc2YPsSUAlT3j87T9kJatITemRNxFpd/ufP7dRSYtFuxeO6G Dhtz4UmlWbtdK3pkIsPQpljyHQ6OqR43q9WX3FO0Oe+v5V6bqqut1aZiu2ThUBsB6lFf s6Wg== 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:arc-authentication-results; bh=Eu6OCREN1PM4syjrjLQKSOLqja1ZpMYW2gkFhuueIh0=; b=DFhQiByg0AjWafDlq5RXFUcCgv9NBVrTMl+a9bUH5M1NZ9a3cGy42ejsQg1kyIFP3L Ga0jzUwiRbkHmDK/37y6mLD1t+eS+ivcxY/A4lJGzEdmHB3xUUDiRuMbT8pzI01sYL6F 45zQklqp+qX4ypxyjPSn14kJjPO/SVhcaN9FpBeXaqj50YDp5OPE3VnwUv+FNLhLNtNL 3zUfZVGTZG9jH9rlb2uNDk/9z692QfXGmXEMZqgrsy368nYjXW0ZuLxbqS/ab8dcwSnF sKXd4N19jVf9zb8CBeWsWMYVGb0h7JsGzWiF4CjD88fI1fj4ycpKPHHHwf8bgEgES9Xj JwOw== 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 d70-v6si22378285pfd.114.2018.09.04.03.08.31; Tue, 04 Sep 2018 03:08:46 -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 S1727149AbeIDObv (ORCPT + 99 others); Tue, 4 Sep 2018 10:31:51 -0400 Received: from mail-oi0-f68.google.com ([209.85.218.68]:33178 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726087AbeIDObu (ORCPT ); Tue, 4 Sep 2018 10:31:50 -0400 Received: by mail-oi0-f68.google.com with SMTP id 8-v6so5672016oip.0 for ; Tue, 04 Sep 2018 03:07:26 -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=Eu6OCREN1PM4syjrjLQKSOLqja1ZpMYW2gkFhuueIh0=; b=KZ2SuR26CXJT3mkjTU9x4r4BX1Q8SANE9DVM04K0lwQVytXeWh/eQm9hocUWBEwr4u A/MEwQs7207/XnuP29687JqT2tRw40zaqHeeFbkA1xvN313W9pXi6dSEUe4eqwiBTJDS UG1e60qiJASRMkqBTpGxi1/V8XZeIu34bia25ivjNnPYKsLUVWhNseccyN0WcA2lugbM GRYRFhPDXoeXi3GIDqp7Xq/gMLAKlEl8drRicDB0ZmTIY3SUVyPBCtvhyODEPXrFAY+q AmaSZKO7oAmZLcm4YyhmCy9rIBGsc+PAFSkq0BuPngoEGXD6SeKbvRj1ElBgJzTf6Eu3 e55g== X-Gm-Message-State: APzg51CjmaAeoT8RSlhCYTDqGSEN7Vc01E95N30Ftm7QUPjulrdVrJul xysj+wqj9BruDTBq262tfu94NB4I6hx5UqZkIofw4g== X-Received: by 2002:aca:4e50:: with SMTP id c77-v6mr22895954oib.254.1536055646433; Tue, 04 Sep 2018 03:07:26 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a4a:2011:0:0:0:0:0 with HTTP; Tue, 4 Sep 2018 03:07:25 -0700 (PDT) In-Reply-To: <20180904090053.GB1719@techsingularity.net> References: <20180627084954.73ucqvac62v5gje4@techsingularity.net> <20180717100329.yfy7igdsrpk5ujf4@techsingularity.net> <20180904090053.GB1719@techsingularity.net> From: Jirka Hladky Date: Tue, 4 Sep 2018 12:07:25 +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, thanks for sharing the background information! We will check if 2d4056fafa196e1ab4e7161bae4df76f9602d56d is causing the current regression in 4.19 rc1 and let you know the outcome. Jirka On Tue, Sep 4, 2018 at 11:00 AM, Mel Gorman wrote: > On Mon, Sep 03, 2018 at 05:07:15PM +0200, Jirka Hladky wrote: >> Resending in the plain text mode. >> >> > My own testing completed and the results are within expectations and I >> > saw no red flags. Unfortunately, I consider it unlikely they'll be merged >> > for 4.18. Srikar Dronamraju's series is likely to need another update >> > and I would need to rebase my patches on top of that. Given the scope >> > and complexity, I find it unlikely they would be accepted for an -rc, >> > particularly this late of an rc. Whether we hit the 4.19 merge window or >> > not will depend on when Srikar's series gets updated. >> >> >> Hi Mel, >> >> we have collaborated back in July on the scheduler patch, improving >> the performance by allowing faster memory migration. You came up with >> the "sched-numa-fast-crossnode-v1r12" series here: >> >> https://git.kernel.org/pub/scm/linux/kernel/git/mel/linux.git >> >> which has shown good performance results both in your and our testing. >> > > I remember. > >> Do you have some update on the latest status? Is there any plan to >> merge this series into 4.19 kernel? We have just tested 4.19.0-0.rc1.1 >> and based on the results it seems that the patch is not included (and >> I don't see it listed in git shortlog v4.18..v4.19-rc1 >> ./kernel/sched) >> > > Srikar's series that mine depended upon was only partially merged due to > a review bottleneck. He posted a v2 but it was during the merge window > and likely will need a v3 to avoid falling through the cracks. When it > is merged, I'll rebase my series on top and post it. While I didn't > check against 4.19-rc1, I did find that rebasing on top of the partial > series in 4.18 did not have as big an improvement. > >> With 4.19rc1 we see performance drop >> * up to 40% (NAS bench) relatively to 4.18 + sched-numa-fast-crossnode-v1r12 >> * up to 20% (NAS, Stream, SPECjbb2005, SPECjvm2008) relatively to 4.18 vanilla >> The performance is dropping. It's quite unclear what are the next >> steps - should we wait for "sched-numa-fast-crossnode-v1r12" to be >> merged or should we start looking at what has caused the drop in >> performance going from 4.19rc1 to 4.18? >> > > Both are valid options. If you take the latter option, I suggest looking > at whether 2d4056fafa196e1ab4e7161bae4df76f9602d56d is the source of the > issue as at least one auto-bisection found that it may be problematic. > Whether it is an issue or not depends heavily on the number of threads > relative to a socket size. > > -- > Mel Gorman > SUSE Labs