Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b7vlX-0002ju-Gg for pgsql-hackers@arkaria.postgresql.org; Wed, 01 Jun 2016 02:20:15 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1b7vlW-0008RM-7F for pgsql-hackers@arkaria.postgresql.org; Wed, 01 Jun 2016 02:20:14 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1b7vlV-0008Ps-0v for pgsql-hackers@postgresql.org; Wed, 01 Jun 2016 02:20:13 +0000 Received: from mail-pf0-x22b.google.com ([2607:f8b0:400e:c00::22b]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1b7vlR-0004Ae-Im for pgsql-hackers@postgresql.org; Wed, 01 Jun 2016 02:20:11 +0000 Received: by mail-pf0-x22b.google.com with SMTP id g64so4496099pfb.2 for ; Tue, 31 May 2016 19:20:09 -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:content-transfer-encoding:in-reply-to :user-agent; bh=7lYIht3hUEydbOPjqx2xpnslICIcGwOb9FDbAMsFGAM=; b=U08P96otrIFn0P+KlfSMGpaXFo3sS7gPoXste+UAfm07fp3DsNB5MRaw9oQQJINkmf QgMWgT0aPdlGG4KfQ6mMZXFlT/g3C7Uw8r7eP1y//rKTT0R7Pt8nan/Z6S6R25Z/25e8 vvhMctljLUVAarmGxzS4t0o6BlXubuF7MGh8k= 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:content-transfer-encoding :in-reply-to:user-agent; bh=7lYIht3hUEydbOPjqx2xpnslICIcGwOb9FDbAMsFGAM=; b=RsaMaFd3JM3Atce7UiFExnf9C5q/DAXx6nUMPBUv5bIyedwxQwqKrCVUBfH3V+QLjE 2HKiC2Gv9OPqMSLR99wk/w8qm8+tFgXbjrT8HgSGw+P10Kesgb7gRlbuQKIedjEtsUKh LhprWfGqzZwECLic30uDtM7t2BaFQ+Qqe+hyj/IICpwZjIiwuAqxqrPJQAllUl2k42Wa C3PiZSDaneT3ZwFJGjSgIEDTc9d17GiRvGxr4rom7NAp0jsAT4uwxZhCzONtAnEsUoav 1iSPX4Uj4zuf4QxRGVIiLIdAuNgPKBl1MGQ2l7tnM1Z254E/r/Xq/ese1WeMp9U42mL7 9s8Q== X-Gm-Message-State: ALyK8tILfm0gpLvH4+399Ylaa917FmoA+jFIugXjV+Kogv3npH7RLrkB1899yntwBBhOaA== X-Received: by 10.98.34.210 with SMTP id p79mr2861700pfj.107.1464747608309; Tue, 31 May 2016 19:20:08 -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 j3sm23792631pfk.94.2016.05.31.19.20.07 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 31 May 2016 19:20:07 -0700 (PDT) Date: Tue, 31 May 2016 22:20:05 -0400 From: Noah Misch To: Robert Haas Cc: =?utf-8?B?0JLQsNGB0LjQu9GM0LXQsiDQlNC80LjRgtGA0LjQuQ==?= , "pgsql-hackers@postgresql.org" Subject: Re: Performance degradation in commit ac1d794 Message-ID: <20160601022005.GB596188@tornado.leadboat.com> References: <20160529054052.GA497229@tornado.leadboat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit 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 31, 2016 at 10:09:05PM -0400, Robert Haas wrote: > On Sun, May 29, 2016 at 1:40 AM, Noah Misch wrote: > > On Fri, Dec 25, 2015 at 08:08:15PM +0300, Васильев Дмитрий wrote: > >> I suddenly found commit ac1d794 gives up to 3 times performance degradation. > >> > >> I tried to run pgbench -s 1000 -j 48 -c 48 -S -M prepared on 70 CPU-core > >> machine: > >> commit ac1d794 gives me 363,474 tps > >> and previous commit a05dc4d gives me 956,146 > >> and master( 3d0c50f ) with revert ac1d794 gives me 969,265 > > > > [This is a generic notification.] > > > > The above-described topic is currently a PostgreSQL 9.6 open item. Robert, > > since you committed the patch believed to have created it, you own this open > > item. If some other commit is more relevant or if this does not belong as a > > 9.6 open item, please let us know. Otherwise, please observe the policy on > > open item ownership[1] and send a status update within 72 hours of this > > message. Include a date for your subsequent status update. Testers may > > discover new open items at any time, and I want to plan to get them all fixed > > well in advance of shipping 9.6rc1. Consequently, I will appreciate your > > efforts toward speedy resolution. Thanks. > > So, the reason this is back on the open items list is that Mithun Cy > re-reported this problem in: > > https://www.postgresql.org/message-id/CAD__OuhPmc6XH=wYRm_+Q657yQE88DakN4=Ybh2oveFasHkoeA@mail.gmail.com > > When I saw that, I moved this from CLOSE_WAIT back to open. However, > subsequently, Ashutosh Sharma posted this, which suggests (not > conclusively) that in fact the problem has been fixed: > > https://www.postgresql.org/message-id/CAE9k0PkFEhVq-Zg4MH0bZ-zt_oE5PAS6dAuxRCXwX9kEVWceag@mail.gmail.com > > What I *think* is going on here is: > > - ac1d794 lowered performance > - backend_flush_after with a non-zero default lowered performance with > a vengeance > - 98a64d0 repaired the damage done by ac1d794, or much of it, but > Mithun couldn't see it in his benchmarks because backend_flush_after>0 > is so bad Ashutosh Sharma's measurements do bolster that conclusion. > That could be wrong, but I haven't seen any evidence that it's wrong. > So I'm inclined to say we should just move this open item back to the > CLOSE_WAIT list (adding a link to this email to explain why we did > so). Does that work for you? That works for me. -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers