Re: Posix Shared Mem patch

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Posix Shared Mem patch
Дата
Msg-id 8133.1341330069@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Posix Shared Mem patch  (Andres Freund <andres@2ndquadrant.com>)
Ответы Re: Posix Shared Mem patch  (Andres Freund <andres@2ndquadrant.com>)
Список pgsql-hackers
Andres Freund <andres@2ndquadrant.com> writes:
> Btw, RhodiumToad/Andrew Gierth on irc talked about a reason why sysv shared 
> memory might be advantageous on some platforms. E.g. on freebsd there is the 
> kern.ipc.shm_use_phys setting which prevents paging out shared memory and also 
> seems to make tlb translation cheaper. There does not seem to exist an 
> alternative for anonymous mmap.

Isn't that mlock()?

> So maybe we should make that a config option? 

I'd really rather not.  If we're going to go in this direction, we
should just go there.
        regards, tom lane


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Posix Shared Mem patch
Следующее
От: Kohei KaiGai
Дата:
Сообщение: Re: User-Id Tracking when Portal was started