Re: 2.4 vm, program load, page faulting, ...

wind
2003-03-17T16:40:22Z

On Mon, Mar 17, 2003 at 11:01:31AM -0500, Rik van Riel wrote:
> On Mon, 17 Mar 2003, William Lee Irwin III wrote:
> > On Sat, 15 Mar 2003, Paul Albrecht wrote:
> > >> ... Why does the kernel page fault on text pages, present in the page
> > >> cache, when a program starts? Couldn't the pte's for text present in the
> > >> page cache be resolved when they're mapped to memory?
> >
> > SVR4 did and saw an improvement wrt. page fault rate, according to
> > Vahalia.
>
> An improvement in the _page fault rate_, well DUH.
>
> > I'd like to see whether this is useful for Linux.
>
> The question is, does it result in an improvement in the
> run speed of processes...
>
> cheers,
>
> Rik

You should ask Andrew about his patch to do exactly that: he
forced all PROC_EXEC mmaps to be nonlinear-mapped and this
forced all programs to suck entire binaries into memory...
I recall he saw at least 25% improvement at launching gnome.

Andrew?

--
Antonio Vargas