This is the mail archive of the
cluster-cvs@sourceware.org
mailing list for the cluster.
cluster/group/gfs_controld main.c plock.c
- From: teigland at sourceware dot org
- To: cluster-cvs at sources dot redhat dot com
- Date: 14 Nov 2006 20:20:43 -0000
- Subject: cluster/group/gfs_controld main.c plock.c
CVSROOT: /cvs/cluster
Module name: cluster
Changes by: teigland@sourceware.org 2006-11-14 20:20:43
Modified files:
group/gfs_controld: main.c plock.c
Log message:
Add plock rate limit option -l <limit>. Current default is no limit (0).
If a limit is set, gfs_controld will send no more than <limit> plock
operations (multicast messages) every second.
Given a limit of 10, one file system where plocks are used, and a program
that does a tight loop of fcntl lock/unlock operations, the max number of
loop iterations in 1 second would be 5. If eight nodes were all doing
this there would be 80 total network multicasts every second from all
nodes in the cluster.
We also record the volume of plock messages accepted locally and received
from the network in the debug log. A log entry is written for every
1000 locally accepted plock operations and for every 1000 operations
received from the network.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/group/gfs_controld/main.c.diff?cvsroot=cluster&r1=1.18&r2=1.19
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/group/gfs_controld/plock.c.diff?cvsroot=cluster&r1=1.25&r2=1.26