pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Shaun Thomas <sthomas@peak6.com>
To: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: pgsql-performance@postgresql.org
Cc: Claire Chang <yenhsiac@yahoo.com>
Subject: Re: Postgres 8.4 memory related parameters
Date: Thu, 4 Aug 2011 16:02:11 -0500
Message-ID: <4E3B08D3.606@peak6.com> (raw)
In-Reply-To: <4E3ABCFB020000250003FAF4@gw.wicourts.gov>
References: <1312489633.71838.YahooMailClassic@web31912.mail.mud.yahoo.com>
	<4E3ABCFB020000250003FAF4@gw.wicourts.gov>

On 08/04/2011 03:38 PM, Kevin Grittner wrote:

> You're probably going to get better performance by setting that to 2
> to 3 times the number of actual cores (don't county hyperthreading
> for this purpose), and using a connection pooler to funnel the 600
> user connections down to a smaller number of database connections.

Your note about Hyperthreading *used* to be true. I'm not sure exactly 
what they did to the Intel nehalem cores, but hyperthreading actually 
seems to be much better now. It's not a true multiplier, but our pgbench 
scores were 40% to 60% higher with HT enabled up to at least 5x the 
number of cores.

I was honestly shocked at those results, but they were consistent across 
multiple machines from two separate vendors.

-- 
Shaun Thomas
OptionsHouse | 141 W. Jackson Blvd. | Suite 800 | Chicago IL, 60604
312-676-8870
sthomas@peak6.com

______________________________________________

See  http://www.peak6.com/email_disclaimer.php
for terms and conditions related to this email



view thread (14+ messages)  latest in thread

Message-ID: <4E3B08D3.606@peak6.com>
Permalink:  ../4E3B08D3.606@peak6.com/
Also on:    postgresql.org/message-id/4E3B08D3.606@peak6.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: sthomas@peak6.com, Kevin.Grittner@wicourts.gov, yenhsiac@yahoo.com
  Subject: Re: Postgres 8.4 memory related parameters
  In-Reply-To: <4E3B08D3.606@peak6.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