Re: [PATCH] ext4: slab caches set to SLAB_MEM_SPREAD flags.

From: NamJae Jeon
Date: Sat Nov 19 2011 - 17:22:33 EST


2011/11/20 Theodore Tso <tytso@xxxxxxx>:
>
> On Nov 19, 2011, at 10:40 AM, NamJae Jeon wrote:
>
>> Thanks for your opinion.
>> Have you thought that mem spread flags is not needed in group info
>> caches same with page_io and mballoc ?
>
> The group info structures are long lived structures that live a long time and will likely be accessed by many NUMA nodes. Â So setting the men spread flag for the group info cache is more likely to be useful. Â My guess is that any benefit will be extremely hard to measure (especially since the amount of memory used by the group info structures is a pittance compared to the memory used by the inode cache), but at least theoretically it would be sound to have that flag set with the group info slab cache.
You're right. I will post the new patch included spread flags about
group info caches again.
Thanks ted.
> Regards,
>
> -- Ted
>
>
--
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/