X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 7D14CD7965 for ; Fri, 11 Nov 2005 15:12:30 -0400 (AST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 98251-03 for ; Fri, 11 Nov 2005 19:12:28 +0000 (GMT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 45CA3D6D04 for ; Fri, 11 Nov 2005 15:12:29 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id jABJBvDI020816; Fri, 11 Nov 2005 14:11:57 -0500 (EST) To: Marcin Giedz cc: "Jim C. Nasby" , pgsql-admin@postgresql.org Subject: Re: Xeon vs Opteron - second revision - tests and questions In-reply-to: <4374E57F.5030201@eulerhermes.pl> References: <200511091526.51685.marcin.giedz@eulerhermes.pl> <18347.1131563949@sss.pgh.pa.us> <4374E57F.5030201@eulerhermes.pl> Comments: In-reply-to Marcin Giedz message dated "Fri, 11 Nov 2005 19:39:59 +0100" Date: Fri, 11 Nov 2005 14:11:57 -0500 Message-ID: <20815.1131736317@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.006 required=5 tests=[AWL=0.006] X-Spam-Score: 0.006 X-Spam-Level: X-Archive-Number: 200511/139 X-Sequence-Number: 19512 Marcin Giedz writes: > However I still can see 'spikey' performance but not as much as before > changes. What can I do more to eliminate or smooth these spikes? The spikes are certainly caused by checkpoints. You can fool with the checkpoint timing via checkpoint_segments and checkpoint_timeout. Usually people put them as far apart as they can stand (the constraint on this is mainly how long you'd like to wait for recovery after a system crash, and how much disk space you can spare for WAL logs). Increasing the bg_writer parameters can be expected to dampen the spikes but not eliminate them completely. regards, tom lane