Re: [PATCH 2.5.43-mm2] New shared page table patch

Bill Davidsen (davidsen@tmr.com)
Tue, 22 Oct 2002 13:54:39 -0400 (EDT)


On Tue, 22 Oct 2002, Rik van Riel wrote:

> On 21 Oct 2002, Eric W. Biederman wrote:
> > "Martin J. Bligh" <mbligh@aracnet.com> writes:

> > We swap pages out all of the time in 2.4.x, and that is all I was
> > suggesting swap out some but not all of the pages, on a very long
> > pte_chain. And swapping out a page is not terribly complex, unless
> > something very drastic has changed.
>
> Imagine a slightly larger than normal Oracle server.
> Say 5000 processes with 1 GB of shared memory.
>
> Just the page tables needed to map this memory would
> take up 5 GB of RAM ... with shared page tables we
> only need 1 MB of page tables.
>
> The corresponding reduction in rmaps is a nice bonus,
> but hardly any more dramatic than the page table
> overhead.
>
> In short, we really really want shared page tables.

Does using spt require mapping the pages at the same location in all
processes?

-- 
bill davidsen <davidsen@tmr.com>
  CTO, TMR Associates, Inc
Doing interesting things with little computers since 1979.

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/