Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp3959334ybh; Tue, 6 Aug 2019 04:12:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqzYPIGNqXxvBHqD4zOcPs8z+I4l2CN2Fh2OLr8A07x+UH/iQfoJn4QkC78VZc3eSzPjMCmb X-Received: by 2002:aa7:9a8a:: with SMTP id w10mr3116096pfi.66.1565089929778; Tue, 06 Aug 2019 04:12:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565089929; cv=none; d=google.com; s=arc-20160816; b=AVb7HJgFeLU7lMuq7bwxvjguifEKLbWzD+r66z2XCsokpWc3qmWT9YTC6WgrVorFwU QjMP9RQqrLAZxyj//TPgnZtDXoPQt0+4Ph0VY7/nALu4DR72DWv+8KIDn9kZuBUO5++C qStEMRVMPF9bZKyUSTCgEN7gMqdcZyyO167VTvwCYv4fNo1yQf+d6hxjUJPwTM+JGAQK Y7LWInlG2NlXOPKG/iFKKFu9giIM3AnnHh2FE94XsNOBC/BKMnk7AFuXo9T/J9CvWCj2 A6KPO9+nyI4ckApkkAQ2CyYLu1kbGk0RuAR47wB/vGQOw7M1ouKXq/Sxth0mYdZpv8l7 JkGw== 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=qtv/snZ1P6q9N2i4DZ0PccndAbkpjqByTN0OL6qFyZ0=; b=IqP/fP1eeNODQov8+7AAzan//A+Ud1AvirQTUciuYcuRbueJ9krF+3R1gjRhBV/3Ia Vd/ArmzZte3npAtcbwmBi/+GhVkxddJ6Sjtm6TziOMuXj5YGD6DCzouWzpIPTFrxWE65 cS3lOICbekC/UJM1F4RqQuN3d1ATu7Mn7uaxYIgKWFVTG9M0RzWHtuCvPDdtbly3hclT zXAbmgwxDnepeWaU0vtWaoBlcBHn1FoTbrsFjfHjV/M+SSeDktU2Ybk51v0TrMj2p6WZ F+jQWoC0fbWJk3KDgqmXJwLVH5jQkzDEWi0Pgt1iEcv16Rb2G7s7KjtnWBb6yoDoYKMy CwnA== 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w7si45493578pgl.323.2019.08.06.04.11.54; Tue, 06 Aug 2019 04:12:09 -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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731093AbfHFLLN (ORCPT + 99 others); Tue, 6 Aug 2019 07:11:13 -0400 Received: from mx2.suse.de ([195.135.220.15]:48218 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728845AbfHFLLN (ORCPT ); Tue, 6 Aug 2019 07:11:13 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id DB69CB629; Tue, 6 Aug 2019 11:11:11 +0000 (UTC) Date: Tue, 6 Aug 2019 13:11:09 +0200 From: Michal Hocko To: Minchan Kim Cc: kernel test robot , Andrew Morton , LKML , linux-mm , Miguel de Dios , Wei Wang , Johannes Weiner , Mel Gorman , lkp@01.org Subject: Re: [mm] 755d6edc1a: will-it-scale.per_process_ops -4.1% regression Message-ID: <20190806111109.GV11812@dhcp22.suse.cz> References: <20190729071037.241581-1-minchan@kernel.org> <20190806070547.GA10123@xsang-OptiPlex-9020> <20190806080415.GG11812@dhcp22.suse.cz> <20190806110024.GA32615@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190806110024.GA32615@google.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 06-08-19 20:00:24, Minchan Kim wrote: > On Tue, Aug 06, 2019 at 10:04:15AM +0200, Michal Hocko wrote: > > On Tue 06-08-19 15:05:47, kernel test robot wrote: > > > Greeting, > > > > > > FYI, we noticed a -4.1% regression of will-it-scale.per_process_ops due to commit: > > > > I have to confess I cannot make much sense from numbers because they > > seem to be too volatile and the main contributor doesn't stand up for > > me. Anyway, regressions on microbenchmarks like this are not all that > > surprising when a locking is slightly changed and the critical section > > made shorter. I have seen that in the past already. > > I guess if it's multi process workload. The patch will give more chance > to be scheduled out so TLB miss ratio would be bigger than old. > I see it's natural trade-off for latency vs. performance so only thing > I could think is just increase threshold from 32 to 64 or 128? This still feels like a magic number tunning, doesn't it? -- Michal Hocko SUSE Labs