X-Original-To: pgsql-performance-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 009CE9FB22B for ; Thu, 14 Sep 2006 15:49:59 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 97708-03 for ; Thu, 14 Sep 2006 18:49:50 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from lists.commandprompt.com (host-130.commandprompt.net [207.173.203.130]) by postgresql.org (Postfix) with ESMTP id 11ACD9FA2D4 for ; Thu, 14 Sep 2006 15:49:49 -0300 (ADT) Received: from [192.168.1.50] (or-67-76-146-141.sta.embarqhsd.net [67.76.146.141]) (authenticated bits=0) by lists.commandprompt.com (8.13.7/8.13.6) with ESMTP id k8EInjfN006563 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 14 Sep 2006 11:49:46 -0700 Message-ID: <4509A447.3000507@commandprompt.com> Date: Thu, 14 Sep 2006 11:49:43 -0700 From: "Joshua D. Drake" Organization: Command Prompt, Inc. User-Agent: Thunderbird 1.5.0.5 (X11/20060728) MIME-Version: 1.0 To: "Craig A. James" CC: pgsql-performance@postgresql.org Subject: Re: RAID 0 not as fast as expected References: <450999EC.8070601@modgraph-usa.com> In-Reply-To: <450999EC.8070601@modgraph-usa.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.88.3, clamav-milter version 0.88.3 on projects.commandprompt.com X-Virus-Status: Clean X-Greylist: Sender succeded SMTP AUTH authentication, not delayed by milter-greylist-1.6 (lists.commandprompt.com [192.168.2.159]); Thu, 14 Sep 2006 11:49:46 -0700 (PDT) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.135 tagged_above=0 required=5 tests=FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200609/167 X-Sequence-Number: 20853 Craig A. James wrote: > I'm experiment with RAID, looking for an inexpensive way to boost > performance. I bought 4 Seagate 7200.9 120 GB SATA drives and two SIIG > dual-port SATA cards. (NB: I don't plan to run RAID 0 in production, > probably RAID 10, so no need to comment on the failure rate of RAID 0.) > > I used this raw serial-speed test: > > time sh -c "dd if=/dev/zero of=./bigfile bs=8k count=1000000 && sync" > (unmount/remount) > time sh -c "dd if=./bigfile of=/dev/null bs=8k count=1000000 && sync" > > Which showed that the RAID 0 4-disk array was almost exactly twice as > fast as each disk individually. I expected 4X performance for a 4-disk > RAID 0. My suspicion is that each of these budget SATA cards is I am assuming linux here, Linux software raid 0 is known not to be super duper. Secondly remember that there is overhead involved with using raid. The direct correlation doesn't work. Joshua D. Drake > -- === The PostgreSQL Company: Command Prompt, Inc. === Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240 Providing the most comprehensive PostgreSQL solutions since 1997 http://www.commandprompt.com/