Re: Posix Shared Mem patch

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Posix Shared Mem patch
Дата
Msg-id 201207031755.30159.andres@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: Posix Shared Mem patch  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Posix Shared Mem patch  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Tuesday, July 03, 2012 05:41:09 PM Tom Lane wrote:
> 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()?
Similar at least yes. I think it might also make the virtual/physical 
translation more direct but that ist just the impression of a very short 
search.

> > 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.
I don't really care, just wanted to bring up that at least one experienced 
user would be disappointed ;). As the old implementation needs to stay around 
for EXEC_BACKEND anyway, the price doesn't seem to be too high.

Andres
-- 
Andres Freund        http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services


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

Предыдущее
От: Dimitri Fontaine
Дата:
Сообщение: Re: Event Triggers reduced, v1
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Incorrect behaviour when using a GiST index on points