Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id E71E11337B8A for ; Tue, 21 Dec 2010 07:34:38 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 25789-10 for ; Tue, 21 Dec 2010 11:34:28 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.123]) by mail.postgresql.org (Postfix) with ESMTP id 5AD441337B2F for ; Tue, 21 Dec 2010 07:34:28 -0400 (AST) X-Authority-Analysis: v=1.1 cv=NFUeGz0loTdi/T6hXKngYYtckjed7x3pKvNOqmBBK18= c=1 sm=0 a=JRZeEW2aRuwA:10 a=8nJEP1OIZ-IA:10 a=RAii6je2cdnAH6ATCOpc6g==:17 a=_Ixf_7qHAAAA:8 a=adsVgVoyP7yHN37iiewA:9 a=dzv7sm3fym7UC_LaAhpL11rSKxwA:4 a=wPNLvfGTeEIA:10 a=ryAo9hy1-OkA:10 a=6vsjEBoLwlAA:10 a=0tfO7MgyNwYA:10 a=RAii6je2cdnAH6ATCOpc6g==:117 X-Cloudmark-Score: 0 X-Originating-IP: 74.73.87.196 Received: from [74.73.87.196] ([74.73.87.196:55487] helo=[192.168.1.104]) by hrndva-oedge04.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id 72/A1-12606-3C0901D4; Tue, 21 Dec 2010 11:34:28 +0000 Message-ID: <4D1090C3.5040509@vmsinfo.com> Date: Tue, 21 Dec 2010 06:34:27 -0500 From: Mladen Gogala Reply-To: mladen.gogala@vmsinfo.com Organization: VMS User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: James Cloos CC: Royce Ausburn , "pgsql-performance@postgresql.org" Subject: Re: CPU bound References: <4D0EFC02.7040004@vmsinfo.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201012/265 X-Sequence-Number: 41717 On 12/20/2010 10:33 AM, James Cloos 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? > > -JimC That particular aspect will remain hidden, it's a domain of the hardware architecture. Nevertheless, there are things like waiting on I/O or waiting on lock, that would be extremely useful. -- Mladen Gogala Sr. Oracle DBA 1500 Broadway New York, NY 10036 (212) 329-5251 www.vmsinfo.com