Received: from localhost (unknown [200.46.204.184]) by developer.postgresql.org (Postfix) with ESMTP id D80282E005F for ; Wed, 16 Apr 2008 17:07:35 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 82650-01 for ; Wed, 16 Apr 2008 17:07:21 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from mx00.pub.collaborativefusion.com (mx00.pub.collaborativefusion.com [206.210.89.199]) by developer.postgresql.org (Postfix) with ESMTP id D57932E0030 for ; Wed, 16 Apr 2008 17:07:24 -0300 (ADT) Received: from vanquish.ws.pitbpa0.priv.collaborativefusion.com (vanquish.ws.pitbpa0.priv.collaborativefusion.com [192.168.2.162]) (SSL: TLSv1/SSLv3,256bits,AES256-SHA) by wingspan with esmtp; Wed, 16 Apr 2008 16:08:21 -0400 id 00056407.48065CB5.000013A5 Date: Wed, 16 Apr 2008 16:07:24 -0400 From: Bill Moran To: Greg Smith Cc: pgsql-performance@postgresql.org Subject: Re: Background writer underemphasized ... Message-Id: <20080416160724.7605ffdb.wmoran@collaborativefusion.com> In-Reply-To: References: <480619CA.2080904@geizhals.at> <20080416144335.04368b67.wmoran@collaborativefusion.com> Organization: Collaborative Fusion X-Mailer: Sylpheed 2.4.8 (GTK+ 2.12.9; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200804/211 X-Sequence-Number: 29704 In response to Greg Smith : > On Wed, 16 Apr 2008, Bill Moran wrote: > > >> bgwriter_delay = 10000ms # 10-10000ms between rounds > >> bgwriter_lru_maxpages = 1000 # 0-1000 max buffers written/round > > Have you watched closely under load to ensure that you're not seeing a > > huge performance hit every 10s when the bgwriter kicks off? > > bgwriter_lru_maxpages = 1000 means that any background writer pass can > write at most 1000 pages = 8MB. Those are buffered writes going into the > OS cache, which it will write out at its own pace later. That isn't going > to cause a performance hit when it happens. > > That isn't the real mystery though--where's the RAID5 rant I was expecting > from you? Oh crap ... he _is_ using RAID-5! I completely missed an opportunity to rant! blah blah blah ... RAID-5 == evile, etc ... -- Bill Moran Collaborative Fusion Inc. http://people.collaborativefusion.com/~wmoran/ wmoran@collaborativefusion.com Phone: 412-422-3463x4023