X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 4BBB69DCC46 for ; Tue, 31 Jan 2006 21:35:40 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 12465-05 for ; Tue, 31 Jan 2006 21:35:43 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail.mi8.com (d01gw04.mi8.com [63.240.6.44]) by postgresql.org (Postfix) with ESMTP id 07AD29DCC3C for ; Tue, 31 Jan 2006 21:35:37 -0400 (AST) Received: from 172.16.1.110 by mail.mi8.com with ESMTP (- Welcome to Mi8 Corporation www.Mi8.com (D4)); Tue, 31 Jan 2006 20:35:34 -0500 X-Server-Uuid: C8FB4D43-1108-484A-A898-3CBCC7906230 Received: from MI8NYCMAIL06.Mi8.com ([172.16.1.175]) by D01SMTP01.Mi8.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 31 Jan 2006 20:35:34 -0500 Received: from 67.103.45.218 ([67.103.45.218]) by MI8NYCMAIL06.Mi8.com ( [172.16.1.219]) via Exchange Front-End Server mi8owa.mi8.com ( [172.16.1.106]) with Microsoft Exchange Server HTTP-DAV ; Wed, 1 Feb 2006 01:35:33 +0000 User-Agent: Microsoft-Entourage/11.2.1.051004 Date: Tue, 31 Jan 2006 17:35:32 -0800 Subject: Re: Huge Data sets, simple queries From: "Luke Lonergan" To: "Steinar H. Gunderson" cc: "Jeffrey W. Baker" , pgsql-performance@postgresql.org Message-ID: Thread-Topic: [PERFORM] Huge Data sets, simple queries Thread-Index: AcYmz8pBCOnQdpLDEdqBvAANk63kWA== In-Reply-To: <20060201012615.GA31927@uio.no> MIME-Version: 1.0 X-OriginalArrivalTime: 01 Feb 2006 01:35:34.0352 (UTC) FILETIME=[CBA82D00:01C626CF] X-WSS-ID: 6FFECFEC20C1956816-01-01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=1.316 required=5 tests=[AWL=0.063, RCVD_NUMERIC_HELO=1.253] X-Spam-Score: 1.316 X-Spam-Level: * X-Archive-Number: 200601/504 X-Sequence-Number: 16982 Steinar, On 1/31/06 5:26 PM, "Steinar H. Gunderson" wrote: > cassarossa:~# grep md1 /proc/mdstat > md1 : active raid1 sdf6[1] sda6[0] > cassarossa:~# dd if=/dev/sda6 of=/dev/null bs=8k count=400000 > [system at about 35% wait for I/O and 15% system, according to top] > 400000+0 records in > 400000+0 records out > 3276800000 bytes transferred in 54,488154 seconds (60137842 bytes/sec) > [system at about 45% wait for I/O and 7% system -- whoa?] > 400000+0 records in > 400000+0 records out > 3276800000 bytes transferred in 52,523771 seconds (62386990 bytes/sec) > > I'm not sure if it _refutes_ the assertion that the Linux RAID-1 driver can > do balancing of sequential reads, but it certainly doesn't present very much > evidence in that direction. BTW, sda and sdf are on different channels of a > dual-channel (onboard, connected via PCI-X) Adaptec board, so I doubt the bus > is the limiting factor. Yep - 2MB/s is noise. Run a RAID0, you should get 120MB/s. Incidentally, before this thread took a turn to RAID10 vs. RAID5, the question of HW RAID adapter versus SW RAID was the focus. I routinely see numbers like 20MB/s coming from HW RAID adapters on Linux, so it's nice to see someone post a decent number using SW RAID. We're very happy with the 3Ware HW RAID adapters, but so far they're the only ones (I have two Arecas but I mistakenly ordered PCI-E so I can't test them :-( - Luke