Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp745457imm; Wed, 6 Jun 2018 05:28:15 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIYOH1QAk4mG5QdW9ReTxohgPy4ks/pOeGwNGQebUwAtYk6R3JOLP3gJ77C8qkrABU1pVfe X-Received: by 2002:a62:4b16:: with SMTP id y22-v6mr2275941pfa.214.1528288095612; Wed, 06 Jun 2018 05:28:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528288095; cv=none; d=google.com; s=arc-20160816; b=YissM7gfOx9yHd55NMuiC8bhe9/l0EFkmZhkeytP4y0s4+I0yw47Jud/YaHDbFDm99 SkCG2eXWbr65G+/WWrUyQCJhfM0SyfoITc601MkasNP0wt1umNXzvYhlWDytDXFtXXK7 ztA0WJNCSjQRD+9xMBrtCME0ZjOtP65J38y9xpm8KNLpaFfn773rFun2DZ5yTLqU0eEu PiJqurSsTIu/9M26Arnxu+juBN5e7HRULJckrZ0VQ5jNABJAw32mkoeatix5p89e5/gB wbaewiceC5u8OKJX8qZzFW4pJV7Y1TUtR8uLY6KrrCH+jcMDgTgiNfnhi9IKMR0nHkOA uATQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date :arc-authentication-results; bh=DBLGIvb6oIjtRZC4O7AVXJCQBadrewVd2FMsfkkU7b8=; b=Fd5tGpWUfnmX4a6H3+zBAWaKzL/ODP3zjfbwnCFynodg/2uaGvYI4DIKKEnNiNjWBE 1R2N9E8Vw+1z65P/UaFVF0sZoKdwPSayV/fN7DAJTbEMxZ7s9HdkwHIFTD/QPZtAfYuN 8k3aOSuIWW/4ekN7AupqKly1iRWLnvBptPQO6R2/TTEFX28tsi5m0upxS6vaYLCpONMW CR/Yr6iQjX0q6fBMWt961RpmqChJw++SZ0cCbH0egWWq9m6hvsmlmY+guM1pNgw1ir9P LmbXdqEy5XAoThcY7n9+X+0PaMCaHVvJi+yBLI4h2C0gpPTteUgY/ekqmXrJIcEnLCdQ 3vUQ== 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 34-v6si51993281plp.409.2018.06.06.05.28.00; Wed, 06 Jun 2018 05:28:15 -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 S1751950AbeFFM1g (ORCPT + 99 others); Wed, 6 Jun 2018 08:27:36 -0400 Received: from mx3-rdu2.redhat.com ([66.187.233.73]:52582 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751856AbeFFM1e (ORCPT ); Wed, 6 Jun 2018 08:27:34 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 2EBDCD431E; Wed, 6 Jun 2018 12:27:34 +0000 (UTC) Received: from jra-laptop.brq.redhat.com (unknown [10.43.17.238]) by smtp.corp.redhat.com (Postfix) with SMTP id 294B32157F42; Wed, 6 Jun 2018 12:27:33 +0000 (UTC) Date: Wed, 6 Jun 2018 14:27:32 +0200 From: Jakub Racek To: linux-kernel@vger.kernel.org Cc: "Rafael J. Wysocki" , Len Brown , linux-acpi@vger.kernel.org, jracek@redhat.com Subject: [4.17 regression] Performance drop on kernel-4.17 visible on Stream, Linpack and NAS parallel benchmarks Message-ID: <20180606122731.GB27707@jra-laptop.brq.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline X-OS: Linux jra-laptop 3.10.0-862.el7.x86_64 x86_64 User-Agent: Mutt/1.5.21 (2010-09-15) X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Wed, 06 Jun 2018 12:27:34 +0000 (UTC) X-Greylist: inspected by milter-greylist-4.5.16 (mx1.redhat.com [10.11.55.2]); Wed, 06 Jun 2018 12:27:34 +0000 (UTC) for IP:'10.11.54.6' DOMAIN:'int-mx06.intmail.prod.int.rdu2.redhat.com' HELO:'smtp.corp.redhat.com' FROM:'jracek@redhat.com' RCPT:'' Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, There is a huge performance regression on the 2 and 4 NUMA node systems on stream benchmark with 4.17 kernel compared to 4.16 kernel. Stream, Linpack and NAS parallel benchmarks show upto 50% performance drop. When running for example 20 stream processes in parallel, we see the following behavior: * all processes are started at NODE #1 * memory is also allocated on NODE #1 * roughly half of the processes are moved to the NODE #0 very quickly. * however, memory is not moved to NODE #0 and stays allocated on NODE #1 As the result, half of the processes are running on NODE#0 with memory being still allocated on NODE#1. This leads to non-local memory accesses on the high Remote-To-Local Memory Access Ratio on the numatop charts. So it seems that 4.17 is not doing a good job to move the memory to the right NUMA node after the process has been moved. ----8<---- The above is an excerpt from performance testing on 4.16 and 4.17 kernels. For now I'm merely making sure the problem is reported. Thank you. Best regards, Jakub Racek