Received: from localhost (unknown [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 871B89F9255 for ; Wed, 7 Nov 2007 17:24:59 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 73569-04-2 for ; Wed, 7 Nov 2007 17:24:52 -0400 (AST) Received: from tremor.opencloud.co.nz (tremor.opencloud.co.nz [131.203.101.230]) by postgresql.org (Postfix) with ESMTP id 9AEAB9FCB6E for ; Wed, 7 Nov 2007 17:24:48 -0400 (AST) Received: from 219-88-216-234.jetstream.xtra.co.nz ([219.88.216.234] helo=[10.1.1.3]) by tremor.opencloud.co.nz with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1IpsOD-0001tb-Dz; Thu, 08 Nov 2007 10:24:45 +1300 Message-ID: <47322D1C.4040405@opencloud.com> Date: Thu, 08 Nov 2007 10:24:44 +1300 From: Oliver Jowett User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Phillip Mills CC: pgsql-jdbc@postgresql.org Subject: Re: Beginning tuning References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.001 tagged_above=0 required=5 tests=BAYES_50=0.001 X-Spam-Level: X-Archive-Number: 200711/25 X-Sequence-Number: 17780 Phillip Mills wrote: > (Regarding the main problem, none of my threads are reported in a > blocked state, leading to my focus on I/O.) BTW, this is because Sun JVM thread dumps and JVMPI/JVMTI generally consider a thread currently in a native method to be "running" regardless of what it's actually doing. In the case of a network read (implemented as a native method), it's actually most likely to be blocked in the kernel waiting on more data from the server. Makes for fun when profiling, I've had to build tools to explicitly exclude "is probably blocked" native methods from profile results to get anything useful on systems that are mostly I/O bound :( -O