Re: [PATCH] Making i/dhash_entries cmdline work as it use to.

From: Jose R. Santos
Date: Tue Jul 13 2004 - 08:00:34 EST


On 07/13/04 07:33:40, David Howells wrote:
> That's an enormous limit. Consider the fact that you will have a multiplicity
> of such hash tables, each potentially eating 1/16th of your total memory
> (remember, the bootmem allocator's only real limit is how big a chunk of
> memory it can allocate in one go).
>
> Do you have numbers to show that committing an eighth of your memory (8GB if
> you have 64GB - two hash tables at 4GB apiece) to hash tables is almost
> certainly not worth it.

I do not use all that memory but this is just the absolute limit that you can
allocate. The point is not to limit it to ORDER 14 because thats the most
gains seen on one 64GB setup. The idea is to give people some room to play
when they use the cmdline if for some reason they need to go that hi.

-JRS
-
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/