Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2508176yba; Sun, 28 Apr 2019 02:34:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqxs6+j0Z0ElnGWdflWE7b5G95BykN5dPfyECl/mGv1s6BDyVFGNdJ4G20n+74IY02e7/GZB X-Received: by 2002:a63:6b08:: with SMTP id g8mr53081981pgc.211.1556444058453; Sun, 28 Apr 2019 02:34:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556444058; cv=none; d=google.com; s=arc-20160816; b=ijGASBcDWjgUWQU+b73fouZgJbv4W/Q6jCDb10PPr/WGygJTuXSR97hBDvumkntXOM vJji83ocfpFennI94Zc0g2ku5NzFB86icAnP7NWsxegosV0nrCz+JnvVLM8QJ6lzgFho ulw45awje7HcUh6FsDKK73NfkALaOsKINwI23Xu4vzcXTRDOQm4/rIG+BVC5LjC3trYT wRoR38CoFhaDpmyVhQBMAJJdcaUGsYMfHOaEH7DJZQf42dWw57K+KZze7eqe1LXK5ece 7BaujLuAll64mvVKMzIOl68DWsfUsZBxknWIVJEqJHpFhSIC3jNTHjmEHD6vnS/nh/0s YkCw== 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:dkim-signature; bh=jhpxb0r0e1gp4SSO4x9DgfEoKeCHE8A72qe/Aukkisg=; b=HcMxzkR51D5qm+t1x/P/PVsm0Et1CH2JOuFe6mvKctu7HmFCOV3iw5B0hyCgHPOoHn Axm14R2F/sBV28fwE9kH9dgtBWXD09pddZ7PA+JjIv5ovAive81abQze1xUBbiLbxl7c 6w50knvu0GSw3Zx8OwJ8Myvzv4fEcIyiqnq1pDwjg3rerfqJO/ryvh4IzwXIxKw0LT3J XPvU3svR1zaJfbi51BANrch7q/Cf6x3rCfAmjSOri9Em590VrkPtyhHYzzUtD7Rd7fe0 DZQlPBguzZWghQO6WHKZN/YvDbzGGJRNOg6sORCgqsLMpx/dfM+BNNOfl6Hd8XKSvvGs dGrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=iVENs9lD; 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 l62si31313526pfc.65.2019.04.28.02.34.02; Sun, 28 Apr 2019 02:34:18 -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; dkim=fail header.i=@gmail.com header.s=20161025 header.b=iVENs9lD; 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 S1726371AbfD1JdL (ORCPT + 99 others); Sun, 28 Apr 2019 05:33:11 -0400 Received: from mail-wm1-f54.google.com ([209.85.128.54]:54144 "EHLO mail-wm1-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726252AbfD1JdL (ORCPT ); Sun, 28 Apr 2019 05:33:11 -0400 Received: by mail-wm1-f54.google.com with SMTP id 26so9731938wmj.3 for ; Sun, 28 Apr 2019 02:33:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=jhpxb0r0e1gp4SSO4x9DgfEoKeCHE8A72qe/Aukkisg=; b=iVENs9lDMYE+QsydqIXAYd6UC0gt7/Qt28dzyrHXL/V9psvFfeur1My0HJrJA+Mmn2 3Cm1roptNReDlBDM/JJArG23PtMSRIm+OT5TJchT2E9dgmoycN5L0lwCLcdCfGk/L3ct DME8hNj9+2vWSPOg6Flf5VfgY1RYGQdryoO2Gd4PU/RdlJru1l10m41pNR5K7Rf6+lR1 2TkSeb233dCD/G1jdcccn0y8SyXVpE7Fd5hD2/pwqfip5qAg7Ab6rRh05iA//QYA+Fqz 1fg7rPbcu4g0CU4nyAdl/q7gzSydbIV60uko6+3OiFRzIzO+ZZ3JI2hoXyDHMSJm/8EB Z6tA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=jhpxb0r0e1gp4SSO4x9DgfEoKeCHE8A72qe/Aukkisg=; b=Jb365tmPSrO1m7QhSpPxT5UX0JhCz+m3NBObCUc0vcNLsvTBCcpH41T51rqS6lPAvf cSMcfHCGwjz+RHZnKfuyfGdpgxl2GR5AKf6kdIqBxTS3e8zbJtde+7ZsQD5aiOLftNjO 4JnYJCgP4h3WlR8gqwTeCWu4GtAtL6fxhOx0yEq439PFjYqz0eXBFO/KqiJihpmSwLMG /t8A7sUr1sjWGNDEGKif4NISM6AVUIW7QrASZyIgDdLdSEK4vyzBL9XLQkiNleR9ulWV 9wqGLbZNLXBXAuAo8SWXwujCTxr8EhStyAXNryV9j4B4hh4n8fW4ORAFjBVMk3hDwZz6 KjZA== X-Gm-Message-State: APjAAAVnjOOyPOqWtxdc1Wcnx4Bfm/F93OmCBNnG9qSmHdVjdj8iuLLr mjZmaNU6hL/ntzbwplb1cu8= X-Received: by 2002:a7b:c00e:: with SMTP id c14mr13480208wmb.110.1556443988974; Sun, 28 Apr 2019 02:33:08 -0700 (PDT) Received: from gmail.com (2E8B0CD5.catv.pool.telekom.hu. [46.139.12.213]) by smtp.gmail.com with ESMTPSA id e3sm14053600wro.35.2019.04.28.02.33.06 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 28 Apr 2019 02:33:07 -0700 (PDT) Date: Sun, 28 Apr 2019 11:33:04 +0200 From: Ingo Molnar To: Aubrey Li Cc: Julien Desfossez , Vineeth Remanan Pillai , Nishanth Aravamudan , Peter Zijlstra , Tim Chen , Thomas Gleixner , Paul Turner , Linus Torvalds , Linux List Kernel Mailing , Subhra Mazumdar , =?iso-8859-1?Q?Fr=E9d=E9ric?= Weisbecker , Kees Cook , Greg Kerr , Phil Auld , Aaron Lu , Valentin Schneider , Mel Gorman , Pawan Gupta , Paolo Bonzini Subject: Re: [RFC PATCH v2 00/17] Core scheduling v2 Message-ID: <20190428093304.GA7393@gmail.com> References: <20190424140013.GA14594@sinkpad> <20190425095508.GA8387@gmail.com> <20190427091716.GC99668@gmail.com> <20190427142137.GA72051@gmail.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) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Aubrey Li wrote: > > But what we are really interested in are throughput numbers under > > these three kernel variants, right? > > These are sysbench events per second number, higher is better. > > NA/AVX baseline(std%) coresched(std%) +/- nosmt(std%) +/- > 1/1 508.5( 0.2%) 504.7( 1.1%) -0.8% 509.0( 0.2%) 0.1% > NA/AVX baseline(std%) coresched(std%) +/- nosmt(std%) +/- > 2/2 1000.2( 1.4%) 1004.1( 1.6%) 0.4% 997.6( 1.2%) -0.3% > NA/AVX baseline(std%) coresched(std%) +/- nosmt(std%) +/- > 4/4 1912.1( 1.0%) 1904.2( 1.1%) -0.4% 1914.9( 1.3%) 0.1% > NA/AVX baseline(std%) coresched(std%) +/- nosmt(std%) +/- > 8/8 3753.5( 0.3%) 3748.2( 0.3%) -0.1% 3751.3( 0.4%) -0.1% > NA/AVX baseline(std%) coresched(std%) +/- nosmt(std%) +/- > 16/16 7139.3( 2.4%) 7137.9( 1.8%) -0.0% 7049.2( 2.4%) -1.3% > NA/AVX baseline(std%) coresched(std%) +/- nosmt(std%) +/- > 32/32 10899.0( 4.2%) 10780.3( 4.4%) -1.1% 10339.2( 9.6%) -5.1% > NA/AVX baseline(std%) coresched(std%) +/- nosmt(std%) +/- > 64/64 15086.1(11.5%) 14262.0( 8.2%) -5.5% 11168.7(22.2%) -26.0% > NA/AVX baseline(std%) coresched(std%) +/- nosmt(std%) +/- > 128/128 15371.9(22.0%) 14675.8(14.4%) -4.5% 10963.9(18.5%) -28.7% > NA/AVX baseline(std%) coresched(std%) +/- nosmt(std%) +/- > 256/256 15990.8(22.0%) 12227.9(10.3%) -23.5% 10469.9(19.6%) -34.5% So because I'm a big fan of presenting data in a readable fashion, here are your results, tabulated: # # Sysbench throughput comparison of 3 different kernels at different # load levels, higher numbers are better: # .--------------------------------------|----------------------------------------------------------------. | NA/AVX vanilla-SMT [stddev%] |coresched-SMT [stddev%] +/- | no-SMT [stddev%] +/- | |--------------------------------------|----------------------------------------------------------------| | 1/1 508.5 [ 0.2% ] | 504.7 [ 1.1% ] 0.8% | 509.0 [ 0.2% ] 0.1% | | 2/2 1000.2 [ 1.4% ] | 1004.1 [ 1.6% ] 0.4% | 997.6 [ 1.2% ] 0.3% | | 4/4 1912.1 [ 1.0% ] | 1904.2 [ 1.1% ] 0.4% | 1914.9 [ 1.3% ] 0.1% | | 8/8 3753.5 [ 0.3% ] | 3748.2 [ 0.3% ] 0.1% | 3751.3 [ 0.4% ] 0.1% | | 16/16 7139.3 [ 2.4% ] | 7137.9 [ 1.8% ] 0.0% | 7049.2 [ 2.4% ] 1.3% | | 32/32 10899.0 [ 4.2% ] | 10780.3 [ 4.4% ] -1.1% | 10339.2 [ 9.6% ] -5.1% | | 64/64 15086.1 [ 11.5% ] | 14262.0 [ 8.2% ] -5.5% | 11168.7 [ 22.2% ] -26.0% | | 128/128 15371.9 [ 22.0% ] | 14675.8 [ 14.4% ] -4.5% | 10963.9 [ 18.5% ] -28.7% | | 256/256 15990.8 [ 22.0% ] | 12227.9 [ 10.3% ] -23.5% | 10469.9 [ 19.6% ] -34.5% | '--------------------------------------|----------------------------------------------------------------' One major thing that sticks out is that if we compare the stddev numbers to the +/- comparisons then it's pretty clear that the benchmarks are very noisy: in all but the last row stddev is actually higher than the measured effect. So what does 'stddev' mean here, exactly? The stddev of multipe runs, i.e. measured run-to-run variance? Or is it some internal metric of the benchmark? Thanks, Ingo