Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp1649380ybi; Thu, 20 Jun 2019 01:12:44 -0700 (PDT) X-Google-Smtp-Source: APXvYqwf8nGhjpb5VTfD9ufAVhRAvi/O8w8GXdp01C2hnNwD9hj/nEBChuo4TGoWqJnwuItqbMOE X-Received: by 2002:a63:e953:: with SMTP id q19mr11964424pgj.313.1561018363939; Thu, 20 Jun 2019 01:12:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561018363; cv=none; d=google.com; s=arc-20160816; b=LXrjHtvNWF7fuKUeI+kCekr796MXZZKQtlccB7+kur/6RZqW82OQTR6VrlvyhOSQ/W XnJg7hL4Adzu++E7CFWzXEYKz+qBJCftNkAlsdHktfKRcv6xBSkvYAHyCD0t5tUyhuel FBfoRL1FY3Z4viDNK6mueDJisQiIz3mLA8nMRf9xy+Zj/XuahK72UV9NRtseeX5F/YFn 1L1GcxpaLEVKehz+TGUg1lM5D3Lz/YFpyRoDi0gQkjT3Gf0ZH/TGIYB5rRzhfS9zoPo8 fD4/Gugiwa4Xn3jjnHddUqI2LsdQ5bPG19/vZp6T4Orsz95/p03vla5cbNubgazHiYDj qR+Q== 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-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=YIYHgumkuE25m4LoOWtpQlHtO7S3xtW2cF3gchqq/WE=; b=zdxm6gCx0fwsZfZmJuKxdm+9QIhS7ahonv+Rpts2QvgykzHsNVccgeD0530SJuH9vy 9zXEoyfjRm/WdDhs4YZJoOyNjD7ioiw4z6hvzulDuZWFhhoR40Ch8NX5ybpiVK0iIrZ/ pgjppeP7Db/ZxIO/gHH8JEZjEjUCdzZqPwBcIDs/7n+Mzl/GEavquguZb355NavP2Z7U du3do9A1RqRJp2j4RBEQxYwSLjI8yFZC18ZbwHIgSOW6bcjNOViXco1laR45AJNHxZg9 gDQeJFiDRuVxE/wetjg6CtZNdVop7pLFcKY4Tn/WVDoR5puOkOjhOGbciu5ysHRSKGr9 aRow== 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=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p11si17001289plk.67.2019.06.20.01.12.28; Thu, 20 Jun 2019 01:12:43 -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=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726392AbfFTILE (ORCPT + 99 others); Thu, 20 Jun 2019 04:11:04 -0400 Received: from mga11.intel.com ([192.55.52.93]:35889 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725875AbfFTILE (ORCPT ); Thu, 20 Jun 2019 04:11:04 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Jun 2019 01:11:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,396,1557212400"; d="out'?scan'208";a="150857738" Received: from haiyan.sh.intel.com ([10.239.48.70]) by orsmga007.jf.intel.com with ESMTP; 20 Jun 2019 01:10:56 -0700 Date: Thu, 20 Jun 2019 16:19:45 +0800 From: Haiyan Song To: Laurent Dufour Cc: akpm@linux-foundation.org, mhocko@kernel.org, peterz@infradead.org, kirill@shutemov.name, ak@linux.intel.com, dave@stgolabs.net, jack@suse.cz, Matthew Wilcox , aneesh.kumar@linux.ibm.com, benh@kernel.crashing.org, mpe@ellerman.id.au, paulus@samba.org, Thomas Gleixner , Ingo Molnar , hpa@zytor.com, Will Deacon , Sergey Senozhatsky , sergey.senozhatsky.work@gmail.com, Andrea Arcangeli , Alexei Starovoitov , kemi.wang@intel.com, Daniel Jordan , David Rientjes , Jerome Glisse , Ganesh Mahendran , Minchan Kim , Punit Agrawal , vinayak menon , Yang Shi , zhong jiang , Balbir Singh , sj38.park@gmail.com, Michel Lespinasse , Mike Rapoport , linux-kernel@vger.kernel.org, linux-mm@kvack.org, haren@linux.vnet.ibm.com, npiggin@gmail.com, paulmck@linux.vnet.ibm.com, Tim Chen , linuxppc-dev@lists.ozlabs.org, x86@kernel.org Subject: Re: [PATCH v12 00/31] Speculative page faults Message-ID: <20190620081945.hwj6ruqddefnxg6z@haiyan.sh.intel.com> References: <20190416134522.17540-1-ldufour@linux.ibm.com> <20190606065129.d5s3534p23twksgp@haiyan.sh.intel.com> <3d3cefa2-0ebb-e86d-b060-7ba67c48a59f@linux.ibm.com> <1c412ebe-c213-ee67-d261-c70ddcd34b79@linux.ibm.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="ghgds33dkojdyykr" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1c412ebe-c213-ee67-d261-c70ddcd34b79@linux.ibm.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --ghgds33dkojdyykr Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit Hi Laurent, I downloaded your script and run it on Intel 2s skylake platform with spf-v12 patch serials. Here attached the output results of this script. The following comparison result is statistics from the script outputs. a). Enable THP SPF_0 change SPF_1 will-it-scale.page_fault2.per_thread_ops 2664190.8 -11.7% 2353637.6 will-it-scale.page_fault3.per_thread_ops 4480027.2 -14.7% 3819331.9 b). Disable THP SPF_0 change SPF_1 will-it-scale.page_fault2.per_thread_ops 2653260.7 -10% 2385165.8 will-it-scale.page_fault3.per_thread_ops 4436330.1 -12.4% 3886734.2 Thanks, Haiyan Song On Fri, Jun 14, 2019 at 10:44:47AM +0200, Laurent Dufour wrote: > Le 14/06/2019 ? 10:37, Laurent Dufour a ?crit?: > > Please?find?attached?the?script?I?run?to?get?these?numbers. > > This?would?be?nice?if?you?could?give?it?a?try?on?your?victim?node?and?share?the?result. > > Sounds that the Intel mail fitering system doesn't like the attached shell script. > Please find it there: https://gist.github.com/ldu4/a5cc1a93f293108ea387d43d5d5e7f44 > > Thanks, > Laurent. > --ghgds33dkojdyykr Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="page_fault2_threads.5.1.0-rc4-mm1-00300-g02c5a1f.out" #### THP always #### SPF 0 average:2628818 average:2732209 average:2728392 average:2550695 average:2689873 average:2691963 average:2627612 average:2558295 average:2707877 average:2726174 #### SPF 1 average:2426260 average:2145674 average:2117769 average:2292502 average:2350403 average:2483327 average:2467324 average:2335393 average:2437859 average:2479865 #### THP never #### SPF 0 average:2712575 average:2711447 average:2672362 average:2701981 average:2668073 average:2579296 average:2662048 average:2637422 average:2579143 average:2608260 #### SPF 1 average:2348782 average:2203349 average:2312960 average:2402995 average:2318914 average:2543129 average:2390337 average:2490178 average:2416798 average:2424216 --ghgds33dkojdyykr Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="page_fault3_threads.5.1.0-rc4-mm1-00300-g02c5a1f.out" #### THP always #### SPF 0 average:4370143 average:4245754 average:4678884 average:4665759 average:4665809 average:4639132 average:4210755 average:4330552 average:4290469 average:4703015 #### SPF 1 average:3810608 average:3918890 average:3758003 average:3965024 average:3578151 average:3822748 average:3687293 average:3998701 average:3915771 average:3738130 #### THP never #### SPF 0 average:4505598 average:4672023 average:4701787 average:4355885 average:4338397 average:4446350 average:4360811 average:4653767 average:4016352 average:4312331 #### SPF 1 average:3685383 average:4029413 average:4051615 average:3747588 average:4058557 average:4042340 average:3971295 average:3752943 average:3750626 average:3777582 --ghgds33dkojdyykr--