Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V4i9h-0003ra-8E for pgsql-performance@arkaria.postgresql.org; Thu, 01 Aug 2013 01:58:17 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1V4i9g-0001Qk-E9 for pgsql-performance@arkaria.postgresql.org; Thu, 01 Aug 2013 01:58:16 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V4i9f-0001Qb-8b for pgsql-performance@postgresql.org; Thu, 01 Aug 2013 01:58:15 +0000 Received: from tama50.ecl.ntt.co.jp ([129.60.39.147]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V4i9X-0006Bf-Hw for pgsql-performance@postgresql.org; Thu, 01 Aug 2013 01:58:14 +0000 Received: from mfs5.rdh.ecl.ntt.co.jp (mfs5.rdh.ecl.ntt.co.jp [129.60.39.144]) by tama50.ecl.ntt.co.jp (8.13.8/8.13.8) with ESMTP id r711w5iE029558; Thu, 1 Aug 2013 10:58:05 +0900 Received: from mfs5.rdh.ecl.ntt.co.jp (localhost.localdomain [127.0.0.1]) by mfs5.rdh.ecl.ntt.co.jp (Postfix) with ESMTP id 677B6E0159; Thu, 1 Aug 2013 10:58:05 +0900 (JST) Received: from imail3.m.ecl.ntt.co.jp (imail3.m.ecl.ntt.co.jp [129.60.5.248]) by mfs5.rdh.ecl.ntt.co.jp (Postfix) with ESMTP id 520A1E0141; Thu, 1 Aug 2013 10:58:05 +0900 (JST) Received: from [129.60.241.67] ([129.60.241.67]) by imail3.m.ecl.ntt.co.jp (8.13.8/8.13.8) with ESMTP id r711w5Y0027758; Thu, 1 Aug 2013 10:58:05 +0900 Message-ID: <51F9C19E.7010105@lab.ntt.co.jp> Date: Thu, 01 Aug 2013 11:02:06 +0900 From: KONDO Mitsumasa User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7 MIME-Version: 1.0 To: Tasos Petalas CC: pgsql-performance@postgresql.org Subject: Re: PG performance issues related to storage I/O waits References: <21cb334b6ca0c09c4faa60bdd46179eb@mail.gmail.com> In-Reply-To: <21cb334b6ca0c09c4faa60bdd46179eb@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-MML: No X-Pg-Spam-Score: -0.7 (/) 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 Hi Tasos, (2013/07/31 20:58), Tasos Petalas wrote: > We have set synchronous_commit to off but since almost all of application queries > are using prepared statements we don't get any real benefit. > Also please advise on any postgres.conf modification that could significantly > affect storage load (WAL-checkpoint configuration etc.) Please send us to your postgresql.conf and detail of your server (memory ,raid cache size and OS version). I think your server's memory is big. You should set small dirty_background_ratio or dirty_background_byte. If your server's memory is big, PostgreSQL's checkpoint executes stupid disk-write. By the way, I make new checkpoint scheduler and method now. If you could send more detail information which is like response time or load average, you will help me to make better my patch. Best regards, -- Mitsumasa KONDO NTT Open Source Software Center -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance