X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 66E38DBAE9 for ; Fri, 18 Nov 2005 13:54:24 -0400 (AST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 66191-01 for ; Fri, 18 Nov 2005 17:54:22 +0000 (GMT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail.mi8.com (d01gw02.mi8.com [63.240.6.46]) by svr1.postgresql.org (Postfix) with ESMTP id 25362DB7B4 for ; Fri, 18 Nov 2005 13:54:20 -0400 (AST) Received: from 172.16.1.110 by mail.mi8.com with ESMTP (- Welcome to Mi8 Corporation www.Mi8.com (D2)); Fri, 18 Nov 2005 12:54:15 -0500 X-Server-Uuid: 7829E76E-BB9E-4995-8473-3C0929DF7DD1 Received: from MI8NYCMAIL06.Mi8.com ([172.16.1.175]) by D01SMTP01.Mi8.com with Microsoft SMTPSVC(6.0.3790.211); Fri, 18 Nov 2005 12:54:08 -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.105]) with Microsoft Exchange Server HTTP-DAV ; Fri, 18 Nov 2005 12:54:07 -0500 User-Agent: Microsoft-Entourage/11.2.1.051004 Date: Fri, 18 Nov 2005 09:54:07 -0800 Subject: Re: Hardware/OS recommendations for large databases ( From: "Luke Lonergan" To: stange@rentec.com cc: "Dave Cramer" , "Greg Stark" , "Joshua Marsh" , pgsql-performance@postgresql.org Message-ID: Thread-Topic: [PERFORM] Hardware/OS recommendations for large databases ( Thread-Index: AcXsZfZw6TioWM8ESuOgRPEpH6gXiQAAxu1v In-Reply-To: <437E0FF5.5090203@rentec.com> MIME-Version: 1.0 X-OriginalArrivalTime: 18 Nov 2005 17:54:08.0402 (UTC) FILETIME=[12F9F720:01C5EC69] X-WSS-ID: 6F60CACD2RS9590108-05-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.254 required=5 tests=[AWL=0.000, RCVD_NUMERIC_HELO=1.253] X-Spam-Score: 1.254 X-Spam-Level: * X-Archive-Number: 200511/369 X-Sequence-Number: 15626 Alan, On 11/18/05 9:31 AM, "Alan Stange" wrote: > Here's the output from one iteration of iostat -k 60 while the box is > doing a select count(1) on a 238GB table. > > avg-cpu: %user %nice %sys %iowait %idle > 0.99 0.00 17.97 32.40 48.64 > > Device: tps kB_read/s kB_wrtn/s kB_read kB_wrtn > sdd 345.95 130732.53 0.00 7843952 0 > > We're reading 130MB/s for a full minute. About 20% of a single cpu was > being used. The remainder being idle. Cool - thanks for the results. Is that % of one CPU, or of 2? Was the system otherwise idle? > We've done nothing fancy and achieved results you claim shouldn't be > possible. This is a system that was re-installed yesterday, no tuning > was done to the file systems, kernel or storage array. Are you happy with 130MB/s? How much did you pay for that? Is it more than $2,000, or double my 2003 PC? > What am I doing wrong? > > 9 years ago I co-designed a petabyte data store with a goal of 1GB/s IO > (for a DOE lab). And now I don't know what I'm doing, Cool. Would that be Sandia? We routinely sustain 2,000 MB/s from disk on 16x 2003 era machines on complex queries. - Luke