On 26/08/14 10:13, Josh Berkus wrote:
On 08/22/2014 07:02 AM, Andres Freund wrote:
On 2014-08-21 14:02:26 -0700, Josh Berkus wrote:
On 08/20/2014 07:40 PM, Bruce Momjian wrote:
Not sure how you can make such a blanket statement when so many people
have tested and shown the benefits of hyper-threading.
Actually, I don't know that anyone has posted the benefits of HT.
Link?
There's definitely cases where it can help. But it's highly workload
*and* hardware dependent.
The only cases I've seen where HT can be beneficial is when you have
large numbers of idle connections. Then the idle connections can be
"parked" on the HT virtual cores. However, even in this case I haven't
seen a head-to-head performance comparison.
I recall HT beneficial on a single socket (i3 or i7), using pgbench as
the measuring tool. However I didn't save the results at the time. I've
just got some new ssd's to play with so might run some pgbench tests on
my home machine (Haswell i7) with HT on and off.
Regards
Mark
--
Sent via pgsql-performance mailing list (pgsql-performance@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance