X-Original-To: pgsql-performance-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 8F6AD9FB2F9 for ; Wed, 9 Aug 2006 18:37:35 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 06816-09 for ; Wed, 9 Aug 2006 18:37:30 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from exchange.g2switchworks.com (mail.g2switchworks.com [63.87.162.25]) by postgresql.org (Postfix) with ESMTP id 17A2C9FB2F8 for ; Wed, 9 Aug 2006 18:37:29 -0300 (ADT) Received: from 10.10.1.37 ([10.10.1.37]) by exchange.g2switchworks.com ([10.10.1.2]) with Microsoft Exchange Server HTTP-DAV ; Wed, 9 Aug 2006 21:37:28 +0000 Received: from state.g2switchworks.com by mail.g2switchworks.com; 09 Aug 2006 16:37:28 -0500 Subject: Re: Postgresql Performance on an HP DL385 and From: Scott Marlowe To: Steve Poe Cc: "Jim C. Nasby" , Luke Lonergan , Alex Turner , pgsql-performance@postgresql.org In-Reply-To: <721b21dc0608091411g3a1a6e60q449de0d91020f9dc@mail.gmail.com> References: <3E37B936B592014B978C4415F90D662D03FFEF6E@MI8NYCMAIL06.Mi8.com> <721b21dc0608082245u6ee62e7dg522ff18e4d72683@mail.gmail.com> <20060809210539.GR40481@pervasive.com> <721b21dc0608091411g3a1a6e60q449de0d91020f9dc@mail.gmail.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1155159448.20252.121.camel@state.g2switchworks.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Wed, 09 Aug 2006 16:37:28 -0500 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.107 tagged_above=0 required=5 tests=AWL, SPF_PASS, UNPARSEABLE_RELAY X-Spam-Level: X-Archive-Number: 200608/166 X-Sequence-Number: 20351 On Wed, 2006-08-09 at 16:11, Steve Poe wrote: > Jim, > > I'll give it a try. However, I did not see anywhere in the BIOS > configuration of the 642 RAID adapter to enable writeback. It may have > been mislabled cache accelerator where you can give a percentage to > read/write. That aspect did not change the performance like the LSI > MegaRAID adapter does. Nope, that's not the same thing. Does your raid controller have batter backed cache, or plain or regular cache? write back is unsafe without battery backup. The default is write through (i.e. the card waits for the data to get written out before acking an fsync). In write back, the card's driver writes the data to the bb cache, then returns on an fsync while the cache gets written out at leisure. In the event of a loss of power, the cache is flushed on restart.