From: Steven Whitehouse <swhiteho@redhat.com>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] [GFS2] default drop count for lock_dlm
Date: Fri, 30 Mar 2007 14:58:11 +0100 [thread overview]
Message-ID: <1175263091.1636.163.camel@quoit.chygwyn.com> (raw)
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
next reply other threads:[~2007-03-30 13:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-30 13:58 Steven Whitehouse [this message]
2007-03-30 16:03 ` [Cluster-devel] Re: [GFS2] default drop count for lock_dlm David Teigland
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1175263091.1636.163.camel@quoit.chygwyn.com \
--to=swhiteho@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).