wengang wang
2009-May-01 04:56 UTC
[Ocfs2-devel] [PATCH 3/3] OCFS2: speed up dlm_lock_resouce hash_table lookups
enlarge hash table. mainline git commit: ffae48e79e56fe63589049a0bf3512bcbf7a4327 Authored-by: Jan Kara <jack at suse.cz> Signed-off-by: Wengang Wang <wen.gang.wang at oracle.com> -- Index: ocfs2-1.2/fs/ocfs2/dlm/dlmcommon.h ==================================================================--- ocfs2-1.2/fs/ocfs2/dlm/dlmcommon.h (revision 3) +++ ocfs2-1.2/fs/ocfs2/dlm/dlmcommon.h (revision 4) @@ -37,7 +37,7 @@ #define DLM_THREAD_SHUFFLE_INTERVAL 5 // flush everything every 5 passes #define DLM_THREAD_MS 200 // flush at least every 200 ms -#define DLM_HASH_SIZE_DEFAULT (1 << 14) +#define DLM_HASH_SIZE_DEFAULT (1 << 17) #if DLM_HASH_SIZE_DEFAULT < PAGE_SIZE # define DLM_HASH_PAGES 1 #else
Possibly Parallel Threads
- [PATCH 2/3] OCFS2: speed up dlm_lockr_resouce hash_table lookups
- [PATCH 1/1] OCFS2: fasten dlm_lock_resource hash_table lookups
- [PATCH 1/3] OCFS2: speed up dlm_lockr_resouce hash_table lookups
- [PATCH 0/3] OCFS2: speed up dlm_lock_resouce hash_table lookups
- [PATCH 2/5] ocfs2/dlm: add lockres as parameter to dlm_new_lock()