* [Cluster-devel] [GFS2] default drop count for lock_dlm
@ 2007-03-30 13:58 Steven Whitehouse
2007-03-30 16:03 ` [Cluster-devel] " David Teigland
0 siblings, 1 reply; 2+ messages in thread
From: Steven Whitehouse @ 2007-03-30 13:58 UTC (permalink / raw)
To: cluster-devel.redhat.com
Hi,
I think it would be a good plan to have a zero default (i.e. off) for
the drop_count parameter, otherwise its liable to cause a performance
problem if its set too low. There is also the question of what exactly
the "right" setting actually is, as it seems it's not easy to find the
right balance. Probably the best advice is to only set it in the case
that the DLM is taking excessive amounts of memory and then use the
guidance from cat /proc/slabinfo | grep gfs2_glock to get a rough idea
of the threshold to set it at,
Steve.
diff --git a/fs/gfs2/locking/dlm/lock_dlm.h b/fs/gfs2/locking/dlm/lock_dlm.h
index 6888bd4..d074c6e 100644
--- a/fs/gfs2/locking/dlm/lock_dlm.h
+++ b/fs/gfs2/locking/dlm/lock_dlm.h
@@ -36,7 +36,7 @@
#define GDLM_STRNAME_BYTES 24
#define GDLM_LVB_SIZE 32
-#define GDLM_DROP_COUNT 200000
+#define GDLM_DROP_COUNT 0
#define GDLM_DROP_PERIOD 60
#define GDLM_NAME_LEN 128
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Cluster-devel] Re: [GFS2] default drop count for lock_dlm
2007-03-30 13:58 [Cluster-devel] [GFS2] default drop count for lock_dlm Steven Whitehouse
@ 2007-03-30 16:03 ` David Teigland
0 siblings, 0 replies; 2+ messages in thread
From: David Teigland @ 2007-03-30 16:03 UTC (permalink / raw)
To: cluster-devel.redhat.com
On Fri, Mar 30, 2007 at 02:58:11PM +0100, Steven Whitehouse wrote:
> Hi,
>
> I think it would be a good plan to have a zero default (i.e. off) for
> the drop_count parameter, otherwise its liable to cause a performance
> problem if its set too low. There is also the question of what exactly
> the "right" setting actually is, as it seems it's not easy to find the
> right balance. Probably the best advice is to only set it in the case
> that the DLM is taking excessive amounts of memory and then use the
> guidance from cat /proc/slabinfo | grep gfs2_glock to get a rough idea
> of the threshold to set it at,
Sounds fine to me.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-03-30 16:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-30 13:58 [Cluster-devel] [GFS2] default drop count for lock_dlm Steven Whitehouse
2007-03-30 16:03 ` [Cluster-devel] " David Teigland
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).