Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id D9A609F9242 for ; Tue, 6 Nov 2007 10:09:47 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 60521-02-2 for ; Tue, 6 Nov 2007 10:09:13 -0400 (AST) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.187]) by postgresql.org (Postfix) with ESMTP id 389E09F9259 for ; Tue, 6 Nov 2007 10:09:37 -0400 (AST) Received: by fk-out-0910.google.com with SMTP id b27so2025268fka for ; Tue, 06 Nov 2007 06:09:36 -0800 (PST) Received: by 10.82.111.8 with SMTP id j8mr12117178buc.1194358175947; Tue, 06 Nov 2007 06:09:35 -0800 (PST) Received: by 10.82.108.10 with HTTP; Tue, 6 Nov 2007 06:09:35 -0800 (PST) Message-ID: Date: Tue, 6 Nov 2007 09:09:35 -0500 From: "Phillip Mills" To: pgsql-jdbc@postgresql.org Subject: Beginning tuning MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_32833_10545202.1194358175938" X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.002 tagged_above=0 required=5 tests=BAYES_50=0.001, HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 200711/10 X-Sequence-Number: 17765 ------=_Part_32833_10545202.1194358175938 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I'm just getting started on the process of analyzing performance for a Java Enterprise application. (The main negative symptom at the moment is that it doesn't use more than three processors on an eight-processor system, regardless of load.) One of the first things I've noticed out of a number of thread dumps is that there's about an 80% chance that the stack points to I/O requests from PGStream.ReceiveChar(). I'm wondering about any hints or pointers that would help me understand whether that's expected behavior, or something that needs fixing, or just generally how to evaluate/improve JDBC performance. (Regarding the main problem, none of my threads are reported in a blocked state, leading to my focus on I/O.) ------=_Part_32833_10545202.1194358175938 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline I'm just getting started on the process of analyzing performance for a Java Enterprise application.  (The main negative symptom at the moment is that it doesn't use more than three processors on an eight-processor system, regardless of load.)

One of the first things I've noticed out of a number of thread dumps is that there's about an 80% chance that the stack points to I/O requests from PGStream.ReceiveChar().  I'm wondering about any hints or pointers that would help me understand whether that's expected behavior, or something that needs fixing, or just generally how to evaluate/improve JDBC performance.

(Regarding the main problem, none of my threads are reported in a blocked state, leading to my focus on I/O.)
------=_Part_32833_10545202.1194358175938--