Re: Linux max on shared buffers? - Mailing list pgsql-general

From Curt Sampson
Subject Re: Linux max on shared buffers?
Date
Msg-id Pine.NEB.4.44.0207241138540.21696-100000@angelic.cynic.net
Whole thread Raw
In response to Re: Linux max on shared buffers?  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Linux max on shared buffers?
List pgsql-general
On Tue, 23 Jul 2002, Bruce Momjian wrote:

> Is it significant that you these shared libraries remain mapped for the
> duration of the process, while blocks are moved in and out?

No; that's just syscall overhead to add and remove the mappings.

The only thing I would be worried about, really, would be OS overhead
beyond the standard page mapping tables to keep track of mmaped
data. This might limit you to keeping a "cache" of mappings of just
a few hundred or thousand, say, rather than a few hundred thousand.
But this would only cost us more syscalls, which are relatively
inexpensive (compared to things like memory copies) anyway.

cjs
--
Curt Sampson  <cjs@cynic.net>   +81 90 7737 2974   http://www.netbsd.org
    Don't you know, in this new Dark Age, we're all light.  --XTC


pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Linux max on shared buffers?
Next
From: "Dorward Villaruz"
Date:
Subject: plpgsql