Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1519192imu; Wed, 28 Nov 2018 10:42:21 -0800 (PST) X-Google-Smtp-Source: AFSGD/WES2eZYzzN8jval4N6LKSndY1cQ7550GWH8v6k7q5Af/TwU/FrggrC6tB5qVy9BMoVCe7m X-Received: by 2002:a63:9e58:: with SMTP id r24mr35109038pgo.264.1543430541367; Wed, 28 Nov 2018 10:42:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543430541; cv=none; d=google.com; s=arc-20160816; b=qeOGpnCemfVWmDP+vnR5fBbIggA2VcYKjKlZW8RPnI2hBW1mN7Nm28R1/gU4lzcpdt oqjU4denzh7wHdXmTm7AmiO5b4MCBKWZ93MT6P1CRD4PdP5LgrtOGbD8AGBlE1xIpb/j Kq/j1DV2zoz4vQJe6qGvAugjrmm7CF6wg2EIjcDH9BQLSfMO2MEHKyGrfHvrHS8XdYzH uX8+YkbzU2UCD3Rq2xG6dvelMOuQbK60gheMCsgVvppquHOZcfZFG30uYFeX3+B/9W3Y VPjKsgmebf0HLk5HL09X4xBqHplGTPdbaA1a+OW6oBCmbL48TRIEBrkeKa/q2VKL3njV /RNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=vhxHAyJo3JzBTRZBRT2zmhHGDMtHdsZnd2Xo7X+igTg=; b=u1wE2elHGGzGnljVE+awSowU5/DrYENhzKDTnRLnPi+5Zc8YSlHNRLCS+0OulAWxNW OFtPqEKNVSm6xUtPcUAAIcw0WdoHTKfFNZhTwfhnukTgww5WKH9D1iIa9nTp1IaiGiAh EM60GVOMSqd9JPUBOh/j/VNCAiFV1OCuSII56Ys3XbVEsFhRVPIL9dT8neS0Nzphwwn6 l/30AnYgpm0yz7FTWtE0NI0IDDnljA0KyQCuwXyynlboUI++HD3qMIpn13rPK0wFiU/k f4Q8hXwBIinUqDUSYWaGQmVAuLtk5K8NHU1ndA3Qc3DkvemhwEYDSKVbAV96HjwQZ9P3 yTjQ== 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 g21si7994369plo.435.2018.11.28.10.41.41; Wed, 28 Nov 2018 10:42:21 -0800 (PST) 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 S1726737AbeK2FmP (ORCPT + 99 others); Thu, 29 Nov 2018 00:42:15 -0500 Received: from mx1.redhat.com ([209.132.183.28]:58672 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725772AbeK2FmP (ORCPT ); Thu, 29 Nov 2018 00:42:15 -0500 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id C2A223084038; Wed, 28 Nov 2018 18:39:40 +0000 (UTC) Received: from sky.random (ovpn-120-160.rdu2.redhat.com [10.10.120.160]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E9522422B; Wed, 28 Nov 2018 18:39:36 +0000 (UTC) Date: Wed, 28 Nov 2018 13:39:36 -0500 From: Andrea Arcangeli To: Linus Torvalds Cc: ying.huang@intel.com, Michal Hocko , s.priebe@profihost.ag, mgorman@techsingularity.net, Linux List Kernel Mailing , alex.williamson@redhat.com, lkp@01.org, rientjes@google.com, kirill@shutemov.name, Andrew Morton , zi.yan@cs.rutgers.edu, Vlastimil Babka Subject: Re: [LKP] [mm] ac5b2c1891: vm-scalability.throughput -61.3% regression Message-ID: <20181128183936.GF20740@redhat.com> References: <20181127062503.GH6163@shao2-debian> <20181127205737.GI16136@redhat.com> <87tvk1yjkp.fsf@yhuang-dev.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.40]); Wed, 28 Nov 2018 18:39:41 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 28, 2018 at 08:48:46AM -0800, Linus Torvalds wrote: > On Tue, Nov 27, 2018 at 7:20 PM Huang, Ying wrote: > > > > From the above data, for the parent commit 3 processes exited within > > 14s, another 3 exited within 100s. For this commit, the first process > > exited at 203s. That is, this commit makes memory allocation more fair > > among processes, so that processes proceeded at more similar speed. But > > this raises system memory footprint too, so triggered much more swap, > > thus lower benchmark score. Ok so it was the previous more unfair behavior that increased overall performance. It was also unclear to me that this was a full swap storm test. > > In general, memory allocation fairness among processes should be a good > > thing. So I think the report should have been a "performance > > improvement" instead of "performance regression". > > Hey, when you put it that way... > > Let's ignore this issue for now, and see if it shows up in some real > workload and people complain. Agreed. With regard to the other question about 4.4 backports, 4.0 didn't have __GFP_THISNODE, so this will still revert to the previous behavior and it won't risk to land into uncharted territory. So there should be no major concern for the backports. We should still work on improving this area, for now the idea was to apply a strict hotfix that would just revert to the previous behavior without introducing new features and new APIs, that would also have the side effect of diminishing THP utilization under MADV_HUGEPAGE. Thanks! Andrea