Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp3860257ybt; Sun, 5 Jul 2020 08:55:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/l37XsK2OvHOwHrQyG6SAvABNt3WC0i414RNPjADmA9JK2Qb6JEA2If/l/tv+gDZJEFWk X-Received: by 2002:a50:9644:: with SMTP id y62mr3153242eda.3.1593964507482; Sun, 05 Jul 2020 08:55:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593964507; cv=none; d=google.com; s=arc-20160816; b=kL+kIYeyJhIao2CF0Pm7cqfNBjz2mDVlpIunRBzxcj2mo3siGLzsw15O4q9AB01LQG 7UbleFQANVfPZy3UFX90AM5xuq+pCCPTs4SQ0GCLUXzmOr83Fes4A4n/NaAnrBrYiNfM OuZhBGwSLEddF2JphqwPni4YG2gmpxJC1ApVcxLt4ZDNSZxgNE7N8iM3RVZKVDh54C3D FFgaZVCj1sEIb6SUkwfoKXF0eYFXEolBKPR4WF9gHRaZ911Fm08eoQ6XLwotcOrxe4P4 sVNA3rDtfCkcUHrmRMfZaKryYU1SzDsVsdlFyZuYQkARIWrhVoFUQY6NRon4IClGZVfP R7fA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=TgpAD18UbHNoiwEgaJKuKvKVqh48LFxBCoez9AKzX9A=; b=TebacXzzMKUB2Uah4oqpD/vpjJ76Drddu002ENVXAX1OfAN9ibUeoozg0NzymQKMBG KjiWpA884n0J3oIXw3NNbMoOhIrYwKEwe3fSAKWuC3+3GTc9gNXx5xTSPNs/enkuUlMx okl4PY7W6UtRxfe1j/kQqwvqgS6bVnhvIXIOI5gouiIg8KWG4HmWDXVFgKVzWvbDqXVw WAorZj3nkoLKACdt1Pl5d6SuCcUhSL261qJh81z114w3j2EBs97da697thGIjHBpamLN okethLnyAZu/W3soqcEJWAuJDdV9vSCBMZa0GbCIsDWIa0iKBsjv4fyyE6uwY3k9l+mm nxPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lca.pw header.s=google header.b=o+tw60Zj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y18si11576305eds.226.2020.07.05.08.54.44; Sun, 05 Jul 2020 08:55:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@lca.pw header.s=google header.b=o+tw60Zj; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727822AbgGEPwk (ORCPT + 99 others); Sun, 5 Jul 2020 11:52:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45532 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726996AbgGEPwk (ORCPT ); Sun, 5 Jul 2020 11:52:40 -0400 Received: from mail-qt1-x841.google.com (mail-qt1-x841.google.com [IPv6:2607:f8b0:4864:20::841]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13DF6C061794 for ; Sun, 5 Jul 2020 08:52:40 -0700 (PDT) Received: by mail-qt1-x841.google.com with SMTP id w27so4220933qtb.7 for ; Sun, 05 Jul 2020 08:52:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lca.pw; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=TgpAD18UbHNoiwEgaJKuKvKVqh48LFxBCoez9AKzX9A=; b=o+tw60Zjl0m06kgAYW3V0nL3dUIgC7FQERNmT/2lvYJXj32GXnARzXuIHbeqaCDtdr DZkSFmpPkdVCCajPE8J3H5oWRju5Mumt03tGmHz5DgiIsh7cny53ai3aHTojZnN4OQ5t c+1ArRxiiphkDVbk3XLQqYp1ghkuDHiAyO85s6E7GgrebH+8s7GW90HIkUfmijmlir5O 8wTZ4KE9oaLvb35UvC4Af28/Y9Re2Qqguu0/fIjaZEVtXDLH13x8QqZUOXQkYhOjCup0 amdNPSuakV0KxbYDGRCtqG9Z8v55LhEUS22NbqKhdMxfDsN8xvWZRpym5889RFCyWx/J h7Ag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=TgpAD18UbHNoiwEgaJKuKvKVqh48LFxBCoez9AKzX9A=; b=CbSZIA56wWWaTXOjcfzgJ9T0ztHRZC1rsrf1fuqAetV8pe+sz0UddEDcddNcG4/8pK 1lcFgKcjWKq4BptVg3m1lo3b7YqdEyPH9/rN3+qvhGRDdUAUJBmvACQw/tU7lZRxHryN qmy9hNjOOUSmmmt2LBPVtR6KrBn50keVAOiXgAI/LBy7kDkywmXBia5TOX55jD0UtTgs eYMoWxD92UcMrLIXiBBPp0E23vcDqKEtPiXuWGGD84kFPRpZ7VP4Gg0+Cngmwym39FHc 1cCju7o9kqlf4lSW193Vf303Z2ripWoH4pnBwA4aHzCZ7Lo5lI2UxEy+Az4xQxwhv1DT r9+A== X-Gm-Message-State: AOAM533wZ9j/Afiasf/W5xFZeoMdglJ6IEgEb2pegGlNyIDm9T6pKJni +Fc8foZO6e6R94g1WwHqFs2gjQ== X-Received: by 2002:aed:239b:: with SMTP id j27mr46404352qtc.183.1593964359245; Sun, 05 Jul 2020 08:52:39 -0700 (PDT) Received: from lca.pw (pool-71-184-117-43.bstnma.fios.verizon.net. [71.184.117.43]) by smtp.gmail.com with ESMTPSA id x4sm14390623qkl.130.2020.07.05.08.52.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Jul 2020 08:52:38 -0700 (PDT) Date: Sun, 5 Jul 2020 11:52:32 -0400 From: Qian Cai To: Feng Tang Cc: kernel test robot , Andrew Morton , Michal Hocko , Johannes Weiner , Matthew Wilcox , Mel Gorman , Kees Cook , Luis Chamberlain , Iurii Zaikin , andi.kleen@intel.com, tim.c.chen@intel.com, dave.hansen@intel.com, ying.huang@intel.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, lkp@lists.01.org Subject: Re: [mm] 4e2c82a409: ltp.overcommit_memory01.fail Message-ID: <20200705155232.GA608@lca.pw> References: <20200705044454.GA90533@shbuild999.sh.intel.com> <20200705125854.GA66252@shbuild999.sh.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200705125854.GA66252@shbuild999.sh.intel.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Jul 05, 2020 at 08:58:54PM +0800, Feng Tang wrote: > On Sun, Jul 05, 2020 at 08:15:03AM -0400, Qian Cai wrote: > > > > > > > On Jul 5, 2020, at 12:45 AM, Feng Tang wrote: > > > > > > I did reproduce the problem, and from the debugging, this should > > > be the same root cause as lore.kernel.org/lkml/20200526181459.GD991@lca.pw/ > > > that loosing the batch cause some accuracy problem, and the solution of > > > adding some sync is still needed, which is dicussed in > > > > Well, before taking any of those patches now to fix the regression, > > we will need some performance data first. If it turned out the > > original performance gain is no longer relevant anymore due to this > > regression fix on top, it is best to drop this patchset and restore > > that VM_WARN_ONCE, so you can retry later once you found a better > > way to optimize. > > The fix of adding sync only happens when the memory policy is being > changed to OVERCOMMIT_NEVER, which is not a frequent operation in > normal cases. > > For the performance improvment data both in commit log and 0day report > https://lore.kernel.org/lkml/20200622132548.GS5535@shao2-debian/ > it is for the will-it-scale's mmap testcase, which will not runtime > change memory overcommit policy, so the data should be still valid > with this fix. Well, I would expect people are perfectly reasonable to use OVERCOMMIT_NEVER for some workloads making it more frequent operations. The question is now if any of those regression fixes would now regress performance of OVERCOMMIT_NEVER workloads or just in-par with the data before the patchset? Given now this patchset has had so much churn recently, I would think "should be still valid" is not really the answer we are looking for. > > Thanks, > Feng > >