Messages in this thread | | | Date | Wed, 5 Nov 2003 20:36:41 -0800 | Subject | Re: [DMESG] cpumask_t in action | From | (Jesse Barnes) |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |