Re: PostgreSQL and Linux CPU's

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: PostgreSQL and Linux CPU's
Дата
Msg-id CAKFQuwbha9gpUAA+3aW=TC5AKsdX+xVFFVit29sKx4xQvrGK0A@mail.gmail.com
обсуждение исходный текст
Ответ на PostgreSQL and Linux CPU's  (Sbob <sbob@quadratum-braccas.com>)
Список pgsql-performance
On Thu, Jan 20, 2022 at 4:22 PM Sbob <sbob@quadratum-braccas.com> wrote:
I am looking for information on how PostgreSQL leverages or interfaces
with CPU's on Linux. Does PostgreSQL let Linux do the work? Does it
bypass the OS? Any information or docs you can send my way would be much
appreciated.


PostgreSQL is a user land process in Linux.  Linux doesn't allow itself to be bypassed by user land processes when dealing with the CPU.  That is kind of its main reason for existing...

PostgreSQL uses a process forking model and each process runs on a single thread.

You can probably verify all of that by perusing the PostgreSQL documentation.  Don't know what to recommend regarding Linxu, user land, kernel mode, and CPUs...

David J.

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

Предыдущее
От: Sbob
Дата:
Сообщение: PostgreSQL and Linux CPU's
Следующее
От: Michael Lewis
Дата:
Сообщение: Re: Slow query fixed by replacing equality with a nested query