Re: 60 core performance with 9.3

Поиск
Список
Период
Сортировка
Искать
От
Kevin Grittner
Тема
Re: 60 core performance with 9.3
Дата
Msg-id
1405952353.75554.YahooMailNeo@web122302.mail.ne1.yahoo.com
Ответ на
Список
Дерево обсуждения
60 core performance with 9.3 Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
Re: 60 core performance with 9.3 Scott Marlowe <scott.marlowe@gmail.com>
Re: 60 core performance with 9.3 Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
Re: 60 core performance with 9.3 Andres Freund <andres@2ndquadrant.com>
Re: 60 core performance with 9.3 Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
Re: 60 core performance with 9.3 Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
Re: 60 core performance with 9.3 Andres Freund <andres@2ndquadrant.com>
Re: 60 core performance with 9.3 Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
Re: 60 core performance with 9.3 Andres Freund <andres@2ndquadrant.com>
Re: 60 core performance with 9.3 Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
Re: 60 core performance with 9.3 Kevin Grittner <kgrittn@ymail.com>
Re: 60 core performance with 9.3 Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
Re: 60 core performance with 9.3 Kevin Grittner <kgrittn@ymail.com>
Re: 60 core performance with 9.3 Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
Re: 60 core performance with 9.3 Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
Re: 60 core performance with 9.3 Matt Clarkson <mattc@catalyst.net.nz>
Re: 60 core performance with 9.3 Alvaro Herrera <alvherre@2ndquadrant.com>
Re: 60 core performance with 9.3 Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
Re: 60 core performance with 9.3 "Tomas Vondra" <tv@fuzzy.cz>
Re: 60 core performance with 9.3 Tom Lane <tgl@sss.pgh.pa.us>
Re: 60 core performance with 9.3 "Tomas Vondra" <tv@fuzzy.cz>
Re: 60 core performance with 9.3 Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
Re: 60 core performance with 9.3 Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
Re: 60 core performance with 9.3 Mark Kirkwood <mark.kirkwood@catalyst.net.nz>
Mark Kirkwood  wrote:
> On 12/07/14 01:19, Kevin Grittner wrote:
>>
>> It might be worth a test using a cpuset to interleave OS cache and
>> the NUMA patch I submitted to the current CF to see whether this is
>> getting into territory where the patch makes a bigger difference.
>> I would expect it to do much better than using numactl --interleave
>> because work_mem and other process-local memory would be allocated
>> in "near" memory for each process.
>>
> http://www.postgresql.org/message-id/1402267501.41111.YahooMailNeo@web122304.mail.ne1.yahoo.com
>
> Thanks Kevin - I did try this out - seemed slightly better than using
> --interleave, but almost identical to the results posted previously.
>
> However looking at my postgres binary with ldd, I'm not seeing any link
> to libnuma (despite it demanding the library whilst building), so I
> wonder if my package build has somehow vanilla-ified the result :-(

That is odd; not sure what to make of that!

> Also I am guessing that with 60 cores I do:
>
> $ sudo /bin/bash -c "echo 0-59 >/dev/cpuset/postgres/cpus"
>
> i.e cpus are cores not packages...?

Right; basically, as a guide, you can use the output from:

$ numactl --hardware

Use the union of all the "cpu" numbers from the "node n cpus" lines.  The
above statement is also a good way to see how unbalance memory usage has
become while running a test.

--
Kevin Grittner
EDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

В списке pgsql-performance по дате отправления
От: Albe Laurenz
Дата:
От: johno
Дата:
FAQ