pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Phillip Mills <pmills@systemcore.ca>
To: pgsql-jdbc@postgresql.org
Subject: Beginning tuning
Date: Tue, 6 Nov 2007 09:09:35 -0500
Message-ID: <dd0408e50711060609n4ca6d049kac9f1bf356d1da4d@mail.gmail.com> (raw)

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.)

view thread (13+ messages)  latest in thread

Message-ID: <dd0408e50711060609n4ca6d049kac9f1bf356d1da4d@mail.gmail.com>
Permalink:  ../dd0408e50711060609n4ca6d049kac9f1bf356d1da4d@mail.gmail.com/
Also on:    postgresql.org/message-id/dd0408e50711060609n4ca6d049kac9f1bf356d1da4d@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: pmills@systemcore.ca
  Subject: Re: Beginning tuning
  In-Reply-To: <dd0408e50711060609n4ca6d049kac9f1bf356d1da4d@mail.gmail.com>
  References: <dd0408e50711060609n4ca6d049kac9f1bf356d1da4d@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox