From: Oliver Jowett <oliver@opencloud.com>
To: Phillip Mills <pmills@systemcore.ca>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Beginning tuning
Date: Thu, 08 Nov 2007 10:24:44 +1300
Message-ID: <47322D1C.4040405@opencloud.com> (raw)
In-Reply-To: <dd0408e50711060609n4ca6d049kac9f1bf356d1da4d@mail.gmail.com>
References: <dd0408e50711060609n4ca6d049kac9f1bf356d1da4d@mail.gmail.com>
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
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: oliver@opencloud.com, pmills@systemcore.ca
Subject: Re: Beginning tuning
In-Reply-To: <47322D1C.4040405@opencloud.com>
References: <dd0408e50711060609n4ca6d049kac9f1bf356d1da4d@mail.gmail.com> <47322D1C.4040405@opencloud.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