Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1594737imm; Fri, 7 Sep 2018 03:02:04 -0700 (PDT) X-Google-Smtp-Source: ANB0VdbM//Po4eI1gcCyehd38StHS7zeHWImBC42I5BxAieqeYAUOhXP4STQDMEQjqtg9cgUGoxQ X-Received: by 2002:a63:db15:: with SMTP id e21-v6mr7381489pgg.418.1536314524306; Fri, 07 Sep 2018 03:02:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536314524; cv=none; d=google.com; s=arc-20160816; b=CJW8+QhSP6iBZ5p3UTtH9VRnybwqJa3NbKpzQUgtx8tfQfTv6PLIrYmHzl9P4v2c8M 5OKILK1VCbGxXPtYK9xklFFnrcl184hTLwKx7GGWZfP0gR/kcMQmbSjUIwRocLdUCrfu tXLFad36JCsWYKcYtlXW53TJgX+RhySze6ouKm5WggIQrLMtfysSSZkgMUCHMZdwiPnX 6sSgZcgnOrjUFIofx0GHAAiMe9TTCleEoFZ2qx8OaxDz/1nI9MafB/5rwQ+0TgZA6zsF ngKLIeEjmc3uhchRWSvz9QD0ocsfqnH5uHOYP9YwOfscOZrt0/3kG/WrKCBFgG2cN8r5 s9/A== 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 :mime-version; bh=11m3f/BtCky/TbBeOnaP6lxX066FZCzmS9D+2/5W5+Q=; b=z8AwUo1qXRYiKhBYbZH2U8F0cCogHJjIhj+Zhj8r+NPAxIZAlH39jq0MTVI2byaqKQ YcA7i0gfxr0sq6ez70GJpZMA8YDIFg5ph0NPSR9XSsWtgnHF5XY9+dfVYU58rT81bWDi akrcqcldKDupeNsUNYcQUPApUBOrHXOpN+WoZ0M5cLxtj74G7VyE3K5ak4rURJFQZo2r dNqxiq3Pd9hp4Jqx5GnvRa6LpKVq/z8PpojLHG3D5VTt/rFoOnkqGCRhWtX7Iw6MXfk4 zKYvYMYtQZSuoi17/ZlhiIv2pPO8tA5FmFXCo5E2ZEQLs/QLzdq4fP4n8d8VsKHZi972 MEow== 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 m5-v6si8700752pfb.104.2018.09.07.03.01.48; Fri, 07 Sep 2018 03:02:04 -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 S1728443AbeIGOO4 (ORCPT + 99 others); Fri, 7 Sep 2018 10:14:56 -0400 Received: from mail-oi0-f52.google.com ([209.85.218.52]:36493 "EHLO mail-oi0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728367AbeIGOO4 (ORCPT ); Fri, 7 Sep 2018 10:14:56 -0400 Received: by mail-oi0-f52.google.com with SMTP id r69-v6so26119257oie.3 for ; Fri, 07 Sep 2018 02:34:50 -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:from:date:message-id:subject:to:cc; bh=11m3f/BtCky/TbBeOnaP6lxX066FZCzmS9D+2/5W5+Q=; b=QqfcUwljoSx28Zt9Pl40Kws7xEVkggHectIA7hpFOgqU/oQeD4B6z2rpnYqGA6nGiH LMigRwbj3zMT63/4TXtB34laSzB/bi8R9qY0R6vRuIi2SloFIlRIAGH3fQLkyccA4Q6I H7Kbc/CafDBPuJlfOiCSp/+QCdwujNktrY4m+swI5I7Sh0BlHpwKJN4oJx51AOF6Jwsj vPBS2ZqOWXuT1hy+fKyojTv8WT1pA0OANd1XWrb5pYves3SWkw61LGFZZ4xMXFF9Vzd+ EvyqfV3GFIwkjXcZFK5SFOPtDbfNuKryFYPlOhKX38dmRjFsEUJrZqcigxzCD3GN5nVO 0Nng== X-Gm-Message-State: APzg51A1NfktOiaumSY5U3BhYiT7cs8KnwKjzxbdG6o/7jnBPv29f/Uv lpggs0Hf2+j/1/693ktZsm+OrsfPWpz20eHF1cN7lA== X-Received: by 2002:aca:2cd3:: with SMTP id s202-v6mr6665435ois.253.1536312890223; Fri, 07 Sep 2018 02:34:50 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a4a:55cf:0:0:0:0:0 with HTTP; Fri, 7 Sep 2018 02:34:49 -0700 (PDT) From: Jirka Hladky Date: Fri, 7 Sep 2018 11:34:49 +0200 Message-ID: Subject: [SCHEDULER] Performance drop in 4.19 compared to 4.18 kernel To: Srikar Dronamraju Cc: Mel Gorman , =?UTF-8?B?SmFrdWIgUmHEjWVr?= , linux-kernel , "kkolakow@redhat.com" , Ingo Molnar , Peter Zijlstra 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 Srikar, I work at Red Hat in the Kernel Performance Team. I would like to ask you for help. We have detected a significant performance drop (20% and more) with 4.19rc1 relatively to 4.18 vanilla. We see the regression on different 2 NUMA and 4 NUMA boxes with pretty much all the benchmarks we use - NAS, Stream, SPECjbb2005, SPECjvm2008. Mel Gorman has suggested checking 2d4056fafa196e1ab4e7161bae4df76f9602d56d commit - with it reverted we got some performance back but not entirely: * 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, up to 20%. We are investigating the issue further, Mel has suggested to check 305c1fac3225dfa7eeb89bfe91b7335a6edd5172 as next. Do you have any further recommendations, which commits have possibly caused the performance degradation? I want to discuss with you how can we collaborate on performance testing for the upstream kernel. Does your testing show as well performance drop in 4.19? If so, do you have any plans for the fix? If no, can we send you some more information about our tests so that you can try to reproduce it? We would also be more than happy to test the new patches for the performance - please let us know if you are interested. We have a pool of 1 NUMA up to 8 NUMA boxes for that, both AMD and Intel, covering different CPU generations from Sandy Bridge till Skylake. I'm looking forward to hearing from you. Jirka