Re: PostgreSQL Performance on OpenBSD

Поиск
Список
Период
Сортировка
От Martin Foster
Тема Re: PostgreSQL Performance on OpenBSD
Дата
Msg-id 3EC93A05.3020202@ethereal-realms.org
обсуждение исходный текст
Ответ на Re: PostgreSQL Performance on OpenBSD  ("Chris Palmer" <chris.palmer@geneed.com>)
Ответы Re: PostgreSQL Performance on OpenBSD  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-general
Chris Palmer wrote:
> Martin Foster writes:
>
>
>>However are the above numbers realistic?    This would require some
>>fairly customized kernels for OpenBSD to allow for numbers
>>that high as well?
>
>
> What kernel parameter would need to be changed besides BUFCACHEPERCENT
> (which defaults to 5%)? That's one small customization.
>
>

# PostGRE SQL specific
options         SYSVSHM
options         SHMMAXPGS=4096
options         SHMSEG=256

options         SYSVSEM
options         SEMMNI=512
options         SEMMNS=1024
options         SEMMNU=512
options         SEMMAP=512

All of these options are required in order to start raising the values
of shared_buffers and most probably sort_mem.   Seems that PostgreSQL
uses Posix extensions which are not very well represented in most BSD
kernels.

As a result, you need to manually raise the values above in order to get
higher values.   If memory serves, the above was necessary to have 256
connections with 512 shared_buffers.

    Martin Foster
    Creator/Designer Ethereal Realms
    martin@ethereal-realms.org



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

Предыдущее
От: kochinc@yahoo.com (Kochin Chang)
Дата:
Сообщение: Re: 7.3.2, pam, on Linux 2.4.18-18.7.x i686
Следующее
От: doug
Дата:
Сообщение: Case insensitive uniqueness on column?