diff options
author | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2012-03-20 17:07:13 +1100 |
---|---|---|
committer | Ronnie Sahlberg <ronniesahlberg@gmail.com> | 2012-03-20 17:12:27 +1100 |
commit | bc9ec181e2e5a273fb335d68df7beefeac48a8f6 (patch) | |
tree | 17eefa808872e9fad1baa47361d26f0355112d48 /ctdb/doc | |
parent | fa3a06246ac45b1406ca7b9067376050cd80e3e2 (diff) | |
download | samba-bc9ec181e2e5a273fb335d68df7beefeac48a8f6.tar.gz samba-bc9ec181e2e5a273fb335d68df7beefeac48a8f6.tar.xz samba-bc9ec181e2e5a273fb335d68df7beefeac48a8f6.zip |
STICKY document the sticky record parameters
(This used to be ctdb commit e6a8306257dece02313043274789b52cef1a5647)
Diffstat (limited to 'ctdb/doc')
-rw-r--r-- | ctdb/doc/ctdbd.1.xml | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/ctdb/doc/ctdbd.1.xml b/ctdb/doc/ctdbd.1.xml index 0cf365a54f4..cf5b142c2b9 100644 --- a/ctdb/doc/ctdbd.1.xml +++ b/ctdb/doc/ctdbd.1.xml @@ -930,6 +930,41 @@ </para> </refsect2> + <refsect2><title>HopcountMakeSticky</title> + <para>Default: 50</para> + <para> + If the database is set to 'STICKY' mode, using the 'ctdb setdbsticky' + command, any record that is seen as very hot and migrating so fast that + hopcount surpasses 50 is set to become a STICKY record for StickyDuration + seconds. This means that after each migration the record will be kept on + the node and prevented from being migrated off the node. + </para> + <para> + This setting allows to try to identify such records and stop them from + migrating across the cluster so fast. This will improve performance for + certain workloads, such as locking.tdb if many clients are opening/closing + the same file concurrently. + </para> + </refsect2> + + <refsect2><title>StickyDuration</title> + <para>Default: 600</para> + <para> + Once a record has been found to be fetch-lock hot and has been flagged to + become STICKY, this is for how long, in seconds, the record will be + flagged as a STICKY record. + </para> + </refsect2> + + <refsect2><title>StickyPindown</title> + <para>Default: 200</para> + <para> + Once a STICKY record has been migrated onto a node, it will be pinned down + on that node for this number of ms. Any request from other nodes to migrate + the record off the node will be deferred until the pindown timer expires. + </para> + </refsect2> + <refsect2><title>MaxLACount</title> <para>Default: 20</para> <para> |