Re: [PATCH] Permit inode & dentry hash tables to be allocated >MAX_ORDER size

From: Dave Hansen
Date: Tue Jun 15 2004 - 11:44:19 EST


On Sat, 2004-06-12 at 08:00, Martin J. Bligh wrote:
> >> Since vmalloc() maps the pages with small pagetable entries (unlike most
> >> of the rest of the kernel address space), do you think the interleaving
> >> will outweigh any negative TLB effects?
> >
> > I think so, yes (assuming you run the benchmark on all CPUs)
>
> On the other hand, there's no reason we can't hack up a version of vmalloc
> to use large pages, and interleave only based on that.

Think about ppc64 where the large page size is 16MB. That might hurt
interleaving a bit if the structure is only 32MB. It's better than
*everything* on node 0, but not by much.

-- Dave

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