Re: large page patch (fwd) (fwd)
Hubertus Franke (email@example.com)
Sat, 3 Aug 2002 14:41:29 -0400
On Saturday 03 August 2002 12:39 am, David Mosberger wrote:
> >>>>> On Fri, 2 Aug 2002 21:26:52 -0700 (PDT), Linus Torvalds
> >>>>> <firstname.lastname@example.org> said:
> >> I wasn't disagreeing with your case for separate large page
> >> syscalls. Those syscalls certainly simplify implementation and,
> >> as you point out, it well may be the case that a transparent
> >> superpage scheme never will be able to replace the former.
> Linus> Somebody already had patches for the transparent superpage
> Linus> thing for alpha, which supports it. I remember seeing numbers
> Linus> implying that helped noticeably.
> Yes, I saw those. I still like the Rice work a _lot_ better. It's
> just a thing of beauty, from a design point of view (disclaimer: I
> haven't seen the implementation, so there may be ugly things
I agree, the Rice solution is ellegant in the promotion and demotion.
> Linus> But yes, that definitely doesn't work for humongous pages (or
> Linus> whatever we should call the multi-megabyte-special-case-thing
> Linus> ;).
> Yes, you're probably right. 2MB was reported to be fine in the Rice
> experiments, but I doubt 256MB (and much less 4GB, as supported by
> some CPUs) would fly.
As if the page coloring, it certainly helps.
But I'd like to point out that superpages are there to reduce the number of
TLB misses by providing larger coverage. Simply providing page coloring
will not get you there.
-- Hubertus Franke (email@example.com)
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/