You're guessing here. At least for oracle, that behaviour is dependant on
the locality of accesses. Given that each user has their own process you
can bet there is a fair amount of locality to their transactions.
> you could try to avoid the need of the sysctl by teaching the vm to
> unmap such vma, but I don't think it worth and I'm sure those apps
> prefers to have the stuff pinned anyways w/o the risk of sigbus and w/o
> the need of mlock and it looks cleaner to me to avoid any mess with the
> vm and long term nobody will care about this sysctl since 64bit will run
> so much fatster w/o any remap_file_pages and tlb flush running at all
It is still useful for things outside of the pure databases on 32 bits
realm. Consider a fast bochs running 32 bit apps on a 64 bit machine --
should it have to deal with the overhead of zillions of vmas for emulating
page tables?
If anything, I think we should be moving in the direction of doing more
along the lines of remap_file_pages: things like executables might as well
keep their state in page tables since we never discard them and instead
toss the vma out the window.
-ben
-- Junk email? <a href="mailto:aart@kvack.org">aart@kvack.org</a> - 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/