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 02056D77D6 for ; Sun, 20 Nov 2005 09:43:17 -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 80852-05 for ; Sun, 20 Nov 2005 13:43:19 +0000 (GMT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from unicorn.rentec.com (unicorn.rentec.com [216.223.240.9]) by svr1.postgresql.org (Postfix) with ESMTP id 696ADD735B for ; Sun, 20 Nov 2005 09:43:13 -0400 (AST) Received: from ram.rentec.com (mailhost [192.5.35.66]) by unicorn.rentec.com (8.13.1/8.12.1) with ESMTP id jAKDh985005224 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 20 Nov 2005 08:43:10 -0500 (EST) X-Source: non-mednet Received: from [172.16.160.106] (stangesun.rentec.com [172.16.160.106]) by ram.rentec.com (8.13.1/8.12.1) with ESMTP id jAKDgbxH026842; Sun, 20 Nov 2005 08:42:38 -0500 (EST) Message-ID: <43807D31.6050008@rentec.com> Date: Sun, 20 Nov 2005 08:42:09 -0500 From: Alan Stange User-Agent: Thunderbird 1.5 (X11/20051025) MIME-Version: 1.0 To: William Yu CC: pgsql-performance@postgresql.org Subject: Re: Hardware/OS recommendations for large databases ( References: <437FE2E4.5040600@rentec.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Logged: Logged by unicorn.rentec.com as jAKDh985005224 at Sun Nov 20 08:43:10 2005 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.011 required=5 tests=[AWL=0.011] X-Spam-Score: 0.011 X-Spam-Level: X-Archive-Number: 200511/410 X-Sequence-Number: 15667 William Yu wrote: > Alan Stange wrote: >> Luke Lonergan wrote: >>> The "aka iowait" is the problem here - iowait is not idle (otherwise it >>> would be in the "idle" column). >>> >>> Iowait is time spent waiting on blocking io calls. As another poster >>> pointed out, you have a two CPU system, and during your scan, as >> >> iowait time is idle time. Period. This point has been debated >> endlessly for Solaris and other OS's as well. > > I'm sure the the theory is nice but here's my experience with iowait > just a minute ago. I run Linux/XFce as my desktop -- decided I wanted > to lookup some stuff in Wikipedia under Mozilla and my computer system > became completely unusable for nearly a minute while who knows what > Mozilla was doing. (Probably loading all the language packs.) I could > not even switch to IRC (already loaded) to chat with other people > while Mozilla was chewing up all my disk I/O. > > So I went to another computer, connected to mine remotely (slow...) > and checked top. 90% in the "wa" column which I assume is the iowait > column. It may be idle in theory but it's not a very useful idle -- > wasn't able to switch to any programs already running, couldn't click > on the XFce launchbar to run any new programs. So, you have a sucky computer. I'm sorry, but iowait is still idle time, whether you believe it or not. -- Alan