X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 994193A3CED for ; Wed, 27 Oct 2004 07:09:49 +0100 (BST) 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 02209-09 for ; Wed, 27 Oct 2004 06:09:39 +0000 (GMT) Received: from bayswater1.ymogen.net (host-154-240-27-217.pobox.net.uk [217.27.240.154]) by svr1.postgresql.org (Postfix) with ESMTP id 921283A3AE6 for ; Wed, 27 Oct 2004 07:09:39 +0100 (BST) Received: from [82.68.132.233] (82-68-132-233.dsl.in-addr.zen.co.uk [82.68.132.233]) by bayswater1.ymogen.net (Postfix) with ESMTP id CE6C5A387F; Wed, 27 Oct 2004 07:09:37 +0100 (BST) Message-ID: <417F3B91.9080002@ymogen.net> Date: Wed, 27 Oct 2004 07:09:21 +0100 From: Matt Clark User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: John Meinel Cc: Tom Lane , Curtis Zinzilieta , Anjan Dave , Rod Taylor , Postgresql Performance Subject: Re: can't handle large number of INSERT/UPDATEs References: <15812.1098847291@sss.pgh.pa.us> <417F2181.4000801@johnmeinel.com> In-Reply-To: <417F2181.4000801@johnmeinel.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200410/454 X-Sequence-Number: 8930 >> and certainly anyone who's been around a computer more than a week or >> two knows which direction "in" and "out" are customarily seen from. >> >> regards, tom lane >> > Apparently not whoever wrote the man page that everyone copied ;-) > Interesting. I checked this on several machines. They actually say > different things. > > Redhat 9- bi: Blocks sent to a block device (blocks/s). > Latest Cygwin- bi: Blocks sent to a block device (blocks/s). > Redhat 7.x- bi: Blocks sent to a block device (blocks/s). > Redhat AS3- bi: blocks sent out to a block device (in blocks/s) > > I would say that I probably agree, things should be relative to the > cpu. However, it doesn't seem to be something that was universally > agreed upon. Or maybe the man-pages were all wrong, and only got > updated recently. > Looks like the man pages are wrong, for RH7.3 at least. It says bi is 'blocks written', but an actual test like 'dd if=/dev/zero of=/tmp/test bs=1024 count=16384' on an otherwise nearly idle RH7.3 box gives: procs memory swap io system cpu r b w swpd free buff cache si so bi bo in cs us sy id 0 0 0 75936 474704 230452 953580 0 0 0 0 106 2527 0 0 99 0 0 0 75936 474704 230452 953580 0 0 0 16512 376 2572 0 2 98 0 0 0 75936 474704 230452 953580 0 0 0 0 105 2537 0 0 100 Which is in line with bo being 'blocks written'. M