summaryrefslogtreecommitdiff
path: root/bdb/lock/Design
diff options
context:
space:
mode:
Diffstat (limited to 'bdb/lock/Design')
-rw-r--r--bdb/lock/Design10
1 files changed, 9 insertions, 1 deletions
diff --git a/bdb/lock/Design b/bdb/lock/Design
index ac8f0b02fbf..f0bb5c6e99c 100644
--- a/bdb/lock/Design
+++ b/bdb/lock/Design
@@ -1,7 +1,15 @@
-# $Id: Design,v 11.3 2000/02/19 20:58:03 bostic Exp $
+# $Id: Design,v 11.5 2002/02/01 19:07:18 bostic Exp $
Synchronization in the Locking Subsystem
+This is a document that describes how we implemented fine-grain locking
+in the lock manager (that is, locking on a hash bucket level instead of
+locking the entire region). We found that the increase in concurrency
+was not sufficient to warrant the increase in complexity or the additional
+cost of performing each lock operation. Therefore, we don't use this
+any more. Should we have to do fine-grain locking in a future release,
+this would be a reasonable starting point.
+
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
1. Data structures
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=