Re: 2nd Level Buffer Cache

Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>

From: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
To: Merlin Moncure <mmoncure@gmail.com>
Cc: Greg Stark <gsstark@mit.edu>, Josh Berkus <josh@agliodbs.com>, Jim Nasby <jim@nasby.net>, Robert Haas <robertmhaas@gmail.com>, Kevin Grittner <Kevin.Grittner@wicourts.gov>, rsmogura@softperience.eu, PG Hackers <pgsql-hackers@postgresql.org>
Date: 2011-03-21T16:00:42Z
Lists: pgsql-hackers
On 21.03.2011 17:54, Merlin Moncure wrote:
> Can't you make just one large mapping and lock it in 8k regions? I
> thought the problem with mmap was not being able to detect other
> processes (http://www.mail-archive.com/pgsql-general@postgresql.org/msg122301.html)
> compatibility issues (possibly obsolete), etc.

That mail is about replacing SysV shared memory with mmap(). Detecting 
other processes is a problem in that use, but that's not an issue with 
using mmap() to replace shared buffers.

-- 
   Heikki Linnakangas
   EnterpriseDB   http://www.enterprisedb.com