Skip site navigation (1) Skip section navigation (2)

Re: Posix Shared Mem patch

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org, Robert Haas <robertmhaas(at)gmail(dot)com>, Josh Berkus <josh(at)agliodbs(dot)com>
Subject: Re: Posix Shared Mem patch
Date: 2012-07-03 15:41:09
Message-ID: 8133.1341330069@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Andres Freund <andres(at)2ndquadrant(dot)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

In response to

Responses

pgsql-hackers by date

Next:From: Kohei KaiGaiDate: 2012-07-03 15:42:17
Subject: Re: User-Id Tracking when Portal was started
Previous:From: Tom LaneDate: 2012-07-03 15:36:42
Subject: Re: User-Id Tracking when Portal was started

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group