Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 93E2E9F96ED for ; Tue, 6 Nov 2007 10:40:40 -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 13576-02-4 for ; Tue, 6 Nov 2007 10:40:07 -0400 (AST) Received: from beaver.fastcrypt.com (beaver.fastcrypt.com [64.7.141.17]) by postgresql.org (Postfix) with ESMTP id F1DEF9F96F4 for ; Tue, 6 Nov 2007 10:32:13 -0400 (AST) Received: from [192.168.1.14] (dcdsl.ebox.com [64.7.143.116]) by beaver.fastcrypt.com (Postfix) with ESMTP id E52BE1580638; Tue, 6 Nov 2007 09:41:14 -0500 (EST) Cc: pgsql-jdbc@postgresql.org Message-Id: From: Dave Cramer To: Phillip Mills In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v912) Subject: Re: Beginning tuning Date: Tue, 6 Nov 2007 09:32:13 -0500 References: X-Mailer: Apple Mail (2.912) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200711/11 X-Sequence-Number: 17766 Phillip, You'd have to give us a lot more information than this to help you. machine specs ? Postgresql version and jdbc version postgresql configuration are you using a db pool ? Dave On 6-Nov-07, at 9:09 AM, Phillip Mills wrote: > 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.)