Re: What to expect with the 2.6 VM

Rik van Riel
2003-07-03T13:06:32Z

On Thu, 3 Jul 2003, Andrea Arcangeli wrote:

> even if you don't use largepages as you should, the ram cost of the pte
> is nothing on 64bit archs, all you care about is to use all the mhz and
> tlb entries of the cpu.

That depends on the number of Oracle processes you have.
Say that page tables need 0.1% of the space of the virtual
space they map. With 1000 Oracle users you'd end up needing
as much memory in page tables as your shm segment is large.

Of course, in this situation either the application should
use large pages or the kernel should simply reclaim the
page tables (possible while holding the mmap_sem for write).

> remap_file_pages is useful only for VLM in 32bit

Agreed on that. Please let the monstrosity die together
with 32 bit machines ;)