Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b0MpS-000310-NA for pgsql-hackers@arkaria.postgresql.org; Wed, 11 May 2016 05:37:02 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1b0MpS-0003fD-A3 for pgsql-hackers@arkaria.postgresql.org; Wed, 11 May 2016 05:37:02 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1b0MpR-0003f6-Jn for pgsql-hackers@postgresql.org; Wed, 11 May 2016 05:37:01 +0000 Received: from mail-pf0-x231.google.com ([2607:f8b0:400e:c00::231]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1b0MpJ-0005mP-Og for pgsql-hackers@postgresql.org; Wed, 11 May 2016 05:37:01 +0000 Received: by mail-pf0-x231.google.com with SMTP id 206so14428193pfu.0 for ; Tue, 10 May 2016 22:36:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=lHs3TaUAFMbXz8WbJkSRY8hfb0Ku/hcxNXuNmhe8z4E=; b=cVKyMbAxytA7qF22GRrd4LquM1Sp0uvy/qxmOhpDxBhktMt9brAA2wvg9QY3j49PI2 OhNHAoNfJMaYp/eQLF6qTUVoQEIO8R25ApIMJtm2/KkSHiBquc43p77cKmatSEwrnLH5 2j8ll+JJxRxcuZrggK3cXF2hU2CSgadVS3bVs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=lHs3TaUAFMbXz8WbJkSRY8hfb0Ku/hcxNXuNmhe8z4E=; b=adzghEbepJarIIFKTMg63elckXsle+w1MyNbrkHYiCupVsnRTbIYR7VAu1wqGjF0cX 1LrO2apHPcvvZeeJctpBHN/jZqSUsVn4BrJ2ELP3qELbCu3P+uc94uCubzMTwM8MqJAI oDpytwtCPFMW2CYtdwEVyEBXHF0vepzDO8ao7BojsxDWD03y295T0Ae79vH5Cj/Pz5Rw fs8wu2KY9IKVYk46zU9k4WrJ+pUzI0njBDNnUxmgUU1KfLqXBHcP/py2PeHo1I2e7xOQ PkMAB633dQKBevYSs6YU1BhMgtdFMbV9v+RUvqmlE05LD/e7a8Q0wJ2DVHoZCU7jCpKs mrSA== X-Gm-Message-State: AOPr4FWPBadpEVzM7cs8DBNj8s/3UlCRifneLRpYtjAZD/QS5PvBTGcY6KRWTFGpq9KUOg== X-Received: by 10.98.27.129 with SMTP id b123mr1962428pfb.111.1462945011456; Tue, 10 May 2016 22:36:51 -0700 (PDT) Received: from tornado.leadboat.com (c-98-248-47-228.hsd1.ca.comcast.net. [98.248.47.228]) by smtp.gmail.com with ESMTPSA id e184sm8568242pfe.14.2016.05.10.22.36.50 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 10 May 2016 22:36:50 -0700 (PDT) Date: Wed, 11 May 2016 01:36:48 -0400 From: Noah Misch To: Kevin Grittner Cc: Tom Lane , Tomas Vondra , Andres Freund , "pgsql-hackers@postgresql.org" Subject: Re: what to revert Message-ID: <20160511053648.GA89493@tornado.leadboat.com> References: <20160503174104.tk7oz4akwbeqsmuq@alap3.anarazel.de> <20160503224241.rwtxrhgmprzqxhlv@alap3.anarazel.de> <2289.1462888970@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On Tue, May 10, 2016 at 10:05:13AM -0500, Kevin Grittner wrote: > On Tue, May 10, 2016 at 9:02 AM, Tom Lane wrote: > > Kevin Grittner writes: > >> There were 75 samples each of "disabled" and "reverted" in the > >> spreadsheet. Averaging them all, I see this: > > > >> reverted: 290,660 TPS > >> disabled: 292,014 TPS > > > >> That's a 0.46% overall increase in performance with the patch, > >> disabled, compared to reverting it. I'm surprised that you > >> consider that to be a "clearly measurable difference". I mean, it > >> was measured and it is a difference, but it seems to be well within > >> the noise. Even though it is based on 150 samples, I'm not sure we > >> should consider it statistically significant. > > > > You don't have to guess about that --- compare it to the standard > > deviation within each group. > > My statistics skills are rusty, but I thought that just gives you > an effect size, not any idea of whether the effect is statistically > significant. I discourage focusing on the statistical significance, because the hypothesis in question ("Applying revert.patch to 4bbc1a7e decreases 'pgbench -S -M prepared -j N -c N' tps by 0.46%.") is already an unreliable proxy for anything we care about. PostgreSQL performance variation due to incidental, ephemeral binary layout motion is roughly +/-5%. Assuming perfect confidence that 4bbc1a7e+revert.patch is 0.46% slower than 4bbc1a7e, the long-term effect of revert.patch could be anywhere from -5% to +4%. If one wishes to make benchmark-driven decisions about single-digit performance changes, one must control for binary layout effects: http://www.postgresql.org/message-id/87vbitb2zp.fsf@news-spur.riddles.org.uk http://www.postgresql.org/message-id/20160416204452.GA1910190@tornado.leadboat.com nm -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers