Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 22 Oct 2002 10:21:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 22 Oct 2002 10:21:17 -0400 Received: from 2-136.ctame701-1.telepar.net.br ([200.193.160.136]:53679 "EHLO 2-136.ctame701-1.telepar.net.br") by vger.kernel.org with ESMTP id ; Tue, 22 Oct 2002 10:21:17 -0400 Date: Tue, 22 Oct 2002 12:26:55 -0200 (BRST) From: Rik van Riel X-X-Sender: riel@imladris.surriel.com To: "Eric W. Biederman" cc: "Martin J. Bligh" , Bill Davidsen , Dave McCracken , Andrew Morton , Linux Kernel , Linux Memory Management Subject: Re: [PATCH 2.5.43-mm2] New shared page table patch In-Reply-To: Message-ID: X-spambait: aardvark@kernelnewbies.org X-spammeplease: aardvark@nl.linux.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1465 Lines: 41 On 21 Oct 2002, Eric W. Biederman wrote: > "Martin J. Bligh" writes: > > > > So why has no one written a pte_chain reaper? It is perfectly sane > > > to allocate a swap entry and move an entire pte_chain to the swap > > > cache. > > > > I think the underlying subsystem does not easily allow for dynamic regeneration, > > so it's non-trivial. > > 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. regards, Rik -- Bravely reimplemented by the knights who say "NIH". http://www.surriel.com/ http://distro.conectiva.com/ Current spamtrap: october@surriel.com - 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/