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 5239E9F9FB1 for ; Thu, 14 Sep 2006 15:21:19 -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 87796-06 for ; Thu, 14 Sep 2006 18:21:15 +0000 (UTC) X-Greylist: delayed 00:14:18.875684 by SQLgrey- Received: from pro25.abac.com (pro25.abac.com [66.226.64.26]) by postgresql.org (Postfix) with ESMTP id 938D69FB22B for ; Thu, 14 Sep 2006 15:21:14 -0300 (ADT) Received: from [192.168.0.3] (wsip-70-167-125-69.sd.sd.cox.net [70.167.125.69]) (authenticated bits=0) by pro25.abac.com (8.13.8/8.13.8) with ESMTP id k8EI6jmE031917 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 14 Sep 2006 11:06:51 -0700 (PDT) (envelope-from cjames@modgraph-usa.com) Message-ID: <450999EC.8070601@modgraph-usa.com> Date: Thu, 14 Sep 2006 11:05:32 -0700 From: "Craig A. James" User-Agent: Thunderbird 1.5.0.5 (X11/20060719) MIME-Version: 1.0 To: pgsql-performance@postgresql.org Subject: RAID 0 not as fast as expected Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200609/165 X-Sequence-Number: 20851 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 bandwidth limited; they can't actually handle two disks simultaneously, and I'd need to get four separate SATA cards to get 4X performance (or a more expensive card such as the Areca someone mentioned the other day). On the other hand, it "feels like" (using our application) the seek performance is quite a bit better, which I'd expect given my hypothesis about the SIIG cards. I don't have concrete benchmarks on seek speed. Thanks, Craig