Searched hist:feb473a6e8bd19297d0f3bb377b25055c0228c0a (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/fs/ocfs2/ |
H A D | suballoc.c | diff feb473a6e8bd19297d0f3bb377b25055c0228c0a Tue Feb 24 10:53:25 CST 2009 Tao Ma <tao.ma@oracle.com> ocfs2: Optimize inode group allocation by recording last used group.
In ocfs2, the block group search looks for the "emptiest" group to allocate from. So if the allocator has many equally(or almost equally) empty groups, new block group will tend to get spread out amongst them.
So we add osb_inode_alloc_group in ocfs2_super to record the last used inode allocation group. For more details, please see http://oss.oracle.com/osswiki/OCFS2/DesignDocs/InodeAllocationStrategy.
I have done some basic test and the results are a ten times improvement on some cold-cache stat workloads.
Signed-off-by: Tao Ma <tao.ma@oracle.com> Signed-off-by: Mark Fasheh <mfasheh@suse.com>
|
H A D | ocfs2.h | diff feb473a6e8bd19297d0f3bb377b25055c0228c0a Tue Feb 24 10:53:25 CST 2009 Tao Ma <tao.ma@oracle.com> ocfs2: Optimize inode group allocation by recording last used group.
In ocfs2, the block group search looks for the "emptiest" group to allocate from. So if the allocator has many equally(or almost equally) empty groups, new block group will tend to get spread out amongst them.
So we add osb_inode_alloc_group in ocfs2_super to record the last used inode allocation group. For more details, please see http://oss.oracle.com/osswiki/OCFS2/DesignDocs/InodeAllocationStrategy.
I have done some basic test and the results are a ten times improvement on some cold-cache stat workloads.
Signed-off-by: Tao Ma <tao.ma@oracle.com> Signed-off-by: Mark Fasheh <mfasheh@suse.com>
|