Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 4FED3B5DBDA for ; Tue, 11 Oct 2011 12:32:58 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 26998-06 for ; Tue, 11 Oct 2011 15:32:51 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.8]) by mail.postgresql.org (Postfix) with ESMTP id 4F3CEB5DBD9 for ; Tue, 11 Oct 2011 12:32:51 -0300 (ADT) Received: from [192.168.1.6] (mail.highperformancepostgresql.com [71.179.240.8]) by mrelayeu.kundenserver.de (node=mreu2) with ESMTP (Nemesis) id 0MdqcT-1RSBTQ0vtd-00QEVb; Tue, 11 Oct 2011 17:32:49 +0200 Message-ID: <4E9461A0.3070008@2ndQuadrant.com> Date: Tue, 11 Oct 2011 11:32:48 -0400 From: Greg Smith User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20111004 Icedove/3.0.11 MIME-Version: 1.0 To: Leonardo Francalanci CC: "pgsql-performance@postgresql.org" Subject: Re: Adding more memory = hugh cpu load References: <4E92F294.9010405@gmail.com> <4E92FB87.1030703@peak6.com> <1318259675.10344.YahooMailNeo@web29011.mail.ird.yahoo.com> <4E93119C.8090407@peak6.com> <1318263277.56967.YahooMailNeo@web29013.mail.ird.yahoo.com> <4E93E746.10807@2ndQuadrant.com> <1318323477.19815.YahooMailNeo@web29005.mail.ird.yahoo.com> In-Reply-To: <1318323477.19815.YahooMailNeo@web29005.mail.ird.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:24LvSGLxT7bgx+hrqT+m3KHLOL3CusKUr3aDjS+bhA1 HG92agnLVyhQKhCXZY43J/IhDSWbLGpvDzu9EXJ62/MjSrpkAq Ps4H7SrfIBSup3hUknkjAV5lKwFvI8D8ejJQrknG53gCixlmx9 Z6HWdvUVn0Gjzb1/KbGo/LuQbdJtEcxHAC+vLk/HuxnyY5Ibi1 FDOxXrNqfrX7hel4u6Z41ryZFocGmq93m8eoLT3rbftw5DdNpZ 0Fjl68B1/VSpI3dqsGyuleNpjTiOgW/NXDBX3DoH6A5enK1M+l XdZsGvH/Df6Rp7bB1IX+WmVBFxwuGk9/5afz8a/MlK+IR+RtqA vTOYZNQKdBGl0VbIxIKE= X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201110/101 X-Sequence-Number: 45323 On 10/11/2011 04:57 AM, Leonardo Francalanci wrote: > In fact, shouldn't those things be explained in the "WAL > Configuration" section > of the manual? It looks as important as configuring Postgresql itself... > And: that applies to Linux. What about other OS, such as Solaris and FreeBSD? > There's at least 10 pages of stuff about this floating around my book, including notes on the similar Solaris and FreeBSD parameters to tune. As for why that's not in the manual instead, two reasons. The PostgreSQL manual doesn't get too deep into things like operating system adjustments for performance. It's big enough without that, and any information that would be added is likely to get out of sync with new OS releases. This project doesn't want to take on the job of documenting every twist there. My book is less than a year old, and there's already some material on this topic that's turning obsolete due to Linux kernel changes. The PostgreSQL manual is shooting to still be relevant for much longer than that. Second, making an addition to the manual is the hardest possible way to document things. The docbook toolchain used is picky and fragile to malformed additions. And you can't get anything added there without passing through a series of people who will offer feedback of some sort; usually valuable, but still time consuming to process. Things need to asked quite frequently before it's worth the trouble. I did a few blog entries and mailing list posts about this earlier this year, and that was as much documentation as I could justify at the time. If there's a user-visible behavior changes here, that's the point where an update to the manual would be in order. -- Greg Smith 2ndQuadrant US greg@2ndQuadrant.com Baltimore, MD PostgreSQL Training, Services, and 24x7 Support www.2ndQuadrant.us