Re: Turn off Hyperthreading! WAS: 60 core performance with 9.3

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: pgsql-performance(at)postgresql(dot)org, Mark Kirkwood <mark(dot)kirkwood(at)catalyst(dot)net(dot)nz>, "Graeme B(dot) Bell" <grb(at)skogoglandskap(dot)no>, Greg Smith <gregsmithpgsql(at)gmail(dot)com>
Subject: Re: Turn off Hyperthreading! WAS: 60 core performance with 9.3
Date: 2014-08-21 21:26:17
Message-ID: 20140821212617.GE26706@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-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(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ Everyone has their own god. +

In response to

Browse pgsql-performance by date

  From Date Subject
Next Message Scott Marlowe 2014-08-21 21:26:24 Re: Turn off Hyperthreading! WAS: 60 core performance with 9.3
Previous Message Josh Berkus 2014-08-21 21:17:13 Re: Turn off Hyperthreading! WAS: 60 core performance with 9.3