Re: [DMESG] cpumask_t in action
From: Jesse Barnes
Date: Wed Nov 05 2003 - 23:42:46 EST
On Thu, Nov 06, 2003 at 12:42:31AM +0100, Antonio Vargas wrote:
> > As for the dentry and inode-cache tables, yes they're probably too big,
> > and they're also allocated on node 0 rather than being spread out.
> >
>
> Jesse, what about making hash_size = scale * log(mem_size), so that the
> tables are not scaled too high on your very-high-end boxes? ;)
Sounds good to me, should we change the callers in vfs_caches_init() or
revisit each individual hash to see what size makes sense?
Thanks,
Jesse
-
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/