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