Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 930A629CEF3 for ; Wed, 18 Jul 2012 01:20:59 -0300 (ADT) Received: from mail-pb0-f46.google.com ([209.85.160.46]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SrLkw-0004t9-BH for pgsql-hackers@postgresql.org; Wed, 18 Jul 2012 04:20:59 +0000 Received: by pbbrp8 with SMTP id rp8so1926223pbb.19 for ; Tue, 17 Jul 2012 21:20:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=9gPxYqoM+lMhoHqQk35lJzGgoIOzVXHkalrPi7zFo6c=; b=j9tuQqLlfcrpboVT1cXr9htt5j/ZsFbG8ntDOS0SyKmJODqdcpM68dpWljDUK7L2ZT +2rueRh99JuGXsxBQSvEcu2PaernhSRDy7b1fzAtdVhAOHvxe/C/SKC4K4WKxg4jNFI2 t7lezRI1GcBSO6NeXta4b4gV7o8X8pvPytXO2lIPShCBorxEPYG5/s6ksvKMVxcXMGS7 ty9LF43pkajSd0XHF2txgQUC6RzzIl25VIQGO6tHL1XPmPYKoVHoIqfy/4Vep+mk4J8d JsF03qULO7DiPwvdc3Bs8ZiNd2+v2emxzXPQhtPz4CKQ6x6cB0lTNTxMOMXH2a28etIM EgBA== Received: by 10.68.219.135 with SMTP id po7mr3655458pbc.149.1342585245417; Tue, 17 Jul 2012 21:20:45 -0700 (PDT) Received: from ayaki.localdomain (office1.postnewspapers.com.au. [150.101.171.128]) by mx.google.com with ESMTPS id oi5sm14051982pbb.39.2012.07.17.21.20.41 (version=SSLv3 cipher=OTHER); Tue, 17 Jul 2012 21:20:44 -0700 (PDT) Message-ID: <50063997.9030509@ringerc.id.au> Date: Wed, 18 Jul 2012 12:20:39 +0800 From: Craig Ringer User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0 MIME-Version: 1.0 To: Greg Smith CC: Tom Lane , Robert Haas , Jeff Janes , pgsql-hackers , Daniel Farina , =?ISO-8859-1?Q?=22Harold_A=2E_Gim=E9nez=22?= Subject: Re: Checkpointer split has broken things dramatically (was Re: DELETE vs TRUNCATE explanation) References: <4FFCCAC4.4030503@ringerc.id.au> <32078D4B40DD40ECB739D0ECD7D95996@gmail.com> <19949.1342376967@sss.pgh.pa.us> <9603.1342454919@sss.pgh.pa.us> <11952.1342456591@sss.pgh.pa.us> <13011.1342457859@sss.pgh.pa.us> <15955.1342466333@sss.pgh.pa.us> <9247.1342565810@sss.pgh.pa.us> <500634C8.8030302@2ndQuadrant.com> In-Reply-To: <500634C8.8030302@2ndQuadrant.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQnJt7DBznw4euQqbmzFh5c97P2fEoPdFYbFJDzSiFNRfsUq3GF5Md7XVMr7ZkSrWTO0DDsV X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201207/780 X-Sequence-Number: 211463 On 07/18/2012 12:00 PM, Greg Smith wrote: > The second justification for the split was that it seems easier to get > a low power result from, which I believe was the angle Peter Geoghegan > was working when this popped up originally. The checkpointer has to > run sometimes, but only at a 50% duty cycle as it's tuned out of the > box. It seems nice to be able to approach that in a way that's power > efficient without coupling it to whatever heartbeat the BGW is running > at. I could even see people changing the frequencies for each > independently depending on expected system load. Tune for lower power > when you don't expect many users, that sort of thing. > Yeah - I'm already seeing benefits from that on my laptop, with much less need to stop Pg when I'm not using it. -- Craig Ringer