From: Jeremy Harris <jgh@wizmail.org>
To: pgsql-performance@postgresql.org
Subject: Re: CPU bound
Date: Mon, 20 Dec 2010 17:59:42 +0000
Message-ID: <4D0F998E.7060007@wizmail.org> (raw)
In-Reply-To: <20101220154847.GX10252@aart.is.rice.edu>
References: <F13DEE85-D114-4761-AD4D-924F1A741ACC@inomial.com>
<m38vzl6z17.fsf@jhcloos.com>
<4D0EFC02.7040004@vmsinfo.com>
<m362uo5uht.fsf@jhcloos.com>
<20101220154847.GX10252@aart.is.rice.edu>
On 2010-12-20 15:48, Kenneth Marshall wrote:
>> And how exactly, given that the kernel does not know whether the CPU is
>> active or waiting on ram, could an application do so?
>>
>
> Exactly. I have only seen this data from hardware emulators. It would
> be nice to have... :)
There's no reason that the cpu hardware couldn't gather such, and
IMHO it's be dead useful, at least at the outermost cache level
(preferably separately at each level). But people have trouble
understanding vmstat already....
Note that dtrace *can* get to the cpu performance counters,
just that the kernel doesn't routinely account for all that info
per-process as routine. I'd expect IBM to have equivalent
facilities.
--
Jeremy
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 using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: jgh@wizmail.org
Subject: Re: CPU bound
In-Reply-To: <4D0F998E.7060007@wizmail.org>
* 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