pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jignesh K. Shah <J.K.Shah@Sun.COM>
To: Scott Carey <scott@richrelevance.com>
Cc: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: pgsql-performance@postgresql.org <pgsql-performance@postgresql.org>
Subject: Re: Proposal of tunable fix for scalability of 8.4
Date: Fri, 13 Mar 2009 13:21:15 -0400
Message-ID: <49BA960B.8040001@sun.com> (raw)
In-Reply-To: <C5DFDDB9.341B%scott@richrelevance.com>
References: <C5DFDDB9.341B%scott@richrelevance.com>



Scott Carey wrote:
> On 3/13/09 8:55 AM, "Kevin Grittner" <Kevin.Grittner@wicourts.gov> wrote:
>
>     >>> "Jignesh K. Shah" <J.K.Shah@Sun.COM> wrote:
>     > usr sys wt idl sze
>     > 38 11 0 50 64
>
>     The fact that you're maxing out at 50% CPU utilization has me
>     wondering -- are there really 64 CPUs here, or are there 32 CPUs with
>     "hyperthreading" technology (or something conceptually similar)?
>
>     -Kevin
>
> Its a sun T1000 or T2000 type box, which are 4 threads per processor 
> core IIRC. Its in his first post:
>
> “
> UltraSPARC T2 based 1 socket (64 threads) and 2 socket (128 threads)
> servers that Sun sells.
> “
>
> These processors use an in-order execution engine and fill the bubbles 
> in the pipelines with SMT (the non-marketing name for hyperthreading).
> They are rather efficient at it though, moreso than Intel’s first stab 
> at it. And Intel’s next generation chips hitting the streets in 
> servers in less than a month, have it again. 


This are UltraSPARC T2 Plus which is 8 threads per core(ala CMT for us) 
.. Though the CPU% reported by vmstat is more based on "scheduled in 
execution" rather than what is executed by "computing engine" of the the 
core.. So unless you have scheduled in execution 100% on the thread, it 
wont be executing ..
So if you want to read mpstat right, you may not be executing everything 
that is shown as executing but you are definitely NOT going to execute 
anything that is not shown as executing.. My goal is to reach a level 
where we can show PostgreSQL can effectively get to 100% CPU in say 
vmstat,mpstat first...

-Jignesh

-- 
Jignesh Shah           http://blogs.sun.com/jkshah  			
The New Sun Microsystems,Inc   http://sun.com/postgresql




view thread (119+ messages)  latest in thread

Message-ID: <49BA960B.8040001@sun.com>
Permalink:  ../49BA960B.8040001@sun.com/
Also on:    postgresql.org/message-id/49BA960B.8040001@sun.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 using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: J.K.Shah@Sun.COM, scott@richrelevance.com, Kevin.Grittner@wicourts.gov
  Subject: Re: Proposal of tunable fix for scalability of 8.4
  In-Reply-To: <49BA960B.8040001@sun.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