Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U34Ro-0004hL-IB for pgsql-performance@arkaria.postgresql.org; Wed, 06 Feb 2013 12:49:56 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1U34Rn-0005Vp-HC for pgsql-performance@arkaria.postgresql.org; Wed, 06 Feb 2013 12:49:55 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U34Rm-0005Vk-8N for pgsql-performance@postgresql.org; Wed, 06 Feb 2013 12:49:54 +0000 Received: from nm28.bullet.mail.bf1.yahoo.com ([98.139.212.187]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1U34Rh-0003H1-1k for pgsql-performance@postgresql.org; Wed, 06 Feb 2013 12:49:53 +0000 Received: from [98.139.212.146] by nm28.bullet.mail.bf1.yahoo.com with NNFMP; 06 Feb 2013 12:49:47 -0000 Received: from [98.139.212.201] by tm3.bullet.mail.bf1.yahoo.com with NNFMP; 06 Feb 2013 12:49:47 -0000 Received: from [127.0.0.1] by omp1010.mail.bf1.yahoo.com with NNFMP; 06 Feb 2013 12:49:47 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 758256.17676.bm@omp1010.mail.bf1.yahoo.com Received: (qmail 92245 invoked by uid 60001); 6 Feb 2013 12:49:47 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s1024; t=1360154987; bh=acgLmMWi+zQDP1j5qt4YXQEjm+Hjk+rF0idcDkQkHJA=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=hojG9+kK5B8m4JdDLZyQm1c7+OixKnZI12trb7GxnJhXFxc/B5edldgOCUPbKCB4S7vYxGgkgfv9Owrx38dmUzrIC2QtSZnLirGatBUEnrAk+rhIwGxsWIyh3CWkbVrtEABEsaS4MblYOSlVYFnfIpguwLeJAIPAhIgS6TwTvMo= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=ymail.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=5oOd+vGDwBCrFtlydGvrisMs2qB0eHVfmCzxm7en+n3XcaVM1O+cpms8gt0+wdi+ZAGI96/tUl6viulLZ8U4LwCIXe+OZGADz05M2OY+yfBUFRmi4R4R7yAfO1BG6o5Su5ImOvStx8a8xSO/4r58/A+/uJsXcr4Cb3FFBNPOyGc=; X-YMail-OSG: fv.HVckVM1lY3agapk3tyEZjrXKPSgdezmGlBfHMsOWJ4wP MJMKthge0ecGA77bgysb5Dim67q5FdgLbOfGHJPMda6EgRWjA4AEQnMwFUex CNY9PQxgDmYnh34eG3i.wLzHSC1hTLhpcsWqTV6_VT.dY_YCeJg.netqyBAe kPdeozogEvF5EOnLwpv8JRgOi7c7cMr0RqRHT1IN3M37Ggg0DZLYV.vYsP7Z JI5lsKqDx44DbEvwuizAg7cgZP5QqqfOhtJRPpe7TQHBalPi4EFikonm98Ey RCrbcpon1OMa32caMWKt9i9Yizu7fqWuwvfASS.jKr2zy_IyytujEKIoCUXP 3cz1L0tbqAeWEs51GYw2y26gCQLHVYt7ijKYeyDehrhJqpzSJI0LgVwqA2u1 VVOQk0_tNDisMfdRsfezfX2vXt1cWn731k.DndztJfA7g0_wJn3EN3aEj7iA 6A_DTxY_Bf9_42x5pZYNwUWkKyg-- Received: from [76.255.19.161] by web162901.mail.bf1.yahoo.com via HTTP; Wed, 06 Feb 2013 04:49:47 PST X-Rocket-MIMEInfo: 001.001, ImFjQGhzay5oayIgPGFjQGhzay5oaz4gd3JvdGU6Cj4gSm9obm55IFRhbiA8am9obm55ZHRhbkBnbWFpbC5jb20.IHdyb3RlOgoKPj5zaGFyZWRfYnVmZmVycyA9IDQ4R0IjIG1pbiAxMjhrQgoKPiBGcm9tIHRoZSBwb3N0Z3Jlc3FsLmNvbmYsIEkgY2FuIHNlZSB0aGF0IHRoZSBzaGFyZWRfYnVmZmVycyBpcwo.IHNldCB0byA0OEdCIHdoaWNoIGlzIG5vdCBzbWFsbCzCoCBpdCB3b3VsZCBiZSBwb3NzaWJsZSB0aGF0IHRoZQo.IGxhcmdlIGJ1ZmZlciBjYWNoZSBjb3VsZCBiZSAiZGlydHkiLCB3aGVuIGEgY2gBMAEBAQE- X-Mailer: YahooMailWebService/0.8.132.503 References: <13A05E96-01A0-4B0A-8EA3-2A3B7FDF6838@hsk.hk> Message-ID: <1360154987.89420.YahooMailNeo@web162901.mail.bf1.yahoo.com> Date: Wed, 6 Feb 2013 04:49:47 -0800 (PST) From: Kevin Grittner Reply-To: Kevin Grittner Subject: Re: postgresql.conf recommendations To: "ac@hsk.hk" , Josh Krupka , Johnny Tan Cc: Alex Kahn , "pgsql-performance@postgresql.org" In-Reply-To: <13A05E96-01A0-4B0A-8EA3-2A3B7FDF6838@hsk.hk> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Pg-Spam-Score: -0.1 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org "ac@hsk.hk" wrote: > Johnny Tan wrote: >>shared_buffers =3D 48GB# min 128kB > From the postgresql.conf, I can see that the shared_buffers is > set to 48GB which is not small,=A0 it would be possible that the > large buffer cache could be "dirty", when a checkpoint starts, it > would cause a checkpoint I/O spike. > > > I would like to suggest you about using pgtune to get recommended > conf for postgresql. I have seen symptoms like those described which were the result of too many dirty pages accumulating inside PostgreSQL shared_buffers. It might be something else entirely in this case, but it would at least be worth trying a reduced shared_buffers setting combined with more aggressive bgwriter settings.=A0 I might try something like the following changes, as an experiment: shared_buffers =3D 8GB bgwriter_lru_maxpages =3D 1000 bgwriter_lru_multiplier =3D 4 -Kevin --=20 Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance