pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Josh Berkus <josh@agliodbs.com>
Cc: pgsql-performance@postgresql.org, Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
Cc: Graeme B. Bell <grb@skogoglandskap.no>
Cc: Greg Smith <gregsmithpgsql@gmail.com>
Subject: Re: Turn off Hyperthreading! WAS: 60 core performance with 9.3
Date: Thu, 21 Aug 2014 17:26:17 -0400
Message-ID: <20140821212617.GE26706@momjian.us> (raw)
In-Reply-To: <53F661D9.9010001@agliodbs.com>
References: <53ECFD75.3060408@agliodbs.com>
	<53ED371D.109@catalyst.net.nz>
	<WM!14a45a34c8080927967621cff2751e173aba58b17a2748a7a628c8fd3be56f3c9596f20e774ed5df15c6863316278466!@asav-2.01.com>
	<53F4F36E.6050003@agliodbs.com>
	<20140821024036.GB26706@momjian.us>
	<WM!a6def31edfeb44a0c2b33db4efa373ee781a1b82f342c0a03c2d35e540e65a0434c32d64b1353526644d086f6706ce42!@asav-3.01.com>
	<53F65E62.3020909@agliodbs.com>
	<20140821211113.GD26706@momjian.us>
	<WM!1199f9acfe76a7507723daee7f9b27c9de54658ee8fc73fb8b6393fe6a74459bac32fd81f274a6b5f972ea6294dcad8f!@asav-1.01.com>
	<53F661D9.9010001@agliodbs.com>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-performance>

On Thu, Aug 21, 2014 at 02:17:13PM -0700, Josh Berkus wrote:
> >> Actually, I don't know that anyone has posted the benefits of HT.  Link?
> >>  I want to compare results so that we can figure out what's different
> >> between my case and theirs.  Also, it makes a big difference if there is
> >> an advantage to turning HT on for some workloads.
> > 
> > I had Greg Smith test my system when it was installed, tested it, and
> > recommended hyper-threading.  The system is Debian Squeeze
> > (2.6.32-5-amd64), CPUs are dual Xeon E5620, 8 cores, 16 virtual cores.
> 
> Can you post some numerical results?
> 
> I'm serious.  It's obviously easier for our users if we can blanket
> recommend turning HT off; that's a LOT easier for them than "you might
> want to turn HT off if these conditions ...".  So I want to establish
> that HT is a benefit sometimes if it is.
> 
> I personally have never seen HT be a benefit.  I've seen it be harmless
> (most of the time) but never beneficial.

I know that when hyperthreading was introduced that it was mostly a
negative, but then this was improved, and it might have gotten bad
again.  I am afraid results are based on the type of CPU, so I am not
sure we can know a general answer.

I know I asked Greg Smith, and I assume he would know.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + Everyone has their own god. +


-- 
Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance



view thread (26+ messages)  latest in thread

Message-ID: <20140821212617.GE26706@momjian.us>
Permalink:  ../20140821212617.GE26706@momjian.us/
Also on:    postgresql.org/message-id/20140821212617.GE26706@momjian.us

 · 

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: bruce@momjian.us, josh@agliodbs.com, mark.kirkwood@catalyst.net.nz, grb@skogoglandskap.no, gregsmithpgsql@gmail.com
  Subject: Re: Turn off Hyperthreading! WAS: 60 core performance with 9.3
  In-Reply-To: <20140821212617.GE26706@momjian.us>

* 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