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

Поиск
Список
Период
Сортировка
От Josh Berkus
Тема Re: Turn off Hyperthreading! WAS: 60 core performance with 9.3
Дата
Msg-id 53F4F36E.6050003@agliodbs.com
обсуждение исходный текст
Ответ на 60 core performance with 9.3  (Mark Kirkwood <mark.kirkwood@catalyst.net.nz>)
Ответы Re: Turn off Hyperthreading! WAS: 60 core performance with 9.3  (Shaun Thomas <sthomas@optionshouse.com>)
Re: Turn off Hyperthreading! WAS: 60 core performance with 9.3  (Mark Kirkwood <mark.kirkwood@catalyst.net.nz>)
Re: Turn off Hyperthreading! WAS: 60 core performance with 9.3  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-performance
Mark, all:

So, this is pretty damming:

Read-only test with HT ON:

[pgtest@db ~]$ pgbench -c 20 -j 4 -T 600 -S bench
starting vacuum...end.
transaction type: SELECT only
scaling factor: 30
query mode: simple
number of clients: 20
number of threads: 4
duration: 600 s
number of transactions actually processed: 47167533
tps = 78612.471802 (including connections establishing)
tps = 78614.604352 (excluding connections establishing)

Read-only test with HT Off:

[pgtest@db ~]$ pgbench -c 20 -j 4 -T 600 -S bench
starting vacuum...end.
transaction type: SELECT only
scaling factor: 30
query mode: simple
number of clients: 20
number of threads: 4
duration: 600 s
number of transactions actually processed: 82457739
tps = 137429.508196 (including connections establishing)
tps = 137432.893796 (excluding connections establishing)


On a read-write test, it's 10% faster with HT off as well.

Further, from their production machine we've seen that having HT on
causes the machine to slow down by 5X whenever you get more than 40
cores (as in 100% of real cores or 50% of HT cores) worth of activity.

So we're definitely back to "If you're using PostgreSQL, turn off
Hyperthreading".

--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com


В списке pgsql-performance по дате отправления:

Предыдущее
От: Kevin Grittner
Дата:
Сообщение: Re: query against pg_locks leads to large memory alloc
Следующее
От: Shaun Thomas
Дата:
Сообщение: Re: Turn off Hyperthreading! WAS: 60 core performance with 9.3