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 262D29DC806 for ; Mon, 9 Jan 2006 18:01:11 -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 73780-06 for ; Mon, 9 Jan 2006 18:01:11 -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 6BED59DC9B6 for ; Mon, 9 Jan 2006 17:29:46 -0400 (AST) Received: from 172.16.1.25 by mail.mi8.com with ESMTP (- Welcome to Mi8 Corporation www.Mi8.com (D4)); Mon, 09 Jan 2006 16:29:32 -0500 X-Server-Uuid: C8FB4D43-1108-484A-A898-3CBCC7906230 Received: from MI8NYCMAIL06.Mi8.com ([172.16.1.175]) by D01HOST03.Mi8.com with Microsoft SMTPSVC(6.0.3790.1830); Mon, 9 Jan 2006 16:29:32 -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.104]) with Microsoft Exchange Server HTTP-DAV ; Mon, 9 Jan 2006 21:29:31 +0000 User-Agent: Microsoft-Entourage/11.2.1.051004 Date: Mon, 09 Jan 2006 13:29:30 -0800 Subject: Re: help tuning queries on large database From: "Luke Lonergan" To: "peter royal" , pgsql-performance@postgresql.org Message-ID: Thread-Topic: [PERFORM] help tuning queries on large database Thread-Index: AcYVX8QmxXtNzF+OQJOhbvE3iqeNtQABAIvI In-Reply-To: <5CBD78E6-FB37-442C-B7E9-6F1DA03C8AEC@pobox.com> MIME-Version: 1.0 X-OriginalArrivalTime: 09 Jan 2006 21:29:32.0388 (UTC) FILETIME=[C7C0BA40:01C61563] X-WSS-ID: 6FDC0A3612G10370531-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.29 required=5 tests=[AWL=0.037, RCVD_NUMERIC_HELO=1.253] X-Spam-Score: 1.29 X-Spam-Level: * X-Archive-Number: 200601/70 X-Sequence-Number: 16548 Peter, On 1/9/06 12:59 PM, "peter royal" wrote: > Overall, I got a 50% boost in the overall speed of my test suite by > using XFS and the 16k read-ahead. Yes, it all looks pretty good for your config, though it looks like you might be adapter limited with the Areca - you should have seen a read time with XFS of about 17 seconds. OTOH - with RAID5, you are probably about balanced, you should see a read time of about 19 seconds and instead you'll get your 22 which isn't too big of a deal. > Thanks for the help! Sure - no problem! BTW - I'm running tests right now with the 3Ware 9550SX controllers. Two of them on one machine running simultaneously with 16 drives and we're getting 800MB/s sustained read times. That's a 32GB file read in 40 seconds (!!) At that rate, we're only about 3x slower than memory access (practically limited at around 2GB/s even though the system bus peak is 10GB/s). So, the point is, if you want to get close to your "warm" speed, you need to get your disk I/O as close to main memory speed as you can. With parallel I/O you can do that (see Bizgres MPP for more). - Luke