Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 3CCEB1337999 for ; Wed, 2 Feb 2011 16:22:08 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 96738-07 for ; Wed, 2 Feb 2011 20:22:00 +0000 (UTC) X-Greylist: delayed 00:30:57.305083 by SQLgrey-1.7.6 Received: from mailhub1.renesys.com (mailhub1.ep.renesys.com [195.160.236.248]) by mail.postgresql.org (Postfix) with ESMTP id EC3BE133616B for ; Wed, 2 Feb 2011 16:21:59 -0400 (AST) Received: from ops05.psm1.renesys.com (ops05.psm1.renesys.com [10.200.1.25]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mailhub1.renesys.com (Postfix) with ESMTP id D09ED67203; Wed, 2 Feb 2011 19:51:01 +0000 (UTC) Received: (from rouilj@localhost) by ops05.psm1.renesys.com (8.13.8/8.13.8/Submit) id p12Jp1II030243; Wed, 2 Feb 2011 19:51:01 GMT Date: Wed, 2 Feb 2011 19:51:01 +0000 From: John Rouillard To: Wayne Conrad Cc: pgsql-performance@postgresql.org Subject: Re: Are we in the ballpark? Message-ID: <20110202195101.GM2027@renesys.com> References: <4D48A3E6.6080904@databill.com> <4D48B3AC.206@2ndquadrant.com> <4D498F2D.2030501@databill.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D498F2D.2030501@databill.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201102/40 X-Sequence-Number: 42178 On Wed, Feb 02, 2011 at 10:06:53AM -0700, Wayne Conrad wrote: > On 02/01/11 18:30, Greg Smith wrote: > >>Bonnie++ (-f -n 0 -c 4) > >>$PGDATA/xlog (RAID1) > >>random seek: 369/sec > >>block out: 87 MB/sec > >>block in: 180 MB/sec > >>$PGDATA (RAID10, 12 drives) > >>random seek: 452 > >>block out: 439 MB/sec > >>block in: 881 MB/sec > >> > >>sysbench test of fsync (commit) rate: > >> > >>$PGDATA/xlog (RAID1) > >>cache off: 29 req/sec > >>cache on: 9,342 req/sec > >>$PGDATA (RAID10, 12 drives) > >>cache off: 61 req/sec > >>cache on: 8,191 req/sec > > > >That random seek rate is a little low for 12 drives, but that's probably > >the limitations of the 3ware controller kicking in there. Your "cache > >off" figures are really weird though; I'd expect those both to be around > >100. Makes me wonder if something weird is happening in the controller, > >or if there was a problem with your config when testing that. Not a big > >deal, really--the cached numbers are normally going to be the important > >ones--but it is odd. > > I also thought the "cache off" figures were odd. I expected > something much closer to 120 req/sec (7200 rpm drives). I probably > won't investigate that with any vigor, since the cache-on numbers > are OK. You may want to look into the "cache off" figures a little more. We run a number of battery backed raid controllers and we test the batteries every 6 months or so. When we test the batteries, the cache goes off line (as it should) to help keep the data valid. If you need to test your raid card batteries (nothing like having a battery with only a 6 hour runtime when it takes you a couple of days MTTR), can your database app survive with that low a commit rate? As you said you ar expecting something almost 4-5x faster with 7200 rpm disks. -- -- rouilj John Rouillard System Administrator Renesys Corporation 603-244-9084 (cell) 603-643-9300 x 111