Re: [PATCH/RFC] AutoPage Migration - V0.1 - 0/8 Overview

Lee Schermerhorn
2006-03-15T19:27:06Z

On Wed, 2006-03-15 at 20:57 +0200, Avi Kivity wrote:
> Paul Jackson wrote:
>
> >>a page if a certain mapcount is reached.
> >>
> >>
> >
> >He said "accessed", not "referenced".
> >
> >The point was to copy pages that receive many
> >load and store instructions from far away nodes.
> >
> >
> >
> Only loads, please. Writable pages should not be duplicated.
>
> >This has only minimal to do with the number of
> >memory address spaces mapping the region
> >holding that page.
> >
> >
> >
>
> For starters, you could indicate which files need duplication manually.
> You would duplicate your main binaries and associated shared objects.
> Presumably large numas have plenty of memory so over-duplication would
> not be a huge problem.
>
> Is the kernel text duplicated?

No. Might have been patches to do this for ia64 at one time. I'm not
sure, tho'.

However, the folks at Virtual Iron do have patches to replicate shared,
executable segments. They mentioned this at OLS last year. I believe
that Ray Bryant got 'hold of a copy of the patch and had it working at
one time. Didn't address one of the issues he was interested in, which
was to also duplicate the page tables for shared segments [?]. I hope
to experiment with them sometime down the line to see if they provide
measurable benefit.