Received: from localhost (uranus.hub.org [200.46.204.60]) by postgresql.org (Postfix) with ESMTP id A60DD9FB222 for ; Mon, 6 Nov 2006 21:55:06 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.60]) (amavisd-new, port 10024) with ESMTP id 99583-06 for ; Mon, 6 Nov 2006 21:55:03 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from linda-1.paradise.net.nz (linda-1.paradise.net.nz [203.96.152.180]) by postgresql.org (Postfix) with ESMTP id 989999FA12F for ; Mon, 6 Nov 2006 21:55:03 -0400 (AST) Received: from smtp-3.paradise.net.nz (tclsnelb1-src-1.paradise.net.nz [203.96.152.172]) by linda-1.paradise.net.nz (Paradise.net.nz) with ESMTP id <0J8C00MWC7ZN9F@linda-1.paradise.net.nz> for pgsql-performance@postgresql.org; Tue, 07 Nov 2006 14:55:01 +1300 (NZDT) Received: from [192.168.1.11] (218-101-28-187.dsl.clear.net.nz [218.101.28.187]) by smtp-3.paradise.net.nz (Postfix) with ESMTP id 911DE5CA8E9; Tue, 07 Nov 2006 14:52:11 +1300 (NZDT) Date: Tue, 07 Nov 2006 14:52:09 +1300 From: Mark Kirkwood Subject: Re: Easy read-heavy benchmark kicking around? In-reply-to: <454F9F62.9070408@janestcapital.com> To: Brian Hurt Cc: pgsql-performance@postgresql.org Message-id: <454FE6C9.7060404@paradise.net.nz> MIME-version: 1.0 Content-type: text/plain; format=flowed; charset=ISO-8859-1 Content-transfer-encoding: 7bit User-Agent: Thunderbird 1.5.0.7 (X11/20061101) References: <20061102160057.GA26580@oppetid.no> <454F9F62.9070408@janestcapital.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200611/78 X-Sequence-Number: 21848 Brian Hurt wrote: > I'm having a spot of problem with out storage device vendor. Read > performance (as measured by both bonnie++ and hdparm -t) is abysmal > (~14Mbyte/sec), and we're trying to get them to fix it. Unfortunately, > they're using the fact that bonnie++ is an open source benchmark to > weasle out of doing anything- they can't fix it unless I can show an > impact in Postgresql. > > So the question is: is there an easy to install and run, read-heavy > benchmark out there that I can wave at them to get them to fix the > problem? I have a second database running on a single SATA drive, so I > can use that as a comparison point- "look, we're getting 1/3rd the read > speed of a single SATA drive- this sucks!" > You could use the lineitem table from the TPC-H dataset (http://www.tpc.org/tpch/default.asp). Generate the dataset for a scale factor that makes lineitem about 2x your ram, load the table and do: SELECT count(*) FROM lineitem vmstat or iostat while this is happening should display your meager throughput well enough to get your vendors attention (I'm checking this on a fairly old 4 disk system of mine as I type this - I'm seeing about 90Mb/s...) best wishes Mark