ocfs2-devel.oss.oracle.com archive mirror
 help / color / mirror / Atom feed
* [Ocfs2-devel] [PATCH 3/3] OCFS2: speed up dlm_lock_resouce hash_table lookups
@ 2009-05-01  4:56 wengang wang
  0 siblings, 0 replies; only message in thread
From: wengang wang @ 2009-05-01  4:56 UTC (permalink / raw)
  To: ocfs2-devel

enlarge hash table.

mainline git commit: ffae48e79e56fe63589049a0bf3512bcbf7a4327
Authored-by: Jan Kara <jack@suse.cz>
Signed-off-by: Wengang Wang <wen.gang.wang@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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-05-01  4:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-01  4:56 [Ocfs2-devel] [PATCH 3/3] OCFS2: speed up dlm_lock_resouce hash_table lookups wengang wang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).